forked from varia/varia.website
manetta
6 years ago
1 changed files with 33 additions and 54 deletions
@ -1,62 +1,41 @@ |
|||||
<!DOCTYPE html> |
<!DOCTYPE html> |
||||
<html lang="{% block html_lang %}{{ DEFAULT_LANG }}{% endblock html_lang %}"> |
<html lang="{% block html_lang %}{{ DEFAULT_LANG }}{% endblock html_lang %}"> |
||||
<head> |
<head> |
||||
{% block head %} |
{% block head %} |
||||
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title> |
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title> |
||||
<meta charset="utf-8" /> |
<meta charset="utf-8" /> |
||||
{% if FEED_ALL_ATOM %} |
<link rel="stylesheet" type="text/css" href="{{ THEME_STATIC_DIR }}/css/stylesheet.css" /> |
||||
<link href="{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}{% else %}{{ FEED_ALL_ATOM }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" /> |
{% block rss %} |
||||
{% endif %} |
{% endblock %} |
||||
{% if FEED_ALL_RSS %} |
{% endblock head %} |
||||
<link href="{{ FEED_DOMAIN }}/{% if FEED_ALL_RSS_URL %}{{ FEED_ALL_RSS_URL }}{% else %}{{ FEED_ALL_RSS }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Full RSS Feed" /> |
|
||||
{% endif %} |
|
||||
{% if FEED_ATOM %} |
|
||||
<link href="{{ FEED_DOMAIN }}/{%if FEED_ATOM_URL %}{{ FEED_ATOM_URL }}{% else %}{{ FEED_ATOM }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" /> |
|
||||
{% endif %} |
|
||||
{% if FEED_RSS %} |
|
||||
<link href="{{ FEED_DOMAIN }}/{% if FEED_RSS_URL %}{{ FEED_RSS_URL }}{% else %}{{ FEED_RSS }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" /> |
|
||||
{% endif %} |
|
||||
{% if CATEGORY_FEED_ATOM and category %} |
|
||||
<link href="{{ FEED_DOMAIN }}/{% if CATEGORY_FEED_ATOM_URL %}{{ CATEGORY_FEED_ATOM_URL|format(category.slug) }}{% else %}{{ CATEGORY_FEED_ATOM|format(category.slug) }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Categories Atom Feed" /> |
|
||||
{% endif %} |
|
||||
{% if CATEGORY_FEED_RSS and category %} |
|
||||
<link href="{{ FEED_DOMAIN }}/{% if CATEGORY_FEED_RSS_URL %}{{ CATEGORY_FEED_RSS_URL|format(category.slug) }}{% else %}{{ CATEGORY_FEED_RSS|format(category.slug) }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Categories RSS Feed" /> |
|
||||
{% endif %} |
|
||||
{% if TAG_FEED_ATOM and tag %} |
|
||||
<link href="{{ FEED_DOMAIN }}/{% if TAG_FEED_ATOM_URL %}{{ TAG_FEED_ATOM_URL|format(tag.slug) }}{% else %}{{ TAG_FEED_ATOM|format(tag.slug) }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Tags Atom Feed" /> |
|
||||
{% endif %} |
|
||||
{% if TAG_FEED_RSS and tag %} |
|
||||
<link href="{{ FEED_DOMAIN }}/{% if TAG_FEED_RSS_URL %}{{ TAG_FEED_RSS_URL|format(tag.slug) }}{% else %}{{ TAG_FEED_RSS|format(tag.slug) }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" /> |
|
||||
{% endif %} |
|
||||
{% endblock head %} |
|
||||
</head> |
</head> |
||||
|
|
||||
<body id="index" class="home"> |
<body id="index" class="home"> |
||||
<header id="banner" class="body"> |
<header id="banner" class="body"> |
||||
<h1><a href="{{ SITEURL }}/">{{ SITENAME }} <strong>{{ SITESUBTITLE }}</strong></a></h1> |
<h1><a href="{{ SITEURL }}/">{{ SITENAME }} <strong>{{ SITESUBTITLE }}</strong></a></h1> |
||||
</header><!-- /#banner --> |
</header><!-- /#banner --> |
||||
<nav id="menu"><ul> |
<nav id="menu"><ul> |
||||
{% for title, link in MENUITEMS %} |
{% for title, link in MENUITEMS %} |
||||
<li><a href="{{ link }}">{{ title }}</a></li> |
<li><a href="{{ link }}">{{ title }}</a></li> |
||||
{% endfor %} |
{% endfor %} |
||||
{% if DISPLAY_PAGES_ON_MENU %} |
{% if DISPLAY_PAGES_ON_MENU %} |
||||
{% for p in pages %} |
{% for p in pages %} |
||||
<li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li> |
<li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li> |
||||
{% endfor %} |
{% endfor %} |
||||
{% endif %} |
{% endif %} |
||||
{% if DISPLAY_CATEGORIES_ON_MENU %} |
{% if DISPLAY_CATEGORIES_ON_MENU %} |
||||
{% for cat, null in categories %} |
{% for cat, null in categories %} |
||||
<li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li> |
<li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li> |
||||
{% endfor %} |
{% endfor %} |
||||
{% endif %} |
{% endif %} |
||||
</ul></nav><!-- /#menu --> |
</ul></nav><!-- /#menu --> |
||||
{% block content %} |
{% block content %} |
||||
{% endblock %} |
{% endblock %} |
||||
<footer id="contentinfo" class="body"> |
<footer id="contentinfo" class="body"> |
||||
<address id="about" class="vcard body"> |
<address id="about" class="vcard body"> |
||||
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, |
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, |
||||
which takes great advantage of <a href="http://python.org">Python</a>. |
which takes great advantage of <a href="http://python.org">Python</a>. |
||||
</address><!-- /#about --> |
</address><!-- /#about --> |
||||
</footer><!-- /#contentinfo --> |
</footer><!-- /#contentinfo --> |
||||
</body> |
</body> |
||||
</html> |
</html> |
||||
|
Loading…
Reference in new issue