this repo has no description
1{% import "macros/head.html" as head -%}
2{% import "macros/logo.html" as logo -%}
3{% import "macros/header.html" as header -%}
4{% import "macros/extended_header.html" as extended_header -%}
5{% import "macros/lists.html" as lists -%}
6{% import "macros/posts.html" as posts -%}
7{% import "macros/social.html" as social -%}
8{% import "macros/utils.html" as utils -%}
9{% import "macros/menu.html" as menu -%}
10{% import "macros/pagination.html" as pagination -%}
11{% import "macros/footer.html" as footer -%}
12{% import "macros/extended_footer.html" as extended_footer -%}
13{% import "macros/comments.html" as comments -%}
14
15<!DOCTYPE html>
16<html lang="{{ lang }}">
17 <head>
18 {%- block title -%}
19 <title>{{ config.title }}</title>
20 {%- endblock title -%}
21
22 {%- block general_meta -%}
23 {{ head::general_meta() }}
24 {%- endblock general_meta -%}
25
26 {%- block og_preview -%}
27 {{ social::og_preview() }}
28 {%- endblock og_preview -%}
29
30 {%- block fonts -%}
31 {{ head::fonts() }}
32 {%- endblock fonts -%}
33
34 {%- block css -%}
35 {{ head::styling() }}
36 {%- endblock css -%}
37
38 {%- block favicon -%}
39 {{ head::favicon() }}
40 {%- endblock favicon -%}
41
42 {%- block rss -%}
43 {{ head::rss() }}
44 {%- endblock rss -%}
45
46 {%- block math -%}
47 {%- endblock math -%}
48 </head>
49 <body>
50 {#
51 "container full" when width == True, regardless of center
52 "container center" when only center == True
53 "container" when both false.
54 #}
55 {%- if config.extra.full_width -%}
56 {%- set container = "container full" -%}
57 {%- elif config.extra.center -%}
58 {%- set container = "container center" -%}
59 {%- else -%}
60 {%- set container = "container" -%}
61 {%- endif -%}
62
63 <div class="{{ container }}">
64 {%- block header -%}
65 {{ header::header() }}
66 {%- endblock header -%}
67 <div class="content">
68 {%- block main -%}
69 {{ lists::list_pages() }}
70 {%- endblock main -%}
71 </div>
72 {#-
73 I keep pagination out of list, unlike Terminal, because I don't
74 like how the pagination buttons move with the width of the content
75 div.
76 -#}
77 {%- block pagination -%}
78 {{ pagination::paginate() }}
79 {%- endblock pagination -%}
80
81 {%- block footer -%}
82 <footer class="footer">
83 <div class="footer__inner">
84 {%- block copyright -%}
85 {{ footer::copyright() }}
86 {%- endblock copyright -%}
87
88 {%- block script -%}
89 {{ footer::script() }}
90 {%- endblock script -%}
91 </div>
92 {{ extended_footer::extended_footer() }}
93 </footer>
94 {%- endblock footer -%}
95 </div>
96 </body>
97</html>