blog.notmyidea.org/mnmlist/templates/base.html
Alexis Métaireau 91159ecc80 New version of the website.
- More categories are displayed
- Change the URL Scheme for categories
- Add a view for weeknotes, readings and code.
2023-09-25 16:50:07 +02:00

34 lines
No EOL
1.1 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">
{% for (title, url, selected) in MENU %}
<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 %}
</section>
{% include 'github.html' %}
{% block content %}
{% endblock %}
</body>
</html>