Feed fixes

This commit is contained in:
mathiascode 2019-12-01 07:56:26 +02:00
parent 4077eb6a4b
commit 751aaa618b
3 changed files with 8 additions and 8 deletions

View File

@ -10,8 +10,8 @@ exclude:
sass:
style: :compressed
#defaults:
# - scope:
# path: _posts
# values:
# permalink: ''
defaults:
- scope:
path: _posts
values:
permalink: ''

View File

@ -24,8 +24,8 @@ layout: minify
<content type="html">{{ post.content | xml_escape }}</content>
<published>{{ post.date | date_to_xmlschema }}</published>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{ site.url }}{{ post.url }}</id>
<link href="{{ site.url }}/news/"/>
<id>{{ site.url }}/news/#{{ post.date | date: '%Y-%m-%d' }}</id>
<link href="{{ site.url }}/news/#{{ post.date | date: '%Y-%m-%d' }}"/>
</entry>
{% endfor %}
</feed>

View File

@ -13,7 +13,7 @@ title: News
</header>
<ul class="news">
{% for post in site.posts %}
<li>
<li id="{{ post.date | date: '%Y-%m-%d' }}">
{{ post.content }}
<svg viewBox="0 0 24 24">
<path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm-.22-13h-.06c-.4 0-.72.32-.72.72v4.72c0 .35.18.68.49.86l4.15 2.49c.34.2.78.1.98-.24.21-.34.1-.79-.25-.99l-3.87-2.3V7.72c0-.4-.32-.72-.72-.72z"/>