45 lines
1.8 KiB
HTML
45 lines
1.8 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta charset="UTF-8">
|
|
<title>{{ section.title }} | {{ config.title }}</title>
|
|
<link rel="icon" href="{{ config.base_url }}/img/pfp/{{ section.extra.avatar }}" type="image/x-icon">
|
|
<link rel="stylesheet" href="{{ config.base_url }}/{{ section.extra.style }}">
|
|
<meta property="og:title" content="{{ section.title }} | {{ config.title }}">
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:image" content="{{ config.base_url }}/img/pfp/{{ section.extra.avatar }}">
|
|
<meta property="og:description" content="{{ config.description }}">
|
|
<meta property="og:site_name" content="{{ config.title }}">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<img id="userPhoto" src="{{ config.base_url }}/img/pfp/{{ section.extra.avatar }}" alt="User Photo">
|
|
|
|
<a href="" id="userName">{{ section.title }}</a>
|
|
{% block toc %}
|
|
{% if section.toc %}
|
|
{% set toc = section.toc %}
|
|
{% elif section.toc %}
|
|
{% set toc = section.toc %}
|
|
{% endif %}
|
|
{% if toc %}
|
|
<div id="links">
|
|
{% for h2 in toc %}
|
|
{% if h2.children %}
|
|
{% for h3 in h2.children %}
|
|
<a class="link" href="{{h3.title | safe}}" target="_blank">{{ h2.title }}</a>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
{% endblock toc %}
|
|
|
|
<footer>
|
|
Powered by <a href="https://getzola.org" target="_blank">Zola</a> / <a href="https://github.com/june-coloc/ligilo" target="_blank">ligilo</a>
|
|
</footer>
|
|
</body>
|
|
</html>
|