A non-standard link directory zola theme
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

44 lines
1.6 KiB

<!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="img/{{ config.extra.avatar }}" type="image/x-icon">
<link rel="stylesheet" href="{{ config.extra.style }}">
<meta property="og:title" content="{{ section.title }}">
<meta property="og:type" content="website">
<meta property="og:image" content="{{ config.base_url }}/img/{{ config.extra.avatar }}">
<meta property="og:description" content="{{ config.description }}">
<meta property="og:site_name" content="{{ config.title }}">
</head>
<body>
<img id="userPhoto" src="img/{{ config.extra.avatar }}" alt="User Photo">
<a href="" id="userName">{{ section.title }}</a>
{% block toc %}
{% if section.toc %}
{% set toc = section.toc %}
{% elif page.toc %}
{% set toc = page.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>