mb@mb
7 years ago
2 changed files with 53 additions and 53 deletions
@ -1,49 +1,58 @@ |
|||||
<!DOCTYPE html> |
<!DOCTYPE html> |
||||
<html lang="{{ DEFAULT_LANG }}"> |
<html lang="{{ DEFAULT_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" /> |
||||
<link rel="stylesheet" type="text/css" href="/{{ THEME_STATIC_DIR }}{{ CSS_FILE }}" /> |
<link rel="stylesheet" type="text/css" href="/{{ THEME_STATIC_DIR }}{{ CSS_FILE }}" /> |
||||
<link rel="icon" href="{{ SITEURL}}/favicon.ico" type="image/x-icon"> |
<link rel="icon" href="{{ SITEURL}}/favicon.ico" type="image/x-icon"> |
||||
{% if FEED_ALL_ATOM %} |
{% if FEED_ALL_ATOM %} |
||||
<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" /> |
<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" /> |
||||
{% endif %} |
{% endif %} |
||||
{% if FEED_ALL_RSS %} |
{% if FEED_ALL_RSS %} |
||||
<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" /> |
<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 %} |
{% endif %} |
||||
{% if FEED_ATOM %} |
{% 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" /> |
<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 %} |
{% endif %} |
||||
{% if FEED_RSS %} |
{% 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" /> |
<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 %} |
{% endif %} |
||||
{% if CATEGORY_FEED_ATOM and category %} |
{% 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" /> |
<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 %} |
{% endif %} |
||||
{% if CATEGORY_FEED_RSS and category %} |
{% 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" /> |
<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 %} |
{% endif %} |
||||
{% if TAG_FEED_ATOM and tag %} |
{% 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" /> |
<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 %} |
{% endif %} |
||||
{% if TAG_FEED_RSS and tag %} |
{% 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" /> |
<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 %} |
{% endif %} |
||||
{% endblock head %} |
{% endblock head %} |
||||
</head> |
</head> |
||||
|
|
||||
<body id="index" class="home"> |
<body id="index" class="home"> |
||||
<header id="banner" class="body"> |
<header id="banner"> |
||||
<h1><a href="{{ SITEURL }}/">{{ SITENAME }} <strong>{{ SITESUBTITLE }}</strong></a></h1> |
<h1><a href="{{ SITEURL }}/">{{ SITENAME }} <strong>{{ SITESUBTITLE }}</strong></a></h1> |
||||
</header><!-- /#banner --> |
<h1 id="menu"> |
||||
{% block content %} |
Welcome to the |
||||
{% endblock %} |
<select onchange="window.location.href=this.value"> |
||||
<footer> |
{%- for t, article in tags|sort %} |
||||
{% for page in pages %} |
<option value="/{{ t.url }}" {% if t == tag %}selected{% endif %}>{{ t }}</option> |
||||
{{ page.title }} |
{% endfor %} |
||||
{{ page.content }} |
</select> |
||||
{% endfor %} |
Federation |
||||
</footer> |
</h1> |
||||
|
</header><!-- /#banner --> |
||||
|
{% block content %} |
||||
|
{% endblock %} |
||||
|
<footer> |
||||
|
{% for page in pages %} |
||||
|
{{ page.title }} |
||||
|
{{ page.content }} |
||||
|
{% endfor %} |
||||
|
</footer> |
||||
</body> |
</body> |
||||
</html> |
</html> |
||||
|
Loading…
Reference in new issue