updating for newer version of cecil.up

This commit is contained in:
Alice Rhodes 2024-01-04 14:50:52 -05:00
parent fb55b342a9
commit 23ee206ae6
2 changed files with 15 additions and 14 deletions

View File

@ -15,17 +15,18 @@ theme:
social: social:
twitter: "veilidnetwork" twitter: "veilidnetwork"
fediverse: "@VeilidNetwork@hackers.town" fediverse: "@VeilidNetwork@hackers.town"
virtualpages: pages:
- path: contact virtual:
redirect: /about-us/contact-us/ - path: contact
- path: discord redirect: /about-us/contact-us/
redirect: https://discord.gg/5Qx3B9eedU - path: discord
- path: code redirect: https://discord.gg/5Qx3B9eedU
redirect: https://gitlab.com/veilid/veilid - path: code
- path: give redirect: https://gitlab.com/veilid/veilid
redirect: https://buy.stripe.com/6oE9ACboP5r3ag86oo - path: give
- path: launch redirect: https://buy.stripe.com/6oE9ACboP5r3ag86oo
redirect: /defcon/ - path: launch
redirect: /defcon/
pagination: pagination:
max: 12 max: 12
cache: cache:

View File

@ -5,8 +5,8 @@
<url> <url>
<loc>{{ url(page, {canonical: true}) }}</loc> <loc>{{ url(page, {canonical: true}) }}</loc>
<lastmod>{{ page.date|date('Y-m-d') }}</lastmod> <lastmod>{{ page.date|date('Y-m-d') }}</lastmod>
<changefreq>{{ page.sitemap.changefreq|default(site.defaultpages.sitemap.changefreq) }}</changefreq> <changefreq>{{ page.sitemap.changefreq|default(config.pages.default.sitemap.changefreq) }}</changefreq>
<priority>{{ page.sitemap.priority|default(site.defaultpages.sitemap.priority) }}</priority> <priority>{{ page.sitemap.priority|default(config.pages.default.sitemap.priority) }}</priority>
{%- if page.translations|default({})|length >= 1 and page.language is defined -%} {%- if page.translations|default({})|length >= 1 and page.language is defined -%}
{%- for alternate in page.translations ~%} {%- for alternate in page.translations ~%}
<xhtml:link rel="alternate" hreflang="{{ alternate.language }}" href="{{ url(alternate, {canonical: true}) }}" /> <xhtml:link rel="alternate" hreflang="{{ alternate.language }}" href="{{ url(alternate, {canonical: true}) }}" />