ferron

Ferron is a fast and simple static website generator made with Lua.
Log | Files | Refs | Submodules | README | LICENSE

commit be1b2a88118818b577ed838abd7875ddfee8fea5
parent 53f3af563128b49350d7214f044a9f6beefc7a7d
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Mon, 27 Apr 2020 14:51:32 -0400

Remove unwnated tags in atom feed template

Diffstat:
Msites/sample/templates/feed/atom.mustache | 36++++++++++++++++--------------------
1 file changed, 16 insertions(+), 20 deletions(-)

diff --git a/sites/sample/templates/feed/atom.mustache b/sites/sample/templates/feed/atom.mustache @@ -2,29 +2,25 @@ <feed xmlns="http://www.w3.org/2005/Atom"> <title>Flux Atom de {{{ site.domainname }}}</title> <subtitle>{{{ site.metas.description }}}</subtitle> - <id>tag:{{{ site.domainname }}},{{{ site.created }}}:{{{ site.author.nickname }}}</id> + <id>tag:{{{ site.domainname }}},{{{ site.created }}}:{{{ site.author.nickname }}}</id> <link href="{{{ site.url }}}/feed.atom.xml" rel="self" type="application/atom+xml"/> - <!-- PubSubHubbub Discovery --> - <link href="https://bridgy-fed.superfeedr.com/" rel="hub" /> - <link href="https://pubsubhubbub.superfeedr.com" rel="hub" /> - <!-- End Of PubSubHubbub Discovery --> <link href="{{{ site.url }}}" rel="alternate" /> <updated>{{{ lastupdate }}}Z</updated> - <author> - <name>{{{ site.author.name }}}</name> - <email>{{{ site.author.email }}}</email> - <uri>{{{ site.author.uri }}}</uri> - </author> + <author> + <name>{{{ site.author.name }}}</name> + <email>{{{ site.author.email }}}</email> + <uri>{{{ site.author.uri }}}</uri> + </author> - {{# entries }} - <entry> - <title>{{{ title }}}</title> - <id>{{{ id }}}</id> - <link href="{{{ permalink }}}" hreflang="{{{ site.language }}}" rel="alternate" /> - <updated>{{ updated }}Z</updated> - <content type="html" xml:base="{{{ permalink }}}"> - {{ content }} - </content> - </entry> + {{# entries }} + <entry> + <title>{{{ title }}}</title> + <id>{{{ id }}}</id> + <link href="{{{ permalink }}}" hreflang="{{{ site.language }}}" rel="alternate" /> + <updated>{{ updated }}Z</updated> + <content type="html" xml:base="{{{ permalink }}}"> + {{ content }} + </content> + </entry> {{/ entries }} </feed>