diff --git a/app/config/sculpin_site.yml b/app/config/sculpin_site.yml index 4e7f2d2..5f765ed 100644 --- a/app/config/sculpin_site.yml +++ b/app/config/sculpin_site.yml @@ -1,2 +1,4 @@ --- title: Антон Вахрушев +author: Антон Вахрушев +email: anton@vakhrushev.me diff --git a/source/atom.xml b/source/atom.xml new file mode 100644 index 0000000..3555fc3 --- /dev/null +++ b/source/atom.xml @@ -0,0 +1,30 @@ +--- +use: ["articles"] +permalink: none +sitemap: + _exclude: yes +--- + + + <![CDATA[{{ site.title }}]]> + + + {{ site.calculated_date | date('c') }} + {{ site.url }}/ + {% if site.author or site.email %} + + {% if site.author %}{% endif %} + {% if site.email %}{% endif %} + + {% endif %} + Sculpin + {% for article in data.articles|slice(0, 10) %} + + <![CDATA[{{ article.title }}]]> + + {{ article.date|date('c') }} + {{ site.url }}{{ article.url }} + + + {% endfor %} + diff --git a/source/robots.txt b/source/robots.txt index f1e84ef..fb5960b 100644 --- a/source/robots.txt +++ b/source/robots.txt @@ -1,7 +1,7 @@ --- permalink: none sitemap: - _exclude: yes + _exclude: yes --- User-agent: * Sitemap: {{ site.url }}/sitemap.xml