fix the links on the bootlex theme

This commit is contained in:
Alexis Métaireau
2012-10-24 18:45:19 +02:00
parent 01a8792a51
commit 320fc05064
4 changed files with 10 additions and 15 deletions

View File

@@ -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 %}

View File

@@ -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 %}

View File

@@ -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>