Moved links in layout to page, so that they appear on RTD.

This commit is contained in:
Ahmet Bakan 2014-05-11 20:24:32 -07:00
parent a6a8d72c74
commit 85f025f724
2 changed files with 12 additions and 17 deletions

View file

@ -1,16 +0,0 @@
{#
template/layout.html
~~~~~~~~~~~~~~~~~~
Template for posts.
#}
{%- extends "!layout.html" %}
{%- block extrahead %}
{{ super() }}
<link rel="alternate" type="application/atom+xml" href="{{ pathto(ablog.blog_path, 1) }}/atom.xml" title="{{ ablog.blog_title }}">
{% if ablog.fontawesome_link_cdn%}
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet">
{% elif ablog.fontawesome_css_file %}
<link rel="stylesheet" href="{{ pathto('_static/' + ablog.fontawesome_css_file, 1) }}" type="text/css" />
{% endif %}
{% endblock %}

View file

@ -1,10 +1,21 @@
{#
template/post.html
template/page.html
~~~~~~~~~~~~~~~~~~
Template for posts.
#}
{%- extends "layout.html" %}
{%- block extrahead %}
{{ super() }}
<link rel="alternate" type="application/atom+xml" href="{{ pathto(ablog.blog_path, 1) }}/atom.xml" title="{{ ablog.blog_title }}">
{% if ablog.fontawesome_link_cdn%}
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet">
{% elif ablog.fontawesome_css_file %}
<link rel="stylesheet" href="{{ pathto('_static/' + ablog.fontawesome_css_file, 1) }}" type="text/css" />
{% endif %}
{% endblock %}
{% block body %}
{{ body }}
<div class="section">