aboutsummaryrefslogtreecommitdiffstats
path: root/simple-bootstrap/templates/base.html
diff options
context:
space:
mode:
authorhousne <housne@gmail.com>2013-10-19 02:28:55 +0800
committerhousne <housne@gmail.com>2013-10-19 02:28:55 +0800
commit7d192c0045b4b3441407e094fafbcf8d14448df5 (patch)
tree3381301037d02d080478a89e4d838346e181896f /simple-bootstrap/templates/base.html
parentc3a18e33de278407c622daec0f4cbecb9125f96e (diff)
downloadpelican-themes-7d192c0045b4b3441407e094fafbcf8d14448df5.tar.gz
pelican new theme simple-bootstrap
Diffstat (limited to 'simple-bootstrap/templates/base.html')
-rwxr-xr-xsimple-bootstrap/templates/base.html61
1 files changed, 61 insertions, 0 deletions
diff --git a/simple-bootstrap/templates/base.html b/simple-bootstrap/templates/base.html
new file mode 100755
index 0000000..b1f06a7
--- /dev/null
+++ b/simple-bootstrap/templates/base.html
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ {% block head %}
+ <title>{% block title %}{{ SITENAME }}{% endblock %}</title>
+ <meta charset="utf-8" />
+ <link href="http://cdn.staticfile.org/twitter-bootstrap/3.0.0-rc1/css/bootstrap.min.css" rel="stylesheet" />
+ <link href="{{ SITEURL }}/theme/static/css/style.css" rel="stylesheet" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-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 %}
+ {% endblock head %}
+ </head>
+
+ <body id="index" class="archive">
+ <div class="container">
+ <div class="header">
+ <ul class="nav nav-pills pull-right">
+ <li class="{% block navclass %}{{ NAVCLASS }}{% endblock navclass %}"><a href="{{ SITEURL }}">Home</a></li>
+ {% for p in PAGES %}
+ <li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
+ {% endfor %}
+ <li{% if author or tag %} class="active"{% endif %}{% block archclass %}{{ ARCHCLASS }}{% endblock archclass %}><a href="{{ SITEURL }}/archives.html">Archives</a></li>
+ </ul>
+ <h3 class="text-muted"><a href="{{ SITEURL }}">{{ SITENAME }}</a></h3>
+ </div>
+ {% block content %}
+ {% endblock %}
+ <footer id="contentinfo" class="footer">
+ <nav class="pull-right bottom-nav">
+ <a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}">RSS</a>
+ </nav>
+ <address id="about" class="vcard body">
+ &copy; <a href="{{SITEURL}}">{{SITENAME}}</a> Proudly powered by <a href="http://getpelican.com/">Pelican</a>
+ </address><!-- /#about -->
+ </footer><!-- /#contentinfo -->
+ </div><!-- container -->
+ </body>
+</html>