38 lines
1.3 KiB
HTML
38 lines
1.3 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="{{ lang }}">
|
||
|
<head>
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, viewport-fit=cover">
|
||
|
<title>{{ config.title }}</title>
|
||
|
<link rel="stylesheet" href="/assets/css/main.css">
|
||
|
|
||
|
{% if config.generate_feed %}
|
||
|
<link rel="alternate" type={% if config.feed_filenames == "atom.xml" %}"application/atom+xml"{% else %}"application/rss+xml"{% endif %} title="RSS" href="{{ get_url(path=config.feed_filenames[0]) | safe }}">
|
||
|
{% endif %}
|
||
|
</head>
|
||
|
<body>
|
||
|
<nav class="navbar">
|
||
|
<li><h1 class="title"><a href="/">wanderlost</a></h1></li>
|
||
|
<li><a href="/">Home</a></li>
|
||
|
<li><a href="/blog/">Index</a></li>
|
||
|
<li><a href="/blog/atom.xml">Atom</a></li>
|
||
|
</nav>
|
||
|
<main>
|
||
|
{% block content %}
|
||
|
<div class="posts">
|
||
|
{% for page in section.pages | reverse %}
|
||
|
<div class="post">
|
||
|
<h3 class="post-title">
|
||
|
<a href="{{ page.permalink }}">
|
||
|
{{ page.title | safe }}
|
||
|
</a> - {{ page.date | date(format="%Y-%m-%d") }}
|
||
|
</h3>
|
||
|
</div>
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
{% endblock content %}
|
||
|
</main>
|
||
|
</body>
|
||
|
</html>
|