Customize the theme layout, CSS, fonts and JavaScript.
This commit is contained in:
parent
b23276291f
commit
ab49894281
8 changed files with 360 additions and 58 deletions
|
@ -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) }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue