File: blog.html

package info (click to toggle)
lektor 3.3.12-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 3,856 kB
  • sloc: python: 14,376; javascript: 77; makefile: 37; sh: 7; xml: 1
file content (11 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
{% extends "layout.html" %}
{% from "macros/blog.html" import render_blog_post %}
{% from "macros/pagination.html" import render_pagination %}
{% block title %}{{ this.title }}{% endblock %}
{% block body %}
  {% for child in this.pagination.items %}
    {{ render_blog_post(child, from_index=true, blog_post=false) }}
  {% endfor %}

  {{ render_pagination(this.pagination) }}
{% endblock %}