this repo has no description

fix: do not index CV page

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