mirror of
https://github.com/almet/notmyidea.git
synced 2025-04-28 19:42:37 +02:00
39 lines
No EOL
1.2 KiB
HTML
39 lines
No EOL
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<title>{% block title %}{{ SITENAME }}{%endblock%}</title>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" type="text/css" />
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate"
|
|
title="{{ SITENAME }} ATOM Feed" />
|
|
{% if FEED_RSS %}
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/atom+xml" rel="alternate"
|
|
title="{{ SITENAME }} RSS Feed" />
|
|
{% endif %}
|
|
</head>
|
|
|
|
<body>
|
|
<section id="links">
|
|
<ul>
|
|
{% for (title, url, selected) in MENU %}
|
|
{% if loop.first %}
|
|
<li><a class="main" href="/">{{ SITENAME }}</a></li>
|
|
{% endif %}
|
|
<li><a class="{%
|
|
if page_name == selected
|
|
or (category and category.name == selected)
|
|
or (page and page.slug == selected)
|
|
%}selected{% endif %}"
|
|
href="{{SITEURL}}{{ url }}">{{ title }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</section>
|
|
{% include 'github.html' %}
|
|
{% block content %}
|
|
{% endblock %}
|
|
|
|
</body>
|
|
|
|
</html> |