summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-01-18 12:52:27 +0100
committerRomain Gonçalves <me@rgoncalves.se>2021-01-18 12:52:27 +0100
commite80f58116a9ecd67b2febe06778c624fd42ed1c6 (patch)
tree7200fc2c0da09bd7386bc74c2a538ac5bebd37e3 /templates
downloadold-website-e80f58116a9ecd67b2febe06778c624fd42ed1c6.tar.gz
Restart repo from scratch
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html35
-rw-r--r--templates/directory-page.html7
-rw-r--r--templates/directory.html9
-rw-r--r--templates/index.html30
-rw-r--r--templates/robots.txt2
-rw-r--r--templates/sitemap.xml1
6 files changed, 84 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..0795d4a
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <title>rgoncalves.se</title>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0 minimum-scale=1">
+ <link rel="icon" type="image/png" href="logo.png">
+ <link href="/style/style.css" rel="stylesheet" type="text/css">
+ </head>
+ <body>
+ <header>
+ {% if title is defined %}
+ <h1>{{ title }}</h1>
+ {% else %}
+ <h1>rgoncalves.se</h1>
+ {% endif %}
+ <nav>
+ &nbsp;
+ <a href="/">home</a>
+ <a href="/writeups/">writeups</a>
+ <a href="/services/">services</a>
+ <a href="/public">public</a>
+ <a href="http://git.rgoncalves.se">git</a>
+ <a href="https:/gitlab.com/rgoncalves.se/infrastructure/">infrastructure</a>
+ </nav>
+ </header>
+
+ {% block content %} {% endblock %}
+
+ <footer class="delimiter">
+ <p>Proudly powered by <a target="_blank" href="https://ungleich.ch">ungleich.ch</a>'s servers and dam !</p>
+ <p>Zero carbon - 100% renewable energy</p>
+ </footer>
+ </body>
+</html>
diff --git a/templates/directory-page.html b/templates/directory-page.html
new file mode 100644
index 0000000..5b2c5d5
--- /dev/null
+++ b/templates/directory-page.html
@@ -0,0 +1,7 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+{{ page.content | safe }}
+
+{% endblock content %}
diff --git a/templates/directory.html b/templates/directory.html
new file mode 100644
index 0000000..c4130fb
--- /dev/null
+++ b/templates/directory.html
@@ -0,0 +1,9 @@
+{% extends "base.html" %}
+
+{% block content %}
+{% for page in section.pages %}
+<article>
+ {{ page.date }} : <a href="{{ page.permalink | safe }}">{{ page.title }}</a>
+</article>
+{% endfor %}
+{% endblock content %}
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..87812ea
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,30 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+<p>
+ My name is Romain GONCALVES, usually rgoncalves/binary550 on git.
+</p>
+<p>
+Actually studying computer science, I would like to progress in infrastructure and administration of
+Unix based systems.
+Running my machines on Archlinux and OpenBSD, I deploy and maintain my internal servers and services
+for my own use. Moreover, I develop my own solutions or set of scripts.
+</p>
+
+<h2>crypto</h2>
+<ul>
+ <li><code>pgp</code> <a href="public/pgp.pub.txt">8C7D 6DAF 14F8 1426 40CE 83EA F85C D02D B419 D68C</a>
+</ul>
+
+<h2>contact</h2>
+<nav>
+ <a target="_blank" href="https://github.com/binary550">github</a>
+ <a target="_blank" href="https://gitlab.com/binary550">gitlab</a>
+ <a target="_blank" href="https://artstation.com/binary550">artstation</a>
+ <a target="_blank" href="https://matrix.to/#/@romaingoncalves:ungleich.ch">matrix</a>
+ <a target="_blank" href="https://www.linkedin.com/in/rgoncalvesse/">linkedin</a>
+ <a href="mailto:contact@rgoncalves.se">contact@rgoncalves.se</a>
+</nav>
+
+{% endblock content %}
diff --git a/templates/robots.txt b/templates/robots.txt
new file mode 100644
index 0000000..c6742d8
--- /dev/null
+++ b/templates/robots.txt
@@ -0,0 +1,2 @@
+User-Agent: *
+Disallow: /
diff --git a/templates/sitemap.xml b/templates/sitemap.xml
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/templates/sitemap.xml
@@ -0,0 +1 @@
+
remember that computers suck.