mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
fix pages urls
This commit is contained in:
parent
8bf0a22eb0
commit
bfd0e63e3d
3 changed files with 3 additions and 3 deletions
|
|
@ -31,7 +31,7 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if DISPLAY_PAGES_ON_MENU %}
|
{% if DISPLAY_PAGES_ON_MENU %}
|
||||||
{% for page in PAGES %}
|
{% for page in PAGES %}
|
||||||
<li><a href="{{ SITEURL }}/pages/{{ page.url }}">{{ page.title }}</a></li>
|
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for cat, null in categories %}
|
{% for cat, null in categories %}
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@
|
||||||
<section id="content" class="body">
|
<section id="content" class="body">
|
||||||
<h2>Pages</h2>
|
<h2>Pages</h2>
|
||||||
{% for page in PAGES %}
|
{% for page in PAGES %}
|
||||||
<li><a href="{{ SITEURL }}/pages/{{ page.url }}">{{ page.title }}</a></li>
|
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if DISPLAY_PAGES_ON_MENU %}
|
{% if DISPLAY_PAGES_ON_MENU %}
|
||||||
{% for p in PAGES %}
|
{% for p in PAGES %}
|
||||||
<li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/pages/{{ p.url }}">{{ p.title }}</a></li>
|
<li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% for cat, null in categories %}
|
{% for cat, null in categories %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue