From 23ee206ae6f918ed66cdb57f200f4c0f38ff1710 Mon Sep 17 00:00:00 2001 From: Alice Rhodes Date: Thu, 4 Jan 2024 14:50:52 -0500 Subject: [PATCH] updating for newer version of cecil.up --- config.yml | 25 +++++++++++++------------ themes/veilid/layouts/sitemap.xml.twig | 4 ++-- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/config.yml b/config.yml index e4742de..ad65b63 100644 --- a/config.yml +++ b/config.yml @@ -15,17 +15,18 @@ theme: social: twitter: "veilidnetwork" fediverse: "@VeilidNetwork@hackers.town" -virtualpages: - - path: contact - redirect: /about-us/contact-us/ - - path: discord - redirect: https://discord.gg/5Qx3B9eedU - - path: code - redirect: https://gitlab.com/veilid/veilid - - path: give - redirect: https://buy.stripe.com/6oE9ACboP5r3ag86oo - - path: launch - redirect: /defcon/ +pages: + virtual: + - path: contact + redirect: /about-us/contact-us/ + - path: discord + redirect: https://discord.gg/5Qx3B9eedU + - path: code + redirect: https://gitlab.com/veilid/veilid + - path: give + redirect: https://buy.stripe.com/6oE9ACboP5r3ag86oo + - path: launch + redirect: /defcon/ pagination: max: 12 cache: @@ -34,4 +35,4 @@ cache: languages: - code: en name: English - locale: en_US \ No newline at end of file + locale: en_US diff --git a/themes/veilid/layouts/sitemap.xml.twig b/themes/veilid/layouts/sitemap.xml.twig index b0245c5..49ffbc2 100644 --- a/themes/veilid/layouts/sitemap.xml.twig +++ b/themes/veilid/layouts/sitemap.xml.twig @@ -5,8 +5,8 @@ {{ url(page, {canonical: true}) }} {{ page.date|date('Y-m-d') }} - {{ page.sitemap.changefreq|default(site.defaultpages.sitemap.changefreq) }} - {{ page.sitemap.priority|default(site.defaultpages.sitemap.priority) }} + {{ page.sitemap.changefreq|default(config.pages.default.sitemap.changefreq) }} + {{ page.sitemap.priority|default(config.pages.default.sitemap.priority) }} {%- if page.translations|default({})|length >= 1 and page.language is defined -%} {%- for alternate in page.translations ~%}