updated rss feed, blog dates and favicon.ico
Bi-Rabittoh andronacomarco@gmail.com
Sat, 10 Apr 2021 17:17:38 +0200
6 files changed,
32 insertions(+),
4 deletions(-)
M
config.toml
→
config.toml
@@ -1,6 +1,7 @@
# primary config base_url = "https://bi-rabittoh.github.io" title = "BiRabittoh's Site" +description = "A minimal website where I post stuff I'm passionate about." default_language = "en" minify_html = true
M
content/blog/_index.md
→
content/blog/_index.md
@@ -1,5 +1,5 @@
+++ -title = "BiRabittoh's blog" +title = "BiRabittoh's Blog" sort_by = "date" template = "blog.html" page_template = "blog-page.html"
M
content/blog/modern-web-bloat.md
→
content/blog/modern-web-bloat.md
@@ -1,6 +1,6 @@
+++ title = "Modern web bloat" -date = 2021-04-09 +date = 2021-04-09T15:00:00Z [taxonomies] category = ["tech"] tags = ["tips", "vent"]
A
templates/atom.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?> +<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"> + <channel> + <title>{{ section.title }}</title> + <link>{%- if section -%} + {{ section.permalink | escape_xml | safe }} + {%- else -%} + {{ config.base_url | escape_xml | safe }} + {%- endif -%} + </link> + <description>{{ config.description }}</description> + <generator>Zola</generator> + <language>{{ config.default_language }}</language> + <atom:link href="{{ feed_url | safe }}" rel="self" type="application/rss+xml"/> + <lastBuildDate>{{ last_updated | date(format="%a, %d %b %Y %H:%M:%S %z") }}</lastBuildDate> + {%- for page in pages %} + <item> + <title>{{ page.title }}</title> + <author>BiRabittoh</author> + <pubDate>{{ page.date | date(format="%a, %d %b %Y %H:%M:%S %z") }}</pubDate> + <link>{{ page.permalink | escape_xml | safe }}</link> + <guid>{{ page.permalink | escape_xml | safe }}</guid> + <description>{% if page.summary %}{{ page.summary }}{% else %}{{ page.content }}{% endif %}</description> + </item> + {%- endfor %} + </channel> +</rss>
M
templates/blog-page.html
→
templates/blog-page.html
@@ -5,8 +5,8 @@
{% block content %} <h1 class="title">{{ page.title }}</h1> <div class="time"> - <p>{{ page.date }}</p> - {% if page.updated and page.updated != page.date %}<p>last updated {{ page.updated }}</p>{% endif %} + <p>{{ page.date | date(format="%m/%d/%Y %H:%M") }}</p> + {% if page.updated and page.updated != page.date %}<p>last updated {{ page.updated | date(format="%m/%d/%Y %H:%M") }}</p>{% endif %} </div> {{ page.content | safe }} {% endblock %}