aboutsummaryrefslogtreecommitdiffstats
path: root/bootlex/templates
diff options
context:
space:
mode:
authorAlexis Métaireau <alexis@notmyidea.org>2012-10-24 18:45:19 +0200
committerAlexis Métaireau <alexis@notmyidea.org>2012-10-24 18:45:19 +0200
commit320fc05064b532b0cd0ec383aae5ff3d48ec71f9 (patch)
tree74d45a4e07c91564eb4b968d69f2e9eca5a61270 /bootlex/templates
parent01a8792a5116a305368d9d98fa366923086e0633 (diff)
downloadpelican-themes-320fc05064b532b0cd0ec383aae5ff3d48ec71f9.zip
pelican-themes-320fc05064b532b0cd0ec383aae5ff3d48ec71f9.tar.gz
pelican-themes-320fc05064b532b0cd0ec383aae5ff3d48ec71f9.tar.bz2
fix the links on the bootlex theme
Diffstat (limited to 'bootlex/templates')
-rw-r--r--bootlex/templates/archives.html2
-rw-r--r--bootlex/templates/base.html12
-rw-r--r--bootlex/templates/index.html6
3 files changed, 10 insertions, 10 deletions
diff --git a/bootlex/templates/archives.html b/bootlex/templates/archives.html
index 6e364d0..f7552de 100644
--- a/bootlex/templates/archives.html
+++ b/bootlex/templates/archives.html
@@ -9,7 +9,7 @@ class="active"
<dl>
{% for article in dates %}
<dt>{{ article.locale_date }}</dt>
- <dd><a href='{{ SITEURL }}{{ article.url }}'>{{ article.title }}</a></dd>
+ <dd><a href='{{ SITEURL }}/{{ article.url }}'>{{ article.title }}</a></dd>
{% endfor %}
</dl>
{% endblock %}
diff --git a/bootlex/templates/base.html b/bootlex/templates/base.html
index 95629dd..3aaffa6 100644
--- a/bootlex/templates/base.html
+++ b/bootlex/templates/base.html
@@ -5,8 +5,8 @@
{% block head %}
<title>{% block title %}{% endblock title %} - {{ SITENAME }}</title>
<link href="http://fonts.googleapis.com/css?family=Arimo:400,700|Inika" rel="stylesheet" type="text/css" />
- <link rel="stylesheet" type="text/css" href="{{ SITEURL }}theme/bootstrap.css" />
- <link rel="stylesheet" type="text/css" href="{{ SITEURL }}theme/pastie.css" />
+ <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/bootstrap.css" />
+ <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/pastie.css" />
{% endblock head %}
{% include 'analytics.html' %}
@@ -25,18 +25,18 @@
<ul class="nav nav-list">
<li class="nav-header">Blog</li>
<li {% if page_name == 'index' %}class="active"{% endif %}><a href="{{ SITEURL }}">Index</a></li>
- <li {% block menu_entry_tag %}{% endblock %}><a href="{{ SITEURL }}tags/">Tags</a></li>
- <li {% block menu_entry_archive %}{% endblock %}><a href="{{ SITEURL }}archives/">Archiv</a></li>
+ <li {% block menu_entry_tag %}{% endblock %}><a href="{{ SITEURL }}/tags/">Tags</a></li>
+ <li {% block menu_entry_archive %}{% endblock %}><a href="{{ SITEURL }}/archives/">Archiv</a></li>
{% if DISPLAY_PAGES_ON_MENU %}
{% if PAGES %}
<li class="nav-header">Seiten</li>
{% for p in PAGES %}
- <li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}{{ p.url }}">{{ p.title }}</a></li>
+ <li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
{% endfor %}
{% endif %}
{% else %}
{# {% for cat, null in categories %}
- <li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL }}category/{{ cat }}/">{{ cat }}</a></li>
+ <li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL }}/category/{{ cat }}/">{{ cat }}</a></li>
{% endfor %}
#}
{% endif %}
diff --git a/bootlex/templates/index.html b/bootlex/templates/index.html
index c45a57a..c76ab3e 100644
--- a/bootlex/templates/index.html
+++ b/bootlex/templates/index.html
@@ -13,18 +13,18 @@
<div class="header">
<h2>{{ article.title }}</h2>
</div>
- <p class="meta"><small><span>{% if article.author %}<a href="{{ SITEURL }}author/{{ article.author.slug }}/">{{ article.author }}</a> - {% endif %}</span><span>{{ article.locale_date }}</span> - <span class="tags">{% if article.tags %}{% for tag in article.tags %}<a href="/tag/{{ tag }}/">{{ tag }}</a>{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}</span></small></p>
+ <p class="meta"><small><span>{% if article.author %}<a href="{{ SITEURL }}/author/{{ article.author.slug }}/">{{ article.author }}</a> - {% endif %}</span><span>{{ article.locale_date }}</span> - <span class="tags">{% if article.tags %}{% for tag in article.tags %}<a href="/tag/{{ tag }}/">{{ tag }}</a>{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}</span></small></p>
<div class="entry-content">
{{ article.summary }}
</div><!-- /.entry-content -->
<div class="row">
<div class="span4">
{% if DISQUS_SITENAME %}
- <a class="btn btn-small disabled" href="{{ SITEURL }}{{ article.url }}#disqus_thread"></a>
+ <a class="btn btn-small disabled" href="{{ SITEURL }}/{{ article.url }}#disqus_thread"></a>
{% endif %}
</div>
<div class="span1 offset3">
- <a class="btn btn-small" href="{{ SITEURL }}{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title}}">Mehr</a>
+ <a class="btn btn-small" href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title}}">Mehr</a>
</div>
</div>
</div>