forked from reflectoring/reflectoring.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
feed.xml
48 lines (47 loc) · 1.94 KB
/
feed.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
layout: none
---
<feed xmlns="http://www.w3.org/2005/Atom">
<generator uri="https://jekyllrb.com/" version="3.8.6">Jekyll</generator>
<link href="{{ site.url }}/feed.xml" rel="self" type="application/atom+xml"/>
<link href="{{ site.url }}" rel="alternate" type="text/html"/>
<updated>{{ site.time | date: "%FT%TZ"}}</updated>
<id>{{ site.url }}/</id>
<title type="html">{{ site.title }}</title>
{% assign author = site.data.authors['default'] %}
<author>
<name>{{ author.name }}</name>
<email>{{ author.email }}</email>
</author>
{% for post in site.posts limit:10 %}
<entry>
<title type="html">{{ post.title | xml_escape }}</title>
<link href="{{ post.url | absolute_url }}" rel="alternate" type="text/html"
title="Pollution-Free Dependency Management with Gradle"/>
<published>{{ post.date | date: "%FT%TZ"}}</published>
<updated>{{ post.modified | date: "%FT%TZ"}}</updated>
<id>{{ post.url | absolute_url }}</id>
{% if page.author %}
{% assign author = site.data.authors[page.author] %}
{% else %}
{% assign author = site.data.authors['default'] %}
{% endif %}
<author>
<name>{{ author.name }}</name>
<email>{{ author.email }}</email>
</author>
{% for category_key in post.categories %}
{% assign category = site.data.categories[category_key] %}
<category term="{{ category.title }}"/>
{% endfor %}
<summary type="html">
{{ post.excerpt }}
</summary>
{% if post.image.opengraph %}
<media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="{{ post.image.opengraph | absolute_url }}"/>
{% elsif post.image.auto %}
<media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="{{ post.image.auto | opengraph | absolute_url }}"/>
{% endif %}
</entry>
{% endfor %}
</feed>