diff options
-rw-r--r-- | _layouts/category.html | 30 | ||||
-rw-r--r-- | _layouts/post.html | 26 |
2 files changed, 22 insertions, 34 deletions
diff --git a/_layouts/category.html b/_layouts/category.html index b0167a7..fa50437 100644 --- a/_layouts/category.html +++ b/_layouts/category.html @@ -1,18 +1,12 @@ -{% include common/header.html %} -<div class="row"> - <div class="col-md-8"> - <h1>Category: {{ page.title }}</h1> - <p>This is a complete list of posts in the "{{ page.category }}" category.</p> - {% if site.categories[page.category].size > 0 %} - <ul> - {% for post in site.categories[page.category] %} - <li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.date | date: "%Y-%m-%d" }} — {{ post.title }}</a></li> - {% endfor %} - </ul> - {% endif %} - </div> - <div class="col-md-4"> - {% include common/sidebar.html %} - </div> -</div> -{% include common/footer.html %} +--- +layout: default +--- +<h1>Category: {{ page.title }}</h1> +<p>This is a complete list of posts in the "{{ page.category }}" category.</p> +{% if site.categories[page.category].size > 0 %} + <ul> + {% for post in site.categories[page.category] %} + <li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.date | date: "%Y-%m-%d" }} — {{ post.title }}</a></li> + {% endfor %} + </ul> +{% endif %} diff --git a/_layouts/post.html b/_layouts/post.html index 83f11b7..22a753a 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,16 +1,10 @@ -{% include common/header.html %} -<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: '%-d %B %Y' }} - {%- if page.category %} in <span class="glyphicon glyphicon-folder-open"></span> <a class="category" href="{{ site.baseurl }}/{{ page.category | slugify: 'pretty' }}/">{{ page.category }}</a>{% endif %} - </p> - {{ content }} - <hr/> - </div> - <div class="col-md-4"> - {% include common/sidebar.html %} - </div> -</div> -{% include common/footer.html %} +--- +layout: default +--- +<h1>{{ page.title }}</h1> +<p class="text-muted"> + <span class="glyphicon glyphicon-time"></span> Posted on {{ page.date | date: '%-d %B %Y' }} + {%- if page.category %} in <span class="glyphicon glyphicon-folder-open"></span> <a class="category" href="{{ site.baseurl }}/{{ page.category | slugify: 'pretty' }}/">{{ page.category }}</a>{% endif %} +</p> +{{ content }} +<hr/> |