figbert.com-website

[ACTIVE] the website and home of figbert on the clearnet
git clone git://git.figbert.com/figbert.com-website.git
Log | Files | Refs | README | LICENSE

atom.xml (2396B)


      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{ lang }}">
      3   <title>{{ config.title }}
      4   {%- if term %} - {{ term.name }}
      5   {%- elif section.title %} - {{ section.title }}
      6   {%- endif -%}
      7   </title>
      8   {%- if config.description %}
      9   <subtitle>{{ config.description }}</subtitle>
     10   {%- endif %}
     11   <link href="{{ feed_url | safe }}" rel="self" type="application/atom+xml"/>
     12   <link href="
     13     {%- if section -%}
     14       {{ section.permalink | escape_xml | safe }}
     15     {%- else -%}
     16       {{ config.base_url | escape_xml | safe }}
     17     {%- endif -%}
     18   "/>
     19   <generator uri="https://www.getzola.org/">Zola</generator>
     20   <updated>{{ last_updated | date(format="%+") }}</updated>
     21   <id>{{ feed_url | safe }}</id>
     22   {%- for page in pages %}
     23   <entry xml:lang="{{ page.lang }}">
     24     <title>{{ page.title }}</title>
     25     <published>{{ page.date | date(format="%+") }}</published>
     26     <updated>{{ page.updated | default(value=page.date) | date(format="%+") }}</updated>
     27     <author>
     28       <name>
     29         {%- if page.authors -%}
     30           {{ page.authors[0] }}
     31         {%- elif config.author -%}
     32           {{ config.author }}
     33         {%- else -%}
     34           Unknown
     35         {%- endif -%}
     36       </name>
     37     </author>
     38     <link rel="alternate" href="
     39       {%- if page.extra.type and page.extra.type == "link" -%}
     40         {{ page.extra.link | safe }}
     41       {%- else -%}
     42         {{ page.permalink | safe }}
     43       {%- endif -%}
     44     " type="text/html"/>
     45     <id>{{ page.permalink | safe }}</id>
     46     <content type="html">
     47       {%- if page.extra is containing("book") %}
     48       &lt;small&gt;
     49         &lt;i&gt;{{ page.extra.book }}&lt;&#x2F;i&gt; by {{ page.extra.author }}. &lt;br&#x2F;&gt;
     50         Finished on {{ page.extra.finished | date(format="%B %d, %Y") }}. &lt;br&#x2F;&gt;
     51         Rating: {{ page.extra.rating }} &lt;br&#x2F;&gt;
     52       &lt;&#x2F;small&gt;
     53       {%- elif page.extra.type and page.extra.type == "work" %}
     54       &lt;small&gt;
     55         Began: {{ page.extra.start | date(format="%d %b %Y") }} &lt;br&#x2F;&gt;
     56         Concluded: {{ page.extra.end | date(format="%d %b %Y") }}
     57       &lt;&#x2F;small&gt;
     58       {%- endif %}
     59       {{ page.content }}
     60       {%- if page.extra.type and page.extra.type == "link" %}
     61       &lt;a href=&quot;{{ page.permalink | safe }}&quot;&gt;★&lt;&#x2F;a&gt;
     62       {%- endif %}
     63     </content>
     64   </entry>
     65   {%- endfor %}
     66 </feed>