diff options
Diffstat (limited to 'bootlex/templates/base.html')
-rw-r--r-- | bootlex/templates/base.html | 16 |
1 files changed, 10 insertions, 6 deletions
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 %} |