aboutsummaryrefslogtreecommitdiffstats
path: root/site/_layouts/umlpost.html
diff options
context:
space:
mode:
Diffstat (limited to 'site/_layouts/umlpost.html')
-rw-r--r--site/_layouts/umlpost.html71
1 files changed, 2 insertions, 69 deletions
diff --git a/site/_layouts/umlpost.html b/site/_layouts/umlpost.html
index dac8efe..76858a0 100644
--- a/site/_layouts/umlpost.html
+++ b/site/_layouts/umlpost.html
@@ -1,5 +1,5 @@
---
-layout: blog
+layout: post
scripts:
- lib/raphael-min.js
@@ -9,71 +9,4 @@ scripts:
- process-uml.js
---
-<h1 class="blogHeader">
- Blog
- <span class="rss">
- <img src="{{ site.baseurl }}/static/img/subscribe.png"><a href="{{ site.baseurl }}{{ site.rss_path }}">RSS Feed</a>
- </span>
-</h1>
-
-<div class="post">
- <header>
- <div class="title">{{ page.title }}</div>
- <div class="author">By:
- {% if page.author.url %}
- <a href="{{ page.author.url }}">{{ page.author.name }}</a>
- {% else %}
- {{ page.author.name }}
- {% endif %}
- </div>
- <div class="date">{{ page.date | date_to_string }}</div>
- </header>
- <section>
- <div>
- {{ content }}
- </div>
- </section>
- <footer>
- <div class="row">
- <div class="col-sm-6">
- {% if page.previous %}
- <a href="{{ site.baseurl }}{{ page.previous.url }}">Previous</a>
- <br>
- <br>
- <a class="title" href="{{ site.baseurl }}{{ page.previous.url }}">{{ page.previous.title }}</a>
- <div class="date"> {{ page.previous.date | date_to_string }} - By {{ page.previous.author.name }} </div>
- <p class="content">
- {{ page.previous.excerpt | strip_html | truncatewords:12 }}
- </p>
- {% endif %}
- </div>
- <div class="col-sm-6">
- {% if page.next %}
- <a href="{{ site.baseurl }}{{ page.next.url }}">Next</a>
- <br>
- <br>
- <a class="title" href="{{ site.baseurl }}{{ page.next.url }}">{{ page.next.title }}</a>
- <div class="date"> {{ page.next.date | date_to_string }} - By {{ page.next.author.name}} </div>
- <p class="content">
- <!--
- NOTE:
- the markdownify filter is used here
- because posts are rendered in sequence;
- that is, the next post's content isn't
- yet rendered at the time that this post
- is being rendered, so page.next.excerpt
- is still in Markdown and not HTML
-
- Reference: https://github.com/jekyll/jekyll/issues/2860
- -->
- {{ page.next.excerpt | markdownify | strip_html | truncatewords:12 }}
- </p>
- {% endif %}
- </div>
- </div>
- </footer>
- <div class="disqus">
- {% include disqus.html %}
- </div>
-</div>
-
+{{ content }}