diff options
Diffstat (limited to 'bootlex')
-rw-r--r-- | bootlex/templates/archives.html | 2 | ||||
-rw-r--r-- | bootlex/templates/base.html | 16 | ||||
-rw-r--r-- | bootlex/templates/index.html | 6 |
3 files changed, 14 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..481fb28 100644 --- a/bootlex/templates/base.html +++ b/bootlex/templates/base.html @@ -5,8 +5,12 @@ {% 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" /> + <link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" /> + {% if FEED_RSS %} + <link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" /> + {% endif %} {% endblock head %} {% include 'analytics.html' %} @@ -25,18 +29,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> |