Plus some refactoring and code cleanup 😌
This commit is contained in:
Panos Sakkos 2015-11-22 02:01:43 +01:00
parent 2f3c065279
commit ef491cbb9e
9 changed files with 27 additions and 18 deletions

View file

@ -3,7 +3,7 @@
<section id="{{ page.section-type }}" class="container content-section text-center">
<div class="row">
<div class="col-lg-10 col-lg-offset-1">
<div class="col-md-10 col-md-offset-1">
{{ page.content | markdownify }}
</div>
</div>

View file

@ -3,7 +3,7 @@
<section id="{{ page.section-type }}" class="container content-section text-center">
<div class="row">
<div class="col-lg-10 col-lg-offset-1">
<div class="col-md-10 col-md-offset-1">
{{ page.content | markdownify }}

View file

@ -3,7 +3,7 @@
<section id="{{ page.section-type }}" class="container content-section text-center">
<div class="row">
<div class="col-lg-10 col-lg-offset-1">
<div class="col-md-10 col-md-offset-1">
{{ page.content | markdownify }}
@ -16,7 +16,7 @@
{{ post.content | truncatewords: site.post-preview-words | strip_html | markdownify }}
<a href="{{site.baseurl}}/blog/"><h4><strong>View more posts</strong></h4></a>
<h4><a href="{{site.baseurl}}/blog/">View more posts</a></h4>
</div>
</div>

15
_includes/post-list.html Normal file
View file

@ -0,0 +1,15 @@
<!-- Post List Start -->
<h4 align="left">
<strong>{{ post.date | date_to_string }}</strong>
<small>. {{ post.category }} .</small>
<br class="visible-xs-block">
<a href="{{site.baseurl}}{{post.url}}">
<strong>{{ post.title }}</strong>
</a>
<br class="visible-xs-block">
<small><a href="{{site.baseurl}}{{post.url}}#disqus_thread">Comments</a></small>
</h4>
<!-- Post List End -->

View file

@ -3,7 +3,7 @@
<section id="{{ page.section-type }}" class="container content-section text-center">
<div class="row">
<div class="col-lg-10 col-lg-offset-1">
<div class="col-md-10 col-md-offset-1">
{{ page.content | markdownify }}