Customize the theme layout, CSS, fonts and JavaScript.

This commit is contained in:
Ben Sturmfels 2022-06-24 17:59:13 +10:00
parent b23276291f
commit ab49894281
No known key found for this signature in database
GPG key ID: 023C05E2C9C068F0
8 changed files with 360 additions and 58 deletions

View file

@ -1,7 +1,13 @@
{% extends "base.html" %}
{% block html_lang %}{{ page.lang }}{% endblock %}
{% block title %}{{ SITENAME }} - {{ page.title|striptags }}{%endblock%}
{% block title %}
{% if output_file != 'index.html' %}
{{ SITENAME }} - {{ page.title|striptags }}
{% else %}
{{ SITENAME }}
{% endif %}
{% endblock %}
{% block head %}
{{ super() }}
@ -13,7 +19,9 @@
{% endblock %}
{% block content %}
<h1>{{ page.title }}</h1>
{% if output_file != 'index.html' %}
<h1>{{ page.title }}</h1>
{% endif %}
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}