aboutsummaryrefslogtreecommitdiffstats
path: root/bootlex/templates
diff options
context:
space:
mode:
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>