aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/index.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-02-18 04:56:47 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2018-02-18 04:56:47 +0300
commitd37e8019bc8a7297ab45f3b973dcae2a8f065454 (patch)
tree8e1b4ab616ee20ba2d9ab8e26042d87496e78aad /index.html
parentslugify categories instead of lowercasing them (diff)
downloadjekyll-theme-d37e8019bc8a7297ab45f3b973dcae2a8f065454.tar.gz
jekyll-theme-d37e8019bc8a7297ab45f3b973dcae2a8f065454.zip
code style
Diffstat (limited to 'index.html')
-rw-r--r--index.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/index.html b/index.html
index 53f5da7..46cfdef 100644
--- a/index.html
+++ b/index.html
@@ -12,7 +12,10 @@ root_page: true
{% else %}
{% for post in paginator.posts %}
<h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2>
- <p class="text-muted"><span class="glyphicon glyphicon-time"></span>&nbsp;Posted on {{ post.date | date_to_long_string }}{% if post.category %} in <span class="glyphicon glyphicon-folder-open"></span>&nbsp;<a href="{{ site.baseurl }}/{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>{% endif %}</p>
+ <p class="text-muted">
+ <span class="glyphicon glyphicon-time"></span>&nbsp;Posted on {{ post.date | date_to_long_string }}
+ {%- if post.category %} in <span class="glyphicon glyphicon-folder-open"></span>&nbsp;<a href="{{ site.baseurl }}/{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>{% endif %}
+ </p>
<p>{{ post.excerpt }}</p>
<hr/>
{% endfor %}