Initial commit -- migration to zola
This commit is contained in:
commit
a79e7faa87
55 changed files with 375 additions and 0 deletions
8
templates/404.html
Normal file
8
templates/404.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Error 404: Page Not Found</h1>
|
||||
|
||||
<p>
|
||||
Feel free to look around though! Maybe you will find something beary 🐻 interesting!</p>
|
||||
{% endblock content %}
|
29
templates/base.html
Normal file
29
templates/base.html
Normal file
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{% block page_title %} {% endblock page_title %} Bear's den</title>
|
||||
<link rel="stylesheet" type="text/css" href="{{ get_url(path='style.css') }}"/>
|
||||
<link rel="icon" type="image/x-icon" href="{{ get_url( path='favicon.ico') }}">
|
||||
</head>
|
||||
<body>
|
||||
<div id="menu">
|
||||
<a href="/">home/</a>
|
||||
<a href="https://git.brloh.is">git/</a>
|
||||
<a href="/lang">lang/</a>
|
||||
<a href="/math">math/</a>
|
||||
<a href="/travel">travel/</a>
|
||||
<span class="right">
|
||||
Bear's den 🐻
|
||||
</span>
|
||||
</div>
|
||||
<div id="content">
|
||||
<div id="nav">
|
||||
{% block nav %} {% endblock nav %}
|
||||
</div>
|
||||
<div id="main">
|
||||
{% block content %} {% endblock content %}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
23
templates/blog.html
Normal file
23
templates/blog.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block page_title %}
|
||||
{{section.title}} |
|
||||
{% endblock page_title %}
|
||||
|
||||
{% block nav %}
|
||||
<ul>
|
||||
<li><a href="{{ section.permalink | safe }}">{{ section.title | lower }}/</a></li>
|
||||
{% for page in section.pages %}
|
||||
<li><a href="{{ page.permalink | safe }}">{{ page.slug }}/</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock nav %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="title">
|
||||
{{ section.title }}
|
||||
</h1>
|
||||
|
||||
{{ section.content | safe }}
|
||||
|
||||
{% endblock content %}
|
8
templates/index.html
Normal file
8
templates/index.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Welcome to Bear's den! 🐻</h1>
|
||||
|
||||
<p>Theme inspired by <a href="https://suckless.org/">suckless</a>. Website powered by <a href="https://getzola.org/">zola</a>.</p>
|
||||
<p>If you wonder, where the URL of this website comes from, <i>Brloh</i> is Czech for "bear's den".</p>
|
||||
{% endblock content %}
|
27
templates/post.html
Normal file
27
templates/post.html
Normal file
|
@ -0,0 +1,27 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block page_title %}
|
||||
{{page.title}} |
|
||||
{% endblock page_title %}
|
||||
|
||||
{% block nav %}
|
||||
<ul>
|
||||
<!-- If you are using pagination, section.pages will be empty.
|
||||
You need to use the paginator object -->
|
||||
{% set section = get_section(path=page.ancestors | last) %}
|
||||
<li><a href="{{ section.permalink | safe }}">{{ section.title | lower }}/</a></li>
|
||||
{% for p in section.pages %}
|
||||
<li><a href="{{ p.permalink | safe }}">{{ p.slug }}/</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock nav %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="title">
|
||||
{{ page.title }}
|
||||
</h1>
|
||||
|
||||
<p class="subtitle"><strong>{{ page.date }}</strong></p>
|
||||
{{ page.content | safe }}
|
||||
|
||||
{% endblock content %}
|
Loading…
Add table
Add a link
Reference in a new issue