summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/templ/article.thtml0
-rw-r--r--src/templ/base.thtml29
-rw-r--r--src/templ/main.thtml6
3 files changed, 35 insertions, 0 deletions
diff --git a/src/templ/article.thtml b/src/templ/article.thtml
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/templ/article.thtml
diff --git a/src/templ/base.thtml b/src/templ/base.thtml
new file mode 100644
index 0000000..49bcc5b
--- /dev/null
+++ b/src/templ/base.thtml
@@ -0,0 +1,29 @@
+<!doctype html>
+<html>
+ <head>
+ <!-- Latest compiled and minified CSS -->
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.csss">
+
+ <!-- Optional theme -->
+ <link rel="stylesheet" href="/styles/monokai_sublime.css">
+ <link rel="stylesheet" href="/styles/main.css">
+ <script src="/js/highlight.pack.js"></script>
+ <script>hljs.initHighlightingOnLoad();</script>
+ <title>{% block title %}{% endblock %}</title>
+ <meta charset="UTF-8" />
+ </head>
+ <body>
+ <nav>
+ <a href="/index.md" class="headerlink">Main</a>|
+ <a href="/writeup.md" class="headerlink">WriteUp</a>|
+ <a href="http://git.main.lv" class="headerlink">Projects</a>|
+ <a href="telnet://main.lv">BBS</a>|
+ <a href="/links.md" class="headerlink">Links</a>|
+ <a href="/about.md" class="headerlink">About</a>
+ </nav>
+ <div class="content">
+ {% block content %}
+ {% endblock %}
+ </div>
+ </body>
+</html>
diff --git a/src/templ/main.thtml b/src/templ/main.thtml
new file mode 100644
index 0000000..e875d3c
--- /dev/null
+++ b/src/templ/main.thtml
@@ -0,0 +1,6 @@
+{% extends "base.thtml" %}
+
+{% block content %}
+{{ block }}
+
+{% endblock %} \ No newline at end of file