diff --git a/.gitignore b/.gitignore index 1c1cd2041..9c039d7bc 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ _data/coworker_tags.yml .DS_Store _proof Gemfile.lock +.idea diff --git a/_includes/blogs.html b/_includes/blogs.html index 316231041..f8d0648b8 100644 --- a/_includes/blogs.html +++ b/_includes/blogs.html @@ -11,16 +11,23 @@

{{ post.title }}

-

Publié le par {{ post.author }}

+ {% if post.categories and post.categories != empty %} + + {% endif %} +
@@ -34,37 +41,39 @@

{{ post.title }}

{% if paginator.previous_page %} {% endif %} {% if paginator.first_page %}
  • - 1 + 1
  • {% endif %} {% if paginator.page_trail %} - {% for trail in paginator.page_trail %} - {% if trail.num != paginator.first_page and trail.num != paginator.last_page %} - - {{ trail.num }} - - {% endif %} - {% endfor %} + {% for trail in paginator.page_trail %} + {% if trail.num != paginator.first_page and trail.num != paginator.last_page %} +
  • + {{ trail.num + }} +
  • + {% endif %} + {% endfor %} {% endif %} {% if paginator.last_page %}
  • - {{ paginator.last_page }} + {{ paginator.last_page }}
  • {% endif %} {% if paginator.next_page %} {% endif %} -{% endif %} \ No newline at end of file +{% endif %} diff --git a/_includes/footer.html b/_includes/footer.html index ed8e4df3a..65a37bee1 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,5 +1,5 @@