diff options
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/git-wiki-blog.html | 39 |
1 files changed, 10 insertions, 29 deletions
diff --git a/_layouts/git-wiki-blog.html b/_layouts/git-wiki-blog.html index 135c185..a934b72 100644 --- a/_layouts/git-wiki-blog.html +++ b/_layouts/git-wiki-blog.html @@ -2,39 +2,20 @@ title: Blog layout: git-wiki-default --- -<style> -.pagination a, .pagination span { - padding: 7px 18px; - border: 1px solid #eee; - margin-left: -2px; - margin-right: -2px; - background-color: #ffffff; - display: inline-block; - } - -.pagination a { - &:hover { - background-color: #f1f1f1; - color: #333; - } - } - -.pagination { - text-align: center; - } -</style> <!-- This loops through the paginated posts --> {% for post in paginator.posts %} - <h1><a href="{{ post.url | relative_url }}">{{ post.id }}</a></h1> - <p class="author"> - <span class="date">{{ post.date | date: "%-d %B %Y"}}</span> - </p> - <div class="content"> - {{ post.excerpt }} + <div class="post-item"> + <p class="author"> + <span class="date">{{ post.date | date: "%-d %B %Y"}}</span> + </p> + <div class="content"> + {{ post.excerpt }} - <a href="{{ post.url | relative_url }}">...Read all</a> - </div> + <a href="{{ post.url | relative_url }}">...Read all</a> + </div> + </div> + <hr> {% endfor %} <!-- Pagination links --> |
