aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_layouts/post.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-09-30 03:04:08 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-09-30 03:04:08 +0300
commit133ce84fd2e565df767ecd0814891965c9d2a94d (patch)
tree467eae23a5021490af84eb92c9deebda9839c562 /_layouts/post.html
parentwork around GitHub limitations for MathJax support (diff)
downloadjekyll-theme-133ce84fd2e565df767ecd0814891965c9d2a94d.tar.gz
jekyll-theme-133ce84fd2e565df767ecd0814891965c9d2a94d.zip
inherit layouts from default.html
Diffstat (limited to '_layouts/post.html')
-rw-r--r--_layouts/post.html26
1 files changed, 10 insertions, 16 deletions
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>&nbsp;Posted on {{ page.date | date: '%-d %B %Y' }}
- {%- if page.category %} in <span class="glyphicon glyphicon-folder-open"></span>&nbsp;<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>&nbsp;Posted on {{ page.date | date: '%-d %B %Y' }}
+ {%- if page.category %} in <span class="glyphicon glyphicon-folder-open"></span>&nbsp;<a class="category" href="{{ site.baseurl }}/{{ page.category | slugify: 'pretty' }}/">{{ page.category }}</a>{% endif %}
+</p>
+{{ content }}
+<hr/>