mirror of
https://github.com/kaboomserver/website.git
synced 2024-12-21 23:35:01 +00:00
Feed fixes
This commit is contained in:
parent
4077eb6a4b
commit
751aaa618b
3 changed files with 8 additions and 8 deletions
10
_config.yml
10
_config.yml
|
@ -10,8 +10,8 @@ exclude:
|
|||
sass:
|
||||
style: :compressed
|
||||
|
||||
#defaults:
|
||||
# - scope:
|
||||
# path: _posts
|
||||
# values:
|
||||
# permalink: ''
|
||||
defaults:
|
||||
- scope:
|
||||
path: _posts
|
||||
values:
|
||||
permalink: ''
|
||||
|
|
4
feed.xml
4
feed.xml
|
@ -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>
|
||||
|
|
|
@ -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"/>
|
||||
|
|
Loading…
Reference in a new issue