update sitemap
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
</style>
|
||||
<div id="banner" class="relative isolate flex items-center gap-x-6 overflow-hidden mt-4 bg-gray-50 px-6 py-2 sm:before:flex-1" style="background: #E6F5EC; background: radial-gradient(circle, rgba(204, 232, 217, 1) 0%, rgba(172, 193, 232, 1) 100%);">
|
||||
<p class="text-sm/6 text-gray-900 blink">
|
||||
Unfolding Now: Read our latest <a href="https://forum.threefold.io/t/threefold-commercialization-update-28-november-2025/" rel="noopener" class="underline font-semibold whitespace-nowrap text-gray-900 hover:text-gray-700" style="text-decoration: underline;">commercialization update.</a> <span aria-hidden="true">→</span>
|
||||
Unfolding Now: Read our latest <a href="https://forum.threefold.io/t/threefold-commercialization-update-28-november-2025/" target=”_blank” rel="noopener" class="underline font-semibold whitespace-nowrap text-gray-900 hover:text-gray-700" style="text-decoration: underline;">commercialization update.</a> <span aria-hidden="true">→</span>
|
||||
</p>
|
||||
<div class="flex flex-1 justify-end">
|
||||
<button type="button" onclick="this.closest('#banner').remove()" class="-m-3 p-3 focus-visible:-outline-offset-4" style="border: none; outline: none; box-shadow: none;">
|
||||
|
||||
34
templates/sitemap.xml
Normal file
34
templates/sitemap.xml
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
{% for entry in entries %}
|
||||
<url>
|
||||
<loc>{{ entry.permalink }}</loc>
|
||||
{% if entry.updated %}
|
||||
<lastmod>{{ entry.updated | date(format="%Y-%m-%d") }}</lastmod>
|
||||
{% else %}
|
||||
<lastmod>{{ now() | date(format="%Y-%m-%d") }}</lastmod>
|
||||
{% endif %}
|
||||
{% if entry.permalink == "/" %}
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>1.0</priority>
|
||||
{% elif entry.permalink is containing("/blog/") or entry.permalink is containing("/newsroom/") %}
|
||||
{% if entry.permalink is ending_with("/blog/") or entry.permalink is ending_with("/newsroom/") %}
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.9</priority>
|
||||
{% else %}
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
{% endif %}
|
||||
{% elif entry.permalink is containing("/people/") %}
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.6</priority>
|
||||
{% elif entry.permalink is containing("/tags/") or entry.permalink is containing("/categories/") or entry.permalink is containing("/partners-category/") or entry.permalink is containing("/news-category/") or entry.permalink is containing("/roles/") or entry.permalink is containing("/memberships/") %}
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.6</priority>
|
||||
{% else %}
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.8</priority>
|
||||
{% endif %}
|
||||
</url>
|
||||
{% endfor %}
|
||||
</urlset>
|
||||
Reference in New Issue
Block a user