diff options
Diffstat (limited to 'built-texts/templates/base.html')
-rw-r--r-- | built-texts/templates/base.html | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/built-texts/templates/base.html b/built-texts/templates/base.html index c081927..397cda3 100644 --- a/built-texts/templates/base.html +++ b/built-texts/templates/base.html @@ -1,8 +1,10 @@ <!DOCTYPE html> -<html lang="en"> +<html lang="{{ DEFAULT_LANG }}"> <head> + {% block head %} + <meta charset="utf-8"> - <title>{% block windowtitle %}{{ SITENAME }}{% endblock %}</title> + <title>{% block title %}{{ SITENAME }}{% endblock title %}</title> <meta name="description" content=""> <meta name="author" content="{{ AUTHOR }}"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> @@ -11,12 +13,21 @@ <script src="{{ SITEURL }}/theme/html5.js"></script> <![endif]--> + {% if FEED_RSS %} + <link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" /> + {% endif %} + {% if FEED_ATOM %} + <link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" /> + {% endif %} + <!-- Le styles --> <link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.1.1/css/bootstrap.no-icons.min.css" rel="stylesheet"> <link href="{{ SITEURL }}/theme/local.css" rel="stylesheet"> <link href="{{ SITEURL }}/theme/pygments.css" rel="stylesheet"> <link href="{{ SITEURL }}/theme/font-awesome.css" rel="stylesheet"> <link href='http://fonts.googleapis.com/css?family=Gudea:400,400italic|Alegreya+SC' rel='stylesheet' type='text/css'> + + {% endblock head %} </head> <body> @@ -105,13 +116,15 @@ </i>Tags</a></li> {% if FEED_RSS %} - <li> <a href="{{ SITEURL }}/{{ FEED_RSS }}" rel="alternate"> + <li> <a href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" rel="alternate"> <i class="icon-rss" style="color: #1f334b"></i> RSS Feed</a></li> {% endif %} - <li><a href="{{ SITEURL }}/{{ FEED }}" rel="alternate"> - <i class="icon-rss-sign" style="color: #1f334b"></i> + {% if FEED_ATOM %} + <li> <a href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" rel="alternate"> + <i class="icon-rss" style="color: #1f334b"></i> Atom Feed</a></li> + {% endif %} </ul> </div> |