summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html39
-rw-r--r--templates/index.html24
2 files changed, 63 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..9b997b6
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta charset="utf-8">
+ {% if page.title%}
+ <title>{{ page.title }}</title>
+ {% else %}
+ <title> Luhamus </title>
+ {% endif %}
+ <link href="css/style.css" rel="stylesheet"/>
+</head>
+
+<body>
+ <div class="main-image">
+ <div class="img-container">
+ <h1><span>Luhamus</span></h1>
+ </div>
+ </div>
+
+ <nav>
+ <a href="/">Home</a>
+ <a href="about">About</a>
+ <a href="">Git</a>
+ <a href="contact">Contact</a>
+ </nav>
+
+ <hr/>
+
+ <section class="section">
+ <div class="container">
+ {% block content %} {% endblock %}
+ </div>
+ </section>
+ <hr/>
+ <footer>&copy Here is the very important Footer 2022</footer>
+</body>
+
+</html>
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..fea6e41
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,24 @@
+{% extends "base.html" %}
+
+{% block content %}
+<h2>Hello and Welcome!</h2>
+<p>My name is Rasmus. I am studying Computer Science and Physics</p>
+<p>This site has many purposes. It serves somewhat as the replacement for my social-media,
+ it hosts my Git and E-mail server, and some other cool stuff aswell.
+ So, Go on, have a look around!</p>
+<div class="index-content">
+
+ <div class="right">
+ <h3>Text stuff here</h3>
+ <p>Pellentesque sit amet, porttitor eget dolor
+ arcu risus, quis varius quam quisque id diam
+ vel quam elementum pulvinar etiam non quam
+ lacus suspendisse.</p>
+ </div>
+
+ <div class="left">
+ <h3>Corner of Cool</h3>
+ </div>
+
+</div>
+{% endblock content %}