From 3c62a936378e490e99c2ac8955797464216b1691 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Sun, 18 Feb 2018 22:51:57 +0100 Subject: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- blog/index.html | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 blog/index.html (limited to 'blog') diff --git a/blog/index.html b/blog/index.html new file mode 100644 index 0000000..01cdcae --- /dev/null +++ b/blog/index.html @@ -0,0 +1,64 @@ +--- +title: titles.blog +layout: default + +namespace: blog +permalink: /blog/ +permalink_en: /blog/ +--- + +
+
+

+ {% t titles.blog %} + + + {% if site.lang == "ca" %} + RSS feed + {% else %} + RSS Feed + {% endif %} + +

+ +

+ {% t blog.intro %} + Creative Commons BY-ND 4.0. +

+
+ +
+ {% capture posts_count %}{{ site.posts | where:"lang",site.lang | size }}{% endcapture %} + {% if posts_count == "0" %} +
Oops, it's empty!
+ {% endif %} + + {% for post in site.posts %} + {% if site.lang == post.lang %} +
+ +

+ {% t post.title %}{% if post.subtitle %}. {{ post.subtitle }}{% endif %} +

+
+ + + +
+ {{ post.content | truncatewords: 50 | strip_html }} + [{% t blog.read %} {% t blog.more %}] +
+
+ {% endif %} + {% endfor %} +
+
-- cgit v1.2.3