Skip to content
Snippets Groups Projects
Commit b9b3387b authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

Post layout corrected

parent 83b65bbc
No related branches found
No related tags found
2 merge requests!17Develop,!3Develop
......@@ -5,7 +5,7 @@ layout: default
<article class="one_column">
{% for post in paginator.posts %}
<div class="post">
<a class="post-title" href="{{ site.baseurl }}/{{ post.url }}">{{ post.title }}</a>
<a class="post-title" href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
<div class="content">
{{ post.content }}
......@@ -17,7 +17,7 @@ layout: default
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ site.baseurl }}/{{ paginator.previous_page_path }}" class="previous">
<a href="{{ site.baseurl }}{{ paginator.previous_page_path }}" class="previous">
Previous
</a>
{% endif %}
......@@ -27,7 +27,7 @@ layout: default
</span>
{% if paginator.next_page %}
<a href="{{ site.baseurl }}/{{ paginator.next_page_path }}" class="next">Next</a>
<a href="{{ site.baseurl }}{{ paginator.next_page_path }}" class="next">Next</a>
{% endif %}
</div>
</article>
......@@ -2,4 +2,15 @@
layout: default
---
{{ content }}
<article class="one_column">
<div>
<header>
<h1>
{{ page.title | escape }}<br />
<small>{{ page.date | date: '%B %d, %Y' }}</small>
</h1>
</header>
{{ content }}
</div>
</article>
......@@ -2,7 +2,7 @@
Gem::Specification.new do |spec|
spec.name = "elixir-theme"
spec.version = "0.1.25"
spec.version = "0.1.26"
spec.authors = ["jacek.lebioda"]
spec.email = ["jacek.lebioda@uni.lu"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment