Multi-user

This commit is contained in:
June Hardy 2021-04-26 10:26:11 +02:00
parent 6917d84539
commit d4948463c1
7 changed files with 84 additions and 46 deletions

View File

@ -17,5 +17,5 @@ highlight_code = false
[extra]
# Put all your custom variables here
icon = "noun_link.svg"
style = "dracula.css"
avatar = "june.png"

View File

@ -1,27 +1,5 @@
+++
title = "June"
title = "ligilo"
sort_by = "updated"
paginate_by = 3
+++
## DNS Witch, le collectif
### https://dns-witch.eu.org
## DNS Witch, le service
### https://dns-witch.net.eu.org
## Grimoire
### https://grimoire.eu.org
## ligilo
### https://labo.lacoloc.cafe/june/ligilo
## Blog
### https://june.blog.wehost.lgbt
## Liberapay
### https://liberapay.com/June_Cafe/
## Twitter
### https://twitter.com/The_DNS_Witch
## Fediverse
### https://social.lacoloc.cafe/june

30
content/june.md Normal file
View File

@ -0,0 +1,30 @@
+++
title = "June"
+++
## DNS Witch, le collectif
### https://dns-witch.eu.org
## DNS Witch, le service
### https://dns-witch.net.eu.org
## ligilo
### https://labo.lacoloc.cafe/june/ligilo
## La Coloc
### https://lacoloc.cafe
## Blog
### https://june.blog.wehost.lgbt
## Liberapay
### https://liberapay.com/June_Cafe/
## uTip
### https://utip.io/june_cafe
## Twitter
### https://twitter.com/The_DNS_Witch
## Fediverse
### https://social.lacoloc.cafe/june

1
static/img/noun_link.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns:x="http://ns.adobe.com/Extensibility/1.0/" xmlns:i="http://ns.adobe.com/AdobeIllustrator/10.0/" xmlns:graph="http://ns.adobe.com/Graphs/1.0/" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" x="0px" y="0px" viewBox="0 0 79.766 65.835" enable-background="new 0 0 79.766 52.668" xml:space="preserve"><switch><foreignObject requiredExtensions="http://ns.adobe.com/AdobeIllustrator/10.0/" x="0" y="0" width="1" height="1"/><g i:extraneous="self"><path d="M53.185,0c-3.196,0.006-6.254,0.58-9.091,1.608c0.35,0.471,0.623,1,0.797,1.575c2.594-0.913,5.381-1.422,8.294-1.422 C66.902,1.764,77.979,12.77,78.003,26.335c-0.023,13.564-11.101,24.571-24.818,24.573c-2.934-0.001-5.738-0.517-8.349-1.44 c-0.191,0.568-0.481,1.092-0.848,1.552c2.866,1.053,5.96,1.643,9.196,1.648c14.676-0.027,26.58-11.781,26.581-26.333 C79.765,11.783,67.86,0.026,53.185,0z M26.587,50.908c-13.716-0.002-24.8-11.009-24.825-24.573 C1.787,12.771,12.871,1.764,26.587,1.762c2.911,0,5.696,0.508,8.288,1.421c0.174-0.575,0.449-1.104,0.798-1.575 C32.838,0.58,29.78,0.006,26.587,0C11.909,0.026,0.002,11.783,0,26.335c0.002,14.552,11.909,26.306,26.587,26.333 c3.234-0.006,6.326-0.596,9.191-1.647c-0.367-0.46-0.655-0.983-0.849-1.552C32.322,50.393,29.518,50.907,26.587,50.908z M51.323,35.967c0.03-0.076,0.062-0.152,0.093-0.23c0.12-0.313,0.233-0.63,0.342-0.948c0.051-0.146,0.1-0.292,0.147-0.438 c0.091-0.279,0.175-0.562,0.257-0.845c0.054-0.192,0.107-0.386,0.157-0.58c0.066-0.256,0.13-0.512,0.19-0.771 c0.052-0.23,0.1-0.463,0.146-0.695c0.048-0.234,0.093-0.467,0.134-0.704c0.046-0.271,0.084-0.542,0.122-0.814 c0.027-0.208,0.061-0.414,0.085-0.623c0.036-0.33,0.064-0.663,0.089-0.996c0.011-0.16,0.028-0.316,0.038-0.477 c0.028-0.499,0.045-1.003,0.045-1.51c0-7.672-3.317-14.557-8.598-19.364c-0.268,0.532-0.618,1.014-1.042,1.423 c4.84,4.483,7.866,10.862,7.879,17.94h-0.001c0,0.458-0.016,0.912-0.041,1.363c-0.015,0.27-0.041,0.538-0.065,0.807 c-0.014,0.171-0.026,0.342-0.046,0.512c-0.035,0.323-0.08,0.645-0.131,0.963c-0.015,0.107-0.027,0.215-0.046,0.321 c-0.059,0.353-0.125,0.701-0.197,1.049c-0.014,0.062-0.027,0.127-0.041,0.191c-0.083,0.378-0.174,0.754-0.274,1.126 c-0.004,0.018-0.008,0.034-0.013,0.051c-1.213,4.448-3.649,8.397-6.934,11.47c0.003,0.002,0.005,0.005,0.006,0.007 c-0.414,0.389-0.845,0.76-1.285,1.119c-0.635-0.615-1.501-0.995-2.457-0.997c-1.939,0.004-3.521,1.56-3.521,3.497 c0.002,1.938,1.581,3.499,3.521,3.499c1.939,0,3.519-1.562,3.522-3.499c0-0.338-0.062-0.658-0.153-0.969 C46.813,43.998,49.619,40.259,51.323,35.967z M39.882,49.549c-0.977-0.001-1.758-0.785-1.759-1.736 c0.001-0.952,0.781-1.735,1.759-1.735c0.978,0,1.758,0.783,1.761,1.735C41.641,48.764,40.86,49.548,39.882,49.549z M28.4,24.986 c0.018-0.318,0.047-0.633,0.077-0.948c0.012-0.128,0.021-0.256,0.034-0.381c0.039-0.348,0.088-0.69,0.141-1.033 c0.014-0.087,0.025-0.176,0.04-0.263c0.061-0.365,0.13-0.728,0.205-1.087c0.013-0.056,0.024-0.109,0.036-0.164 c0.085-0.386,0.179-0.77,0.282-1.148c0.004-0.015,0.008-0.029,0.012-0.044c1.225-4.476,3.692-8.445,7.012-11.522 c-0.001-0.001-0.003-0.002-0.004-0.004c0.42-0.39,0.856-0.762,1.303-1.122c0.624,0.559,1.441,0.907,2.346,0.907 c1.938-0.001,3.518-1.561,3.521-3.498c-0.001-1.938-1.584-3.493-3.521-3.496c-1.939,0.003-3.521,1.558-3.522,3.496 c0,0.394,0.08,0.764,0.2,1.116c-3.58,2.845-6.4,6.59-8.111,10.895c-0.027,0.065-0.054,0.131-0.081,0.197 c-0.125,0.321-0.241,0.648-0.353,0.977c-0.047,0.137-0.095,0.271-0.139,0.408c-0.094,0.29-0.181,0.583-0.265,0.877 c-0.054,0.182-0.104,0.364-0.152,0.547c-0.069,0.269-0.136,0.537-0.198,0.808c-0.05,0.218-0.095,0.436-0.139,0.655 c-0.049,0.249-0.1,0.498-0.143,0.749c-0.044,0.253-0.079,0.505-0.115,0.759c-0.031,0.229-0.066,0.457-0.093,0.688 c-0.034,0.3-0.057,0.602-0.082,0.905c-0.015,0.19-0.035,0.381-0.046,0.572c-0.028,0.498-0.044,0.999-0.044,1.504 c0,7.642,3.293,14.502,8.539,19.307c0.252-0.543,0.594-1.035,1.011-1.457c-4.784-4.479-7.775-10.817-7.789-17.85 c0-0.135,0.01-0.266,0.013-0.399C28.377,25.617,28.382,25.301,28.4,24.986z M39.883,2.943c0.977,0,1.757,0.783,1.761,1.735 c-0.004,0.95-0.784,1.734-1.761,1.736c-0.978-0.002-1.759-0.786-1.762-1.736C38.125,3.727,38.904,2.943,39.883,2.943z"/></g></switch><text x="0" y="67.668" fill="#000000" font-size="5px" font-weight="bold" font-family="'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif">Created by Milton Raposo C. Rêgo Jr.</text><text x="0" y="72.668" fill="#000000" font-size="5px" font-weight="bold" font-family="'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif">from the Noun Project</text></svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 100 KiB

View File

@ -4,41 +4,26 @@
<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="icon" href="img/{{ config.extra.icon }}" type="image/x-icon">
<link rel="stylesheet" href="{{ config.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/{{ config.extra.avatar }}">
<meta property="og:image" content="{{ config.base_url }}/img/{{ config.extra.icon }}">
<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">
<img src="img/{{ config.extra.icon }}" alt="ligilo icon" width="10%">
<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>
<br>ligilos icon is "link" by Milton Raposo C. Rêgo Jr. from the <a href="https://thenounproject.com" target="_blank">Noun Project</a>
</footer>
</body>
</html>

44
templates/page.html Normal file
View File

@ -0,0 +1,44 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<title>{{ page.title }} | {{ config.title }}</title>
<link rel="icon" href="{{ config.base_url }}/img/pfp/{{ page.extra.avatar }}" type="image/x-icon">
<link rel="stylesheet" href="{{ config.base_url }}/{{ page.extra.style }}">
<meta property="og:title" content="{{ page.title }} | {{ config.title }}">
<meta property="og:type" content="website">
<meta property="og:image" content="{{ config.base_url }}/img/pfp/{{ page.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/{{ page.extra.avatar }}" alt="User Photo">
<a href="" id="userName">{{ page.title }}</a>
{% block toc %}
{% if page.toc %}
{% set toc = page.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>