From 8ed5f8bc2785894a3bfadd2989974b9d8daa5d63 Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Wed, 17 Feb 2021 22:55:41 -0800 Subject: [PATCH] Add a simple microblog template --- _layouts/microblog.html | 29 +++++++++++++++++++++++++++++ microblog.xml | 20 ++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 _layouts/microblog.html create mode 100644 microblog.xml diff --git a/_layouts/microblog.html b/_layouts/microblog.html new file mode 100644 index 0000000..a47b96f --- /dev/null +++ b/_layouts/microblog.html @@ -0,0 +1,29 @@ + + + + {% include head.html %} + + + + +
+ {% include header.html %} + +
+
+

{{ content }}

+ + {% if site.data.settings.date-under-post.active %} + + {% endif %} +
+
+
+ +{%- include footer.html -%} + + diff --git a/microblog.xml b/microblog.xml new file mode 100644 index 0000000..49908b3 --- /dev/null +++ b/microblog.xml @@ -0,0 +1,20 @@ +--- +layout: null +--- + + + + rtyler | Microblog + Microblog of rtyler + {{ site.url }} + + {% for post in site.microblog reversed limit:50 %} + + {{ post.content | xml_escape }}{% if post.external-url %}{% endif %} + {{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }} + {{ site.url }}{{ post.url }} + {{ site.url }}{{ post.url }} + + {% endfor %} + +