mirror of
https://github.com/rechelon/zine_library.git
synced 2026-02-13 14:19:53 +00:00
113 lines
4.1 KiB
HTML
Executable file
113 lines
4.1 KiB
HTML
Executable file
<!DOCTYPE html>
|
|
<html lang="{{ DEFAULT_LANG }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{% block title %}{{ SITENAME }}{% endblock %}</title>
|
|
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/style.css">
|
|
{% if FEED_ALL_ATOM %}
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
|
|
{% endif %}
|
|
{% if FEED_ALL_RSS %}
|
|
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
|
|
{% endif %}
|
|
</head>
|
|
<body>
|
|
<header class="site-header">
|
|
<div class="header-container">
|
|
{% if SITELOGO %}
|
|
<a href="{{ SITEURL }}/" class="logo-link">
|
|
<img src="{{ SITEURL }}/{{ SITELOGO }}" alt="{{ SITENAME }}" class="site-logo">
|
|
</a>
|
|
{% else %}
|
|
<a href="{{ SITEURL }}/" class="logo-link">
|
|
<div class="site-logo-text">{{ SITENAME }}</div>
|
|
</a>
|
|
{% endif %}
|
|
<nav class="main-nav">
|
|
{% for title, link in MENUITEMS %}
|
|
<a href="{{ link }}" class="nav-link">{{ title }}</a>
|
|
{% endfor %}
|
|
{% if DISPLAY_PAGES_ON_MENU %}
|
|
{% for page in pages %}
|
|
<a href="{{ SITEURL }}/{{ page.url }}" class="nav-link">{{ page.title }}</a>
|
|
{% endfor %}
|
|
{% endif %}
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
|
|
<div class="layout-container">
|
|
<aside class="sidebar sidebar-left">
|
|
{% block sidebar_left %}
|
|
<div class="sidebar-section">
|
|
<h3 class="sidebar-title">Stock Your Table!</h3>
|
|
<div class="sidebar-content">
|
|
<p>This is a broad, non-sectarian, archive of print-ready (imposed) zines to stock your anarchist infoshop or distro project. We were huge fans of the long dead zinelibrary.net.</p>
|
|
<p>For printing: select "print on both sides" and "flip on short edge".</p>
|
|
</div>
|
|
</div>
|
|
|
|
{% if categories %}
|
|
<div class="sidebar-section">
|
|
<h3 class="sidebar-title">Categories</h3>
|
|
<ul class="category-list">
|
|
{% for cat, null in categories %}
|
|
<li><a href="{{ SITEURL }}/{{ cat.url }}" class="category">{{ cat }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
|
|
{% block sidebar_right %}
|
|
{% if tags %}
|
|
<div class="sidebar-section">
|
|
<h3 class="sidebar-title">Tags</h3>
|
|
<div class="tag-cloud">
|
|
{% for tag in tag_cloud %}
|
|
<a href="{{ SITEURL }}/{{ tag.0.url }}" class="tag">{{ tag.0 }}</a>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if DISTROS %}
|
|
<div class="sidebar-section">
|
|
<h3 class="sidebar-title">Distros</h3>
|
|
<ul class="social-links">
|
|
{% for name, link in DISTROS %}
|
|
<li><a href="{{ link }}" target="_blank" rel="noopener">{{ name }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if PUBLISHERS %}
|
|
<div class="sidebar-section">
|
|
<h3 class="sidebar-title">Publishing Houses</h3>
|
|
<ul class="link-list">
|
|
{% for name, link in PUBLISHERS %}
|
|
<li><a href="{{ link }}" target="_blank" rel="noopener">{{ name }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
</aside>
|
|
|
|
<main class="main-content">
|
|
{% block content %}
|
|
{% endblock %}
|
|
</main>
|
|
|
|
</div>
|
|
|
|
<footer class="site-footer">
|
|
<div class="footer-content">
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
</html>
|