My personal blog hauleth.dev
blog
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: do not index CV page

+18
+1
content/cv/index.md
··· 3 3 4 4 [extra] 5 5 no_comments = true 6 + sitemap = false 6 7 +++ 7 8 8 9 {{ cv() }}
+4
templates/robots.txt
··· 1 + User-agent: * 2 + Disallow: /cv/ 3 + Allow: / 4 + Sitemap: {{ get_url(path="sitemap.xml") }}
+13
templates/sitemap.xml
··· 1 + <?xml version="1.0" encoding="UTF-8"?> 2 + <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> 3 + {%- for sitemap_entry in entries %} 4 + {%- if sitemap_entry.extra | get(key="sitemap", default=true) %} 5 + <url> 6 + <loc>{{ sitemap_entry.permalink | escape_xml | safe }}</loc> 7 + {%- if sitemap_entry.updated %} 8 + <lastmod>{{ sitemap_entry.updated }}</lastmod> 9 + {%- endif %} 10 + </url> 11 + {%- endif %} 12 + {%- endfor %} 13 + </urlset>