add trailing slash for SITEURL.
Reason: https://github.com/getpelican/pelican/issues/1156 https://github.com/arulrajnet/attila/pull/4
This commit is contained in:
parent
2fc69e12ef
commit
ab34ff9fe3
1 changed files with 4 additions and 4 deletions
|
@ -120,7 +120,7 @@
|
||||||
{% elif article %}
|
{% elif article %}
|
||||||
<link rel="canonical" href="{{ SITEURL }}/{{ article.url }}">
|
<link rel="canonical" href="{{ SITEURL }}/{{ article.url }}">
|
||||||
{% elif page_name == 'index' and not articles_previous_page %}
|
{% elif page_name == 'index' and not articles_previous_page %}
|
||||||
<link rel="canonical" href="{{ SITEURL }}">
|
<link rel="canonical" href="{{ SITEURL }}/">
|
||||||
{% elif author or category or tag or page_name == 'index' %}
|
{% elif author or category or tag or page_name == 'index' %}
|
||||||
<link rel="canonical" href="{{ SITEURL }}/{{ articles_page.url }}">
|
<link rel="canonical" href="{{ SITEURL }}/{{ articles_page.url }}">
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@ -157,7 +157,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<aside>
|
<aside>
|
||||||
<div>
|
<div>
|
||||||
<a href="{{ SITEURL }}">
|
<a href="{{ SITEURL }}/">
|
||||||
{% if SITELOGO %}
|
{% if SITELOGO %}
|
||||||
<img src="{{ SITELOGO }}" alt="{{ SITETITLE }}" title="{{ SITETITLE }}">
|
<img src="{{ SITELOGO }}" alt="{{ SITETITLE }}" title="{{ SITETITLE }}">
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@ -166,7 +166,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<h1>
|
<h1>
|
||||||
<a href="{{ SITEURL }}">{{ SITETITLE }}</a>
|
<a href="{{ SITEURL }}/">{{ SITETITLE }}</a>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
{% if SITESUBTITLE %}<p>{{ SITESUBTITLE }}</p>{% endif %}
|
{% if SITESUBTITLE %}<p>{{ SITESUBTITLE }}</p>{% endif %}
|
||||||
|
@ -249,7 +249,7 @@
|
||||||
|
|
||||||
{% if MAIN_MENU %}
|
{% if MAIN_MENU %}
|
||||||
<nav>
|
<nav>
|
||||||
<a href="{{ SITEURL }}">{{ _('Home') }}</a>
|
<a href="{{ SITEURL }}/">{{ _('Home') }}</a>
|
||||||
|
|
||||||
{% for title, link in MENUITEMS %}
|
{% for title, link in MENUITEMS %}
|
||||||
<a href="{{ link }}">{{ _(title) }}</a>
|
<a href="{{ link }}">{{ _(title) }}</a>
|
||||||
|
|
Loading…
Reference in a new issue