From 595c75a9fbb249beaf3a6f6fa15c94bbf38284b1 Mon Sep 17 00:00:00 2001 From: kasiandra Date: Fri, 4 Apr 2025 14:22:58 +0200 Subject: [PATCH] initial upload --- config.toml | 21 +++++++++++++++++++++ static/img/fediverse.svg | 1 + static/img/git.svg | 1 + static/img/mail.svg | 1 + static/img/web.svg | 1 + templates/index.html | 32 ++++++++++++++++++++++++++++++++ 6 files changed, 57 insertions(+) create mode 100644 config.toml create mode 100644 static/img/fediverse.svg create mode 100644 static/img/git.svg create mode 100644 static/img/mail.svg create mode 100644 static/img/web.svg create mode 100644 templates/index.html diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..4629822 --- /dev/null +++ b/config.toml @@ -0,0 +1,21 @@ +# The URL the site will be built for +base_url = "https://qra-it.de" +compile_sass = true +build_search_index = false + +[markdown] +highlight_code = true + +[extra] + +social = [ + {title = 'Mail', icon = 'mail', link = 'mailto:foo@bar.de'}, + {title = 'Git', icon = 'git', link = '#git'}, + {title = 'Fediverse', icon = 'fediverse', link = '#fediverse'}, + {title = 'Web', icon = 'web', link = 'https://example.com'}, +] + +[[extra.footer]] +copyleft = 'Kasia-Marysia' +zola = 'Created With Rust' + diff --git a/static/img/fediverse.svg b/static/img/fediverse.svg new file mode 100644 index 0000000..dbe3213 --- /dev/null +++ b/static/img/fediverse.svg @@ -0,0 +1 @@ + diff --git a/static/img/git.svg b/static/img/git.svg new file mode 100644 index 0000000..dbe3213 --- /dev/null +++ b/static/img/git.svg @@ -0,0 +1 @@ + diff --git a/static/img/mail.svg b/static/img/mail.svg new file mode 100644 index 0000000..ba15719 --- /dev/null +++ b/static/img/mail.svg @@ -0,0 +1 @@ + diff --git a/static/img/web.svg b/static/img/web.svg new file mode 100644 index 0000000..dbe3213 --- /dev/null +++ b/static/img/web.svg @@ -0,0 +1 @@ + diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..78da6e9 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,32 @@ + + + + + {% block title %}{{ config.title }}{% endblock title %} + + + +
+
+

Here comes the banner

+
+
+
+ {% if config.extra.social %} + {% for links in config.extra.social %} + Socialmedia Icon for {{links.icon}} {{ links.title }}
+ {% endfor %} + {% endif %} +
+

Content comes here

+
+ +
+