Post url change

This commit is contained in:
mathiascode 2019-12-01 08:21:29 +02:00
parent cdd41d81b7
commit fed8923ff0
2 changed files with 3 additions and 3 deletions

View file

@ -18,8 +18,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 }}/news#{{ post.date | date: '%Y-%m-%d' }}</id>
<link href="{{ site.url }}/news#{{ post.date | date: '%Y-%m-%d' }}"/>
<id>{{ site.url }}/news#{{ post.date | date: '%Y-%m-%d' }}-{{ post.title }}</id>
<link href="{{ site.url }}/news#{{ post.date | date: '%Y-%m-%d' }}-{{ post.title }}"/>
</entry>
{% endfor %}
</feed>

View file

@ -13,7 +13,7 @@ title: News
</header>
<ul class="news">
{% for post in site.posts %}
<li id="{{ post.date | date: '%Y-%m-%d' }}">
<li id="{{ post.date | date: '%Y-%m-%d' }}-{{ post.title }}">
{{ 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"/>