diff options
-rw-r--r-- | TODOs.org | 5 | ||||
-rw-r--r-- | _includes/feed.atom | 3 | ||||
-rw-r--r-- | about.md | 2 | ||||
-rw-r--r-- | feed.all.atom | 4 | ||||
-rw-r--r-- | feed.en.atom | 3 | ||||
-rw-r--r-- | feed.pt.atom | 1 | ||||
-rw-r--r-- | sobre.md | 2 |
7 files changed, 17 insertions, 3 deletions
@@ -2,3 +2,8 @@ ** Spelling ** Assert line length ** Line number +** Feed symlinks +rss.xml -> feed.en.atom +feed.xml -> feed.en.atom +atom.xml -> feed.en.atom +feed.atom -> feed.en.atom diff --git a/_includes/feed.atom b/_includes/feed.atom index f4243ea..bf0f4d4 100644 --- a/_includes/feed.atom +++ b/_includes/feed.atom @@ -13,8 +13,7 @@ <email>{{ site.author.email | xml_escape }}</email> </author> - {% assign posts = site.posts | where:"lang", include.lang | sort: "date" | reverse %} - {% for post in posts %} + {% for post in include.posts %} <entry xml:lang="{{ post.lang }}"> <title type="html">{{ post.title | smartify | strip_html | normalize_whitespace | xml_escape }}</title> <link href="{{ post.url | absolute_url }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" /> @@ -25,3 +25,5 @@ Below you can find some interesting projects of mine. ## Other things [Pastebin listing](./pastebins.html). + +[Atom feed with all languages](./feed.all.atom). diff --git a/feed.all.atom b/feed.all.atom new file mode 100644 index 0000000..381dd63 --- /dev/null +++ b/feed.all.atom @@ -0,0 +1,4 @@ +--- +--- +{% assign lposts = site.posts | sort: "date" | reverse %} +{% include feed.atom posts=lposts lang="en" %}
\ No newline at end of file diff --git a/feed.en.atom b/feed.en.atom index 643f557..a048a54 100644 --- a/feed.en.atom +++ b/feed.en.atom @@ -1,3 +1,4 @@ --- --- -{% include feed.atom lang="en" %}
\ No newline at end of file +{% assign lposts = site.posts | where:"lang", "en" | sort: "date" | reverse %} +{% include feed.atom posts=lposts lang="en" %}
\ No newline at end of file diff --git a/feed.pt.atom b/feed.pt.atom index 39a9248..9862e38 100644 --- a/feed.pt.atom +++ b/feed.pt.atom @@ -1,3 +1,4 @@ --- --- +{% assign lposts = site.posts | where:"lang", "pt" | sort: "date" | reverse %} {% include feed.atom lang="pt" %} @@ -26,3 +26,5 @@ Abaixo vocĂȘ encontra alguns projetos interessantes meus. ## Outros [Lista de pastebins](./pastebins.html). + +[Feed Atom com todos os idiomas](./feed.all.atom). |