mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added missing extends pragmas
This commit is contained in:
parent
2231aabaa7
commit
0a08e6795c
@ -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>
|
||||||
|
@ -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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user