base.html (3132B)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
{% import "macros/head.html" as head -%} {% import "macros/header.html" as header -%} {% import "macros/footer.html" as footer -%} {% import "macros/social.html" as social -%} {% import "macros/pagination.html" as pagination -%} {% import "macros/posts.html" as posts -%} {% import "macros/lists.html" as lists -%} {% import "macros/squiggle-line.html" as squiggle -%} {% import "macros/edit.html" as edit -%} {% import "macros/url.html" as url -%} {% import "macros/analytics.html" as analytics -%} {% import "macros/comments.html" as comments -%} {% import "macros/javascript.html" as js -%} <!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> {%- block title -%} <title>{{ config.title }}</title> {%- endblock title -%} {%- block general_meta -%} {{ head::general_meta() }} {%- endblock general_meta -%} {%- block css -%} {{ head::styling(config=config) }} {%- endblock css -%} {%- block font -%} {{ head::font(config=config) }} {%- endblock font -%} {%- block rss -%} {%- endblock rss -%} {%- block favicon -%} {{ head::favicon(config=config) }} {%- endblock favicon -%} {%- block math -%} {%- endblock math -%} {% block analytics -%} {{ analytics::google_analytics(config=config) }} {%- endblock analytics %} <noscript ><style> .js-only, .header .menu-trigger, .header .menu-mobile { display: none !important; } .header .menu-desktop, .header .menu-inner-desktop { display: flex; } </style></noscript > </head> <body class=""> <a class="skip-link" href="#main-content">Skip to content</a> {%- if config.extra.full_width -%} {%- set container = "container full" -%} {%- elif config.extra.center -%} {%- set container = "container center" -%} {%- else -%} {%- set container = "container" -%} {%- endif -%} {%- if not current_url -%} {%- set current_url = "" -%} {%- endif -%} <div class="{{ container }}"> {%- block header -%} {{ header::header(config=config, current_url=current_url) }} {%- endblock header -%} <main class="content" id="main-content" tabindex="-1"> {%- block main -%} {{ lists::list_pages() }} {%- endblock main -%} </main> {%- block pagination -%} {{ pagination::paginate(pagelink = current_url) }} {%- endblock pagination -%} {%- block footer -%} <footer class="footer"> {{ squiggle::squiggle() }} <div class="footer__inner"> {%- block copyright -%} {{ footer::copyright(config = config) }} {%- endblock copyright -%} {%- block script -%} {{ js::mobile() }} {%- endblock script -%} </div> <div> {{ social::socials_bar() }} {%- block theme -%} {{ footer::theme (config = config) }} {%- endblock theme -%} {%- block webring -%} {{ footer::webring (config = config) }} {%- endblock webring -%} </div> </footer> {%- endblock footer -%} </div> {{ js::script() }} </body> </html>