You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.3KB

  1. <!DOCTYPE html>
  2. <html lang="{{ config.language_code }}">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="apple-mobile-web-app-capable" content="yes">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <meta name="description" content="{{ config.description }}">
  8. <meta name="author" content="{{ config.extra.author.name }}">
  9. <link href="https://fonts.googleapis.com/css?family=Fira+Mono|Fira+Sans|Merriweather" rel="stylesheet">
  10. <link href="{{ config.base_url }}/site.css" rel="stylesheet">
  11. <title>{{ config.title }}</title>
  12. </head>
  13. <body>
  14. <div class="content">
  15. {% block content %}
  16. <div class="list-posts">
  17. {% for page in paginator.pages %}
  18. <article>
  19. <h3 class="post__title"><a href="{{ page.permalink }}">{{ page.title }}</a></h3>
  20. </article>
  21. {% endfor %}
  22. {% if paginator.previous %}has_prev{% endif %}
  23. {% if paginator.next %}has_next{% endif %}
  24. Num pages: {{ paginator.pagers | length }}
  25. Current index: {{ paginator.current_index }}
  26. First: {{ paginator.first | safe }}
  27. Last: {{ paginator.last | safe }}
  28. </div>
  29. {% endblock content %}
  30. </div>
  31. </body>
  32. </html>