2024-08-03 23:30:31 +02:00
|
|
|
{% import "macros/date.html" as date_macros -%}
|
|
|
|
{% import "macros/head.html" as head_macros -%}
|
|
|
|
{% import "macros/menu.html" as menu_macros -%}
|
|
|
|
{% import "macros/post.html" as post_macros -%}
|
|
|
|
{% import "macros/title.html" as title_macros -%}
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{%- if config.default_language -%}{{ config.default_language }}{%- else -%}en{%- endif -%}">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>{%- block title %}{{ config.title }}{% endblock title -%}</title>
|
|
|
|
{{ head_macros::head(config=config) }}
|
|
|
|
|
|
|
|
{%- if config.generate_feed %}
|
|
|
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="rss.xml") | safe }}">
|
|
|
|
{% endif -%}
|
|
|
|
|
|
|
|
{%- if config.extra.favicon %}
|
|
|
|
<link rel="shortcut icon" type="{{ config.extra.favicon_mimetype | default(value="image/x-icon") | safe }}" href="{{ config.extra.favicon | safe }}">
|
|
|
|
{% endif -%}
|
|
|
|
|
|
|
|
{%- block extra_head %}
|
|
|
|
{% endblock extra_head -%}
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body class="">
|
|
|
|
<div class="container">
|
|
|
|
{% block header %}
|
|
|
|
<header class="header">
|
|
|
|
<div class="header__inner">
|
|
|
|
<div class="header__logo">
|
|
|
|
{%- if config.extra.logo_home_link %}
|
|
|
|
{% set logo_link = config.extra.logo_home_link %}
|
|
|
|
{% else %}
|
|
|
|
{% set logo_link = config.base_url %}
|
|
|
|
{% endif -%}
|
|
|
|
<a href="{{ logo_link | safe }}" style="text-decoration: none;">
|
|
|
|
<div class="logo">
|
|
|
|
{% block logo_content %}
|
|
|
|
{%- if config.extra.logo_text %}
|
|
|
|
{{ config.extra.logo_text }}
|
|
|
|
{% else %}
|
|
|
|
Terminimal theme
|
|
|
|
{% endif -%}
|
|
|
|
{% endblock logo_content %}
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% block header_menu %}
|
|
|
|
{{ menu_macros::menu(config=config, current_path=current_path) }}
|
|
|
|
{% endblock header_menu %}
|
|
|
|
</header>
|
|
|
|
{% endblock header %}
|
|
|
|
|
|
|
|
<div class="content">
|
|
|
|
{% block content %}
|
|
|
|
<div class="posts">
|
2024-08-14 04:08:49 +02:00
|
|
|
Hi! :) You have reached the root endpoint of the posixlycorrect server,
|
|
|
|
my home server.
|
|
|
|
|
|
|
|
</br>
|
|
|
|
</br>
|
|
|
|
|
|
|
|
Checkout these cool links:
|
|
|
|
|
|
|
|
{% set page = get_page(path="lib.md") %}
|
2024-08-03 23:30:31 +02:00
|
|
|
{{ post_macros::content(page=page, summary=false) }}
|
|
|
|
</div>
|
|
|
|
{% endblock content %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% block footer %}
|
|
|
|
<footer class="footer">
|
|
|
|
<div class="footer__inner">
|
|
|
|
{%- if config.extra.copyright_html %}
|
|
|
|
<div class="copyright copyright--user">{{ config.extra.copyright_html | safe }}</div>
|
|
|
|
{% else %}
|
|
|
|
<div class="copyright">
|
|
|
|
{%- if config.extra.author %}
|
|
|
|
<span>© {{ date_macros::now_year() }} {{ config.extra.author }}</span>
|
|
|
|
{% else %}
|
|
|
|
<span>© {{ date_macros::now_year() }} Powered by <a href="https://www.getzola.org/">Zola</a></span>
|
|
|
|
{% endif -%}
|
|
|
|
|
|
|
|
<span class="copyright-theme">
|
|
|
|
<span class="copyright-theme-sep">:: </span>
|
|
|
|
Theme adapted from <a href="https://github.com/pawroman/zola-theme-terminimal/">Terminimal</a> by pawroman
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
{% endif -%}
|
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
{% endblock footer %}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{%- block extra_body %}
|
|
|
|
{% endblock extra_body -%}
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|