summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorVasudev Kamath <vasudev@copyninja.info>2016-04-17 16:55:53 +0530
committerVasudev Kamath <vasudev@copyninja.info>2016-04-17 16:55:53 +0530
commit4df407bf2a1735c5ab5d75230e66a688ed231b08 (patch)
treed44296680e998fdd6640569453059c0c7966313c /templates/base.html
parentf1b37410dd85f42d663f1eb591ac9bde567eeb47 (diff)
Update theme for my taste
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html107
1 files changed, 50 insertions, 57 deletions
diff --git a/templates/base.html b/templates/base.html
index a1839b2..0b1808b 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,64 +1,57 @@
<!DOCTYPE html>
<html lang="{{ DEFAULT_LANG }}">
<head>
- {% block head %}
- <title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
- <meta charset="utf-8" />
- {% if FEED_ALL_ATOM %}
- <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" />
- {% endif %}
- {% if FEED_ALL_RSS %}
- <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Full RSS Feed" />
- {% endif %}
- {% if FEED_ATOM %}
- <link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
- {% endif %}
- {% if FEED_RSS %}
- <link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
- {% endif %}
- {% if CATEGORY_FEED_ATOM and category %}
- <link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_ATOM|format(category.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Categories Atom Feed" />
- {% endif %}
- {% if CATEGORY_FEED_RSS and category %}
- <link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS|format(category.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Categories RSS Feed" />
- {% endif %}
- {% if TAG_FEED_ATOM and tag %}
- <link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM|format(tag.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Tags Atom Feed" />
- {% endif %}
- {% if TAG_FEED_RSS and tag %}
- <link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS|format(tag.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" />
- {% endif %}
- {% endblock head %}
- <link rel="stylesheet" type="text/css" href="/theme/default.css" />
+ {% block head %}
+ <title>{% block title %}Vasudev Kamath - {{ SITENAME }}{% endblock title %}</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1"/>
+ {% if FEED_ALL_ATOM %}
+ <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" />
+ {% endif %}
+ {% if FEED_ALL_RSS %}
+ <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Full RSS Feed" />
+ {% endif %}
+ {% if FEED_ATOM %}
+ <link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
+ {% endif %}
+ {% if FEED_RSS %}
+ <link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
+ {% endif %}
+ {% if CATEGORY_FEED_ATOM and category %}
+ <link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_ATOM|format(category.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Categories Atom Feed" />
+ {% endif %}
+ {% if CATEGORY_FEED_RSS and category %}
+ <link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS|format(category.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Categories RSS Feed" />
+ {% endif %}
+ {% if TAG_FEED_ATOM and tag %}
+ <link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM|format(tag.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Tags Atom Feed" />
+ {% endif %}
+ {% if TAG_FEED_RSS and tag %}
+ <link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS|format(tag.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" />
+ {% endif %}
+ <link rel="stylesheet" type="text/css" href="/theme/css/pygments.css"/>
+ <link rel="stylesheet" type="text/css" href="/theme/css/default.css"/>
+ {% endblock head %}
</head>
-<body id="index" class="home">
- <header id="banner" class="body">
- <h1><a href="{{ SITEURL }}/">{{ SITENAME }} <strong>{{ SITESUBTITLE }}</strong></a></h1>
- </header><!-- /#banner -->
- <nav id="menu"><ul>
- {% for title, link in MENUITEMS %}
- <li><a href="{{ link }}">{{ title }}</a></li>
- {% endfor %}
- {% if DISPLAY_PAGES_ON_MENU %}
- {% for p in PAGES %}
- <li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
- {% endfor %}
- {% else %}
- {% if DISPLAY_CATEGORIES_ON_MENU %}
- {% for cat, null in categories %}
- <li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
- {% endfor %}
- {% endif %}
- {% endif %}
- </ul></nav><!-- /#menu -->
- {% block content %}
- {% endblock %}
- <footer id="contentinfo" class="body">
- <address id="about" class="vcard body">
- Proudly powered by <a href="http://getpelican.com/">Pelican</a>,
- which takes great advantage of <a href="http://python.org">Python</a>.
- </address><!-- /#about -->
- </footer><!-- /#contentinfo -->
+<body>
+ <div id="header" class="body">
+ <div id="navigation">
+ {% block menu %}
+ {% endblock %}
+ </div>
+ {% block article %}
+ {% endblock %}
+ {% block page %}
+ {% endblock %}
+ </div>
+ <div id="content">
+ {% block content %}
+ {% endblock %}
+ </div>
+ <hr/>
+ <div id="footer">
+ Site Proudly powered by <a href="http://getpelican.com/">Pelican</a>
+ </div>
</body>
</html>