Added missing extends pragmas

This commit is contained in:
squidfunk 2022-01-16 13:44:31 +01:00
parent 2231aabaa7
commit 0a08e6795c
2 changed files with 6 additions and 0 deletions

View File

@ -526,6 +526,8 @@ search to an external service, you can add a custom JavaScript file to the
`docs` directory and [override the `config` block][overriding blocks]: `docs` directory and [override the `config` block][overriding blocks]:
``` html ``` html
{% extends "base.html" %}
{% block config %} {% block config %}
{{ super() }} {{ super() }}
<script> <script>

View File

@ -225,6 +225,8 @@ you don't want to use it:
=== ":material-graph: Open Graph" === ":material-graph: Open Graph"
``` html ``` html
{% extends "base.html" %}
{% block extrahead %} {% block extrahead %}
{% set title = config.site_name %} {% set title = config.site_name %}
{% if page and page.meta and page.meta.title %} {% if page and page.meta and page.meta.title %}
@ -246,6 +248,8 @@ you don't want to use it:
=== ":fontawesome-brands-twitter: Twitter Cards" === ":fontawesome-brands-twitter: Twitter Cards"
``` html ``` html
{% extends "base.html" %}
{% block extrahead %} {% block extrahead %}
{% set title = config.site_name %} {% set title = config.site_name %}
{% if page and page.meta and page.meta.title %} {% if page and page.meta and page.meta.title %}