diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2018-02-18 04:56:47 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2018-02-18 04:56:47 +0300 |
commit | d37e8019bc8a7297ab45f3b973dcae2a8f065454 (patch) | |
tree | 8e1b4ab616ee20ba2d9ab8e26042d87496e78aad | |
parent | slugify categories instead of lowercasing them (diff) | |
download | blog-d37e8019bc8a7297ab45f3b973dcae2a8f065454.tar.gz blog-d37e8019bc8a7297ab45f3b973dcae2a8f065454.zip |
code style
Diffstat (limited to '')
-rw-r--r-- | _layouts/post.html | 5 | ||||
-rw-r--r-- | index.html | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 69bd4db..df526e1 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,7 +2,10 @@ <div class="row"> <div class="col-md-8"> <h1>{{ page.title }}</h1> - <p class="text-muted"><span class="glyphicon glyphicon-time"></span> Posted on {{ page.date | date_to_long_string }}{% if page.category %} in <span class="glyphicon glyphicon-folder-open"></span> <a href="{{ site.baseurl }}/{{ page.category | slugify: 'pretty' }}/">{{ page.category }}</a>{% endif %}</p> + <p class="text-muted"> + <span class="glyphicon glyphicon-time"></span> Posted on {{ page.date | date_to_long_string }} + {%- if page.category %} in <span class="glyphicon glyphicon-folder-open"></span> <a href="{{ site.baseurl }}/{{ page.category | slugify: 'pretty' }}/">{{ page.category }}</a>{% endif %} + </p> {{ content }} <hr/> </div> @@ -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> Posted on {{ post.date | date_to_long_string }}{% if post.category %} in <span class="glyphicon glyphicon-folder-open"></span> <a href="{{ site.baseurl }}/{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>{% endif %}</p> + <p class="text-muted"> + <span class="glyphicon glyphicon-time"></span> Posted on {{ post.date | date_to_long_string }} + {%- if post.category %} in <span class="glyphicon glyphicon-folder-open"></span> <a href="{{ site.baseurl }}/{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>{% endif %} + </p> <p>{{ post.excerpt }}</p> <hr/> {% endfor %} |