mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge 3312c902e0 into cd35e713e0
This commit is contained in:
commit
60e92c7962
1 changed files with 11 additions and 0 deletions
11
docs/_themes/pelican/layout.html
vendored
11
docs/_themes/pelican/layout.html
vendored
|
|
@ -1,4 +1,15 @@
|
|||
{% extends "basic/layout.html" %}
|
||||
{%- block linktags -%}
|
||||
{{ super() }}
|
||||
<link rel="canonical" href="http://docs.getpelican.com/en/latest/
|
||||
{%- for word in pagename.split('/') -%}
|
||||
{%- if word != 'index' -%}
|
||||
{%- if word != '' -%}
|
||||
{{ word }}.html
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
{%- endfor -%}">
|
||||
{%- endblock -%}
|
||||
{% block header %}
|
||||
{{ super() }}
|
||||
{% if pagename == 'index' %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue