summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authoreqkter <thyro@gmx.ru>2023-08-18 22:32:12 +0200
committereqkter <thyro@gmx.ru>2023-08-18 22:32:12 +0200
commit98b3e864c7595d15c24b05cc0e2bd29f87a13a09 (patch)
tree330c1f743e8ce7cb1fc673fcb6f8abb57c9b61d3 /templates
Initial commit
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html61
-rw-r--r--templates/index.html25
-rw-r--r--templates/page.html9
-rw-r--r--templates/projects.html13
4 files changed, 108 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..a4974b4
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta charset="utf-8">
+ {% if page.title %}
+ <title>{{ page.title }}</title>
+ {% else %}
+ <title>AARAVOS</title>
+ {% endif %}
+ <link href="/css/style.css" rel="stylesheet"/>
+</head>
+
+<body>
+ <header>
+ <h1>Alexis <span>Draussin</span></h1>
+ <nav>
+ <a href="/">Home</a>
+ <a href="/about">About</a>
+ <a href="/projects">Projects</a>
+ <a href="/cv">Résumé</a>
+ <a href="https://git.eqkter.org/explore/">git.eqkter.org</a>
+ </nav>
+ <hr>
+ </header>
+ <section class="section">
+ <div class="container">
+ {% block content %} {% endblock %}
+ </div>
+ </section>
+ <hr>
+ <footer>
+ <nav>
+ <img src="/images/link-buttons/vim.gif">
+ <a href="https://landchad.net" target="_blank">
+ <img src="/images/link-buttons/landchad.gif" target="_blank" alt="landchad.net">
+ </a>
+ <a href="https://www.debian.org" target="_blank">
+ <img src="/images/link-buttons/debian.gif" target="_blank" alt="freebsd.org">
+ </a>
+ <a href="https://sadgrl.online/" target="_blank">
+ <img src="/images/link-buttons/sadgrl.gif" alt="sadgrl.online">
+ </a>
+ <a href="https://bugswriter.com/" target="_blank">
+ <img src="/images/link-buttons/bugs.gif" alt="bugswriter.org">
+ </a>
+ <a href="http://cyber.dabamos.de/88x31/" target="_blank">
+ <img src="/images/link-buttons/88x31.gif" alt="cyber.dabamos.de/88x31/">
+ </a>
+ </nav><br>
+ <span>
+ Site content <a href="/LICENCE">CC-BY-NC-SA-4.0</a> Alexis Draussin 2022-2023 (<a href="https://git.eqkter.org/eqkter/website">view source</a>)<br>
+ Contact: <a href="mailto:eqkter@protonmail.com">eqkter@protonmail.com</a><br><br>
+ Made with basic CSS, <a href="https://www.getzola.org">Zola</a>, and without JS or trackers <br><br>
+ <a href="http://4tuvmbxqxk7rabcs3bojomnxaaty37hvhy2dvikemun4qx3myqv5lzqd.onion" target="_blank">Anonymous on Tor</a><br>
+ </span>
+ </footer>
+</body>
+<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
+<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
+</html>
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..be86172
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,25 @@
+{% extends "base.html" %}
+
+{% block content %}
+<h1 class="title">
+ Welcome to <a href="https://eqkter.org">eqkter.org</a>!
+</h1>
+ <p>Find me on <a href="https://framagit.org/eqkter">Framagit</a>.</p>
+<article>
+<h4> This website contains: </h4>
+ <ul>
+ <li> Some IT, scientific and electronic <a href="{{ get_url(path='@/projects/_index.md') }}">projects</a>;
+ <li> My <a href="/cv">résumé</a>;
+ <li> A sefl-hosted <a href="https://git.ekter.org">git server</a>;
+ <li> A collection of various useful links (TBD);
+ <li> Private instances of a mail server, a <a href="https://nextcloud.com">Nextcloud drive</a>, and my <a href="https://calibre-ebook.com">Calibre library Server</a>.
+ </ul>
+</article>
+<article>
+ <h4>Website Guide</h4>
+ <ul>
+ <li>This website is mostly about servers initiation and self-hosted solutions.</li>
+ <li>If you find it ugly - <a href="http://motherfuckingwebsite.com">It's minimal</a>.</li>
+ </ul>
+ </article>
+{% endblock content %}
diff --git a/templates/page.html b/templates/page.html
new file mode 100644
index 0000000..f0f638e
--- /dev/null
+++ b/templates/page.html
@@ -0,0 +1,9 @@
+{% extends "base.html" %}
+
+{% block content %}
+<h1 class="title">
+ {{ page.title }}
+</h1>
+<p class="subtitle"><strong>{{ page.date }}</strong></p>
+{{ page.content | safe }}
+{% endblock content %}
diff --git a/templates/projects.html b/templates/projects.html
new file mode 100644
index 0000000..6e7d799
--- /dev/null
+++ b/templates/projects.html
@@ -0,0 +1,13 @@
+{% extends "base.html" %}
+
+{% block content %}
+<h1 class="title">
+ {{ section.title }}
+</h1>
+<ul>
+ <!-- If you are using pagination, section.pages will be empty. You need to use the paginator object -->
+ {% for page in section.pages %}
+ <li><a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
+ {% endfor %}
+</ul>
+{% endblock content %}