mirror of
https://github.com/kaboomserver/website.git
synced 2024-12-22 07:45:00 +00:00
Improved feed
This commit is contained in:
parent
2cf45ebd14
commit
145faced03
3 changed files with 20 additions and 1 deletions
|
@ -11,5 +11,4 @@ sass:
|
|||
style: :compressed
|
||||
|
||||
gems:
|
||||
- jekyll-feed
|
||||
- jekyll-sitemap
|
||||
|
|
|
@ -17,6 +17,7 @@ layout: minify
|
|||
<meta name="description" content="{{ site.description }}">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="canonical" href="{{ site.url }}">
|
||||
<link rel="alternate" type="application/atom+xml" href="/feed.xml">
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
<style>
|
||||
{% capture style %}
|
||||
|
|
19
feed.xml
Normal file
19
feed.xml
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
layout: minify
|
||||
---
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<title>{{ site.name }} - News</title>
|
||||
<subtitle>{{ site.description }}</subtitle>
|
||||
<updated>{{ site.time | date_to_xmlschema }}</updated>
|
||||
<link href="{{ site.url }}"/>
|
||||
<link href="{{ site.url }}feed.xml" rel="self"/>
|
||||
{% for post in site.posts %}
|
||||
<entry>
|
||||
<title>{{ post.date | date: "%B %e, %Y" }}</title>
|
||||
<content>{{ post.content | xml_escape }}</content>
|
||||
<published>{{ post.date | date_to_xmlschema }}</published>
|
||||
<link href="{{ site.url }}news/"/>
|
||||
</entry>
|
||||
{% endfor %}
|
||||
</feed>
|
Loading…
Reference in a new issue