aboutsummaryrefslogtreecommitdiff
path: root/blog
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2018-09-25 19:13:16 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2018-09-25 19:13:16 +0200
commit259e8ab7a3a7e607263ca07e53787d85881bab8a (patch)
treea726ede11d679fe93515cca062692bfc29e7d87f /blog
parentf5329b13315fcc501cd6c8630e0158eae4a88f16 (diff)
downloadjo.mssola.com-259e8ab7a3a7e607263ca07e53787d85881bab8a.tar.gz
jo.mssola.com-259e8ab7a3a7e607263ca07e53787d85881bab8a.zip
Re-bumped much of the application
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'blog')
-rw-r--r--blog/index.html56
1 files changed, 1 insertions, 55 deletions
diff --git a/blog/index.html b/blog/index.html
index 72565ad..e87c584 100644
--- a/blog/index.html
+++ b/blog/index.html
@@ -7,58 +7,4 @@ permalink: /blog/
permalink_en: /blog/
---
-<div class="container">
- <div id="blog-intro" class="row">
- <h2>
- {% t titles.blog %}
-
- <small>
- {% if site.lang == "ca" %}
- <a href="/feed.xml">RSS Feed</a>
- {% else %}
- <a href="/feed.en.xml">RSS Feed</a>
- {% endif %}
- </small>
- </h2>
-
- <p>
- {% t blog.intro %}
- <a href="https://creativecommons.org/licenses/by-nd/4.0/">Creative Commons BY-ND 4.0</a>.
- </p>
- </div>
-
- <div id="posts-list" class="row">
- {% capture posts_count %}{{ site.posts | where:"lang",site.lang | size }}{% endcapture %}
- {% if posts_count == "0" %}
- <center>{% t blog.empty %}</center>
- {% endif %}
-
- {% for post in site.posts %}
- {% if site.lang == post.lang %}
- <div class="post-preview col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
- <a href="{{ post.url | prepend: site.baseurl }}">
- <h2 class="post-title">
- {{ post.title }}{% if post.subtitle %}.<small class="post-subtitle"> {{ post.subtitle }}</small>{% endif %}
- </h2>
- </a>
-
- <p class="post-meta">
- {% t blog.posted_on %}
- {% if site.lang == "ca" %}
- {% include date.html date=post.date %}
- {{ pre }}{{ day }} de {{ month }} del {{ year }}
- {% else %}
- {{ post.date | date: "%B %-d, %Y" }}
- {% endif %}
- {% t footer.by %} {{ site.author }}
- </p>
-
- <div class="post-entry">
- {{ post.content | truncatewords: 50 | strip_html }}
- <a href="{{ post.url | prepend: site.baseurl }}" class="post-read-more">[{% t blog.read %}&nbsp;{% t blog.more %}]</a>
- </div>
- </div>
- {% endif %}
- {% endfor %}
- </div>
-</div>
+{% include grid.html hasfeed=true %}