summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..4e79148
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>{% block title %}{{ config.title }}{% endblock %}</title>
+ <link rel="stylesheet" href="{{ get_url(path='style.css') }}">
+</head>
+<body>
+ <nav>
+ <a href="{{ get_url(path='@/_index.md') }}">home</a>
+ <a href="{{ get_url(path='@/blog/_index.md') }}">blog</a>
+ </nav>
+ <main>{% block content %}{% endblock %}</main>
+</body>
+</html>
+