mirror of
https://github.com/vale981/ablog
synced 2025-03-05 17:21:38 -05:00
Moved links in layout to page, so that they appear on RTD.
This commit is contained in:
parent
a6a8d72c74
commit
85f025f724
2 changed files with 12 additions and 17 deletions
|
@ -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 %}
|
|
@ -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">
|
||||
|
|
Loading…
Add table
Reference in a new issue