aboutsummaryrefslogtreecommitdiffstats
path: root/lightweight
diff options
context:
space:
mode:
authorMiguel Ventura <miguel.ventura@gmail.com>2012-09-03 01:14:59 +0100
committerMiguel Ventura <miguel.ventura@gmail.com>2012-09-03 01:14:59 +0100
commitba5c5163ae8ba42d54c3b8b49d3045cd691ce37b (patch)
tree5a7bdf0690ec9797bef48cf07435dea3fe7ea598 /lightweight
parentd4c5432d304a4a6cf1739337466929f4e553f7a9 (diff)
downloadpelican-themes-ba5c5163ae8ba42d54c3b8b49d3045cd691ce37b.zip
pelican-themes-ba5c5163ae8ba42d54c3b8b49d3045cd691ce37b.tar.gz
pelican-themes-ba5c5163ae8ba42d54c3b8b49d3045cd691ce37b.tar.bz2
Removed too much on last commit...
Diffstat (limited to 'lightweight')
-rw-r--r--lightweight/templates/menu.html2
-rw-r--r--lightweight/templates/page.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/lightweight/templates/menu.html b/lightweight/templates/menu.html
index 5a6a52d..2e4702f 100644
--- a/lightweight/templates/menu.html
+++ b/lightweight/templates/menu.html
@@ -2,7 +2,7 @@
<a href="{{ SITEURL }}/index.html">Accueil</a>
{% if DISPLAY_PAGES_ON_MENU != False%}
{% for p in PAGES %}
- <a {% if p == page %}class="active" {% endif %}href="{{ SITEURL }}{{ p.url }}">{{ p.title }}</a>
+ <a {% if p == page %}class="active" {% endif %}href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a>
{% endfor %}
{% else %}
<a href="{{ SITEURL }}/categories.html">Catégories</a>
diff --git a/lightweight/templates/page.html b/lightweight/templates/page.html
index 875fcf7..a9e9623 100644
--- a/lightweight/templates/page.html
+++ b/lightweight/templates/page.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block title %}{{ page.title }}{% endblock %}
{% block content %}
- <h2 class="page_title"><a href="{{ SITEURL }}{{ page.url }}">{{ page.title }}</a></h1>
+ <h2 class="page_title"><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></h1>
{% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ page.slug }}.pdf">get
the pdf</a>{% endif %}
<div style="clear: both;">&nbsp;</div>