This commit is contained in:
LordMZTE 2022-01-30 01:04:04 +01:00
parent 6decd41d35
commit 637ce359c2
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6
5 changed files with 49 additions and 33 deletions

View file

@ -7,6 +7,8 @@ compile_sass = true
# Whether to build a search index to be used later on by a JavaScript library
build_search_index = false
minify_html = true
[markdown]
# Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola

View file

@ -6,3 +6,4 @@ title = "LordMZTE"
Welcome to my website!
[PGP key](/public.key)

View file

@ -12,3 +12,7 @@ body {
#links {
float: right;
}
a {
color: #bd93f9;
}

View file

@ -1,45 +1,36 @@
{% import "macros.html" as macros %}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE html>
<html>
<head>
<head>
<link rel="stylesheet" href="index.css" type="text/css" media="all" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<title>LordMZTE</title>
</head>
</head>
<body>
<body>
<div style="height: 100px">
<div id="header" height="100">
<img src="/img/mzte.svg" alt="logo" width="100" height="100" />
<h1>LordMZTE</h1>
</div>
<div id="header" height="100">
<img src="/img/mzte.svg" alt="logo" width="100" height="100" />
<h1>LordMZTE</h1>
</div>
<div id="links">
<a href="https://pythonlang.org" target="_blank"
><img src="/img/pythno.png" alt="pythonlang" width="50" height="50"
/></a>
<br />
<a href="/git" target="_blank"
><img src="/img/gitea.svg" alt="gitea" width="50" height="50"
/></a>
<br />
<a href="https://github.com/lordmzte" target="_blank"
><img src="/img/github.svg" alt="github" width="50" height="50"
/></a>
<br />
<a href="https://koyu.space/@LordMZTE" target="_blank" rel="me"
><img src="/img/mastodon.svg" alt="mastodon" width="50"
/></a>
<br />
<a href="/b" target="_blank"
><img src="/img/brevo.svg" alt="brevo" width="50"
/></a>
</div>
<div id="links">
{{ macros::link_img(ref="https://pythonlang.org", img="/img/pythno.png", alt="pythonlang") }}
{{ macros::link_img(ref="/git", img="/img/gitea.svg", alt="gitea") }}
{{ macros::link_img(ref="https://github.com/lordmzte", img="/img/github.svg", alt="github") }}
{{ macros::link_img(
ref="https://koyu.space/@LordMZTE",
img="/img/mastodon.svg",
alt="mastodon",
rel="me"
) }}
{{ macros::link_img(ref="/b", img="/img/brevo.svg", alt="brevo") }}
</div>
</div>
<div id=" content" width="100%">
{{ section.content | safe }}
</div>
</body>
<div id=" content" width="100%">{{ section.content | safe }}</div>
</body>
</html>

18
templates/macros.html Normal file
View file

@ -0,0 +1,18 @@
{% macro link_img(ref, img, alt, rel="") %}
<a href="{{ ref }}" target="_blank"
><img
src="{{ img }}"
alt="{{ alt }}"
width="50"
height="50"
{%
if
rel
%}
rel="{{ rel }}"
{%
endif
%}
/></a>
<br />
{% endmacro link_img %}