blog/themes/pelican-striped-html5up/templates/base.html

107 lines
5 KiB
HTML
Raw Normal View History

2021-11-08 22:46:35 +00:00
<!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 %}
2021-11-08 22:48:31 +00:00
<link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_ATOM.format(slug='category.slug') }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Categories Atom Feed" />
2021-11-08 22:46:35 +00:00
{% endif %}
{% if CATEGORY_FEED_RSS and category %}
2021-11-08 22:48:31 +00:00
<link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS.format(slug='category.slug') }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Categories RSS Feed" />
2021-11-08 22:46:35 +00:00
{% endif %}
{% if TAG_FEED_ATOM and tag %}
2021-11-08 22:48:31 +00:00
<link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM.format(slug='tag.slug') }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Tags Atom Feed" />
2021-11-08 22:46:35 +00:00
{% endif %}
{% if TAG_FEED_RSS and tag %}
2021-11-08 22:48:31 +00:00
<link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS.format(slug='tag.slug') }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" />
2021-11-08 22:46:35 +00:00
{% endif %}
{% endblock head %}
<link rel="stylesheet" href="/theme/css/main.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8]><script src="/theme/js/ie/html5shiv.js"></script><![endif]-->
<!--[if lte IE 8]><link rel="stylesheet" href="/theme/css/ie8.css" /><![endif]-->
</head>
<body>
<header id="banner" class="body">
<h1><a href="{{ SITEURL }}/">{{ SITENAME }} <strong>{{ SITESUBTITLE }}</strong></a></h1>
</header><!-- /#banner -->
<!-- Sidebar -->
<div id="sidebar">
<!-- Logo -->
2021-11-08 23:34:33 +00:00
<h1 id="logo">
<a href="/">{{ SITENAME }}</a>
</h1>
{{ SITESUBTITLE }}
2021-11-08 22:46:35 +00:00
<!-- Text -->
<section class="box text-style1">
2021-11-08 23:34:33 +00:00
<div class="inner"><ul>
{% for text, url in HOSTS %}
<li><a href="{{ url }}">{{ text }}</a></li>
{% endfor %}
</ul></div>
<div class="inner"><ul>
{% for text, url in SITES %}
<li><a href="{{ url }}">{{ text }}</a></li>
{% endfor %}
</ul></div>
<div class="inner"><ul>
{% for text, url in GIT %}
<li><a href="{{ url }}">{{ text }}</a></li>
{% endfor %}
</ul></div>
<div class="inner"><ul>
{% for text, url in SOCIAL %}
<li><a href="{{ url }}">{{ text }}</a></li>
{% endfor %}
</ul></div>
2021-11-08 22:46:35 +00:00
</section>
<!-- Nav -->
<nav id="nav">
<ul>
<li><a href="#">Nam euismod dui</a></li>
<li><a href="#">Integer eget eros</a></li>
<li><a href="#">Proin vehicula tortor</a></li>
<li><a href="#">Vestibulum consectetur tellus</a></li>
</ul>
</nav>
<!-- Search -->
<!-- <section class="box search">
<form method="post" action="#">
<input type="text" class="text" name="search" placeholder="Search" />
</form>
</section> -->
<!-- Recent Posts -->
<section class="box recent-posts">
<header>
<h2>Contact Me</h2>
</header>
<ul>
<li><a class="icon fa-envelope" href="#"> eMail</a></li>
</ul>
</section>
</div><!-- /#menu -->
{% block content %}
{% endblock %}
<!-- /#contentinfo -->
</body>
</html>