mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
Initial templates
This commit is contained in:
parent
e43301b65e
commit
b12b50104e
5 changed files with 131 additions and 0 deletions
56
alchemy/templates/base.html
Normal file
56
alchemy/templates/base.html
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ DEFAULT_LANG }}">
|
||||
<head>
|
||||
{% block head_meta %}
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
{% if article and article.author %}
|
||||
<meta name="author" content="{{ article.author }}">
|
||||
<meta name="copyright" content="{{ article.author }}">
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
<title>{% block title %}{{ SITENAME|striptags }}{% endblock %}</title>
|
||||
{% block head_link %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/styles.css">
|
||||
{%if USE_FAVICON %}
|
||||
<link rel="shortcut icon" href="{{ SITEURL }}/theme/images/favicon.ico" type="image/x-icon">
|
||||
<link rel="apple-touch-icon" href="{{ SITEURL }}/theme/images/apple-touch-icon.png">
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="{{ SITEURL }}/theme/images/apple-touch-icon-57x57.png">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="{{ SITEURL }}/theme/images/apple-touch-icon-72x72.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="{{ SITEURL }}/theme/images/apple-touch-icon-114x114.png">
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="{{ SITEURL }}/theme/images/apple-touch-icon-144x144.png">
|
||||
<link rel="icon" href="{{ SITEURL }}/theme/images/apple-touch-icon-144x144.png">
|
||||
{% endif %}
|
||||
{% if FEED_ATOM %}
|
||||
<link href="/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME|striptags }} Atom Feed">
|
||||
{% endif %}
|
||||
{% if FEED_RSS %}
|
||||
<link href="/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME|striptags }} RSS Feed">
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block head_script %}
|
||||
{# HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries #}
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
<a href="#content" class="sr-only">Skip to main content</a>
|
||||
<div id="wrap">
|
||||
{% include "header.html" %}
|
||||
<div id="content">
|
||||
<div class="container">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% include "footer.html" %}
|
||||
{% block script %}
|
||||
<script src="{{ SITEURL }}/theme/js/jquery.min.js"></script>
|
||||
<script src="{{ SITEURL }}/theme/js/bootstrap.min.js"></script>
|
||||
{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue