summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-01-28 22:16:01 +0100
committerMateja <mail@matejamaric.com>2021-01-28 22:16:01 +0100
commit6963f58102c368967cb7f0ed3fce5f978493177d (patch)
tree4d82df8bc246e3de2f64e22e7f698d020c3ffcc0 /layouts/_default
downloadblog-6963f58102c368967cb7f0ed3fce5f978493177d.tar.gz
blog-6963f58102c368967cb7f0ed3fce5f978493177d.zip
First commit.
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html34
-rw-r--r--layouts/_default/list.html9
-rw-r--r--layouts/_default/single.html3
3 files changed, 46 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
new file mode 100644
index 0000000..07a8f32
--- /dev/null
+++ b/layouts/_default/baseof.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta name="yandex-xverification" content="fc9dd63070a12909">
+ <meta charset="UTF-8" />
+ <meta author="Mateja Maric" />
+
+ <!--<meta name="description"-->
+ <!--content="I am Mateja Maric and this is my personal web site. I am a student from Belgrade, Serbia. I am primarily interested in Unix-like operating systems and free(as in freedom) software.">-->
+ <!--<meta name="keywords" content="mateja, maric, homepage, site, blog, contact">-->
+ <!--<link rel="canonical" href="https://matejamaric.com" />-->
+
+ <meta name="viewport" content="width=device-width initial-scale=1.0" />
+ <link href="/style.css" rel="stylesheet" type="text/css" />
+ <title>{{ .Title }}</title>
+</head>
+
+<body>
+ <nav>
+ <div class="mm">Mateja Maric</div>
+ <a href="/" class="active">Home</a>
+ <a href="/blog/">Blog</a>
+ <a href="https://github.com/MatejaMaric">GitHub</a>
+ <a href="https://git.matejamaric.com">Git server</a>
+ <a href="/contact/">Contact</a>
+ </nav>
+ <main>
+ {{ block "main" . }}{{ end }}
+ </main>
+
+</body>
+
+</html>
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
new file mode 100644
index 0000000..2fcfeba
--- /dev/null
+++ b/layouts/_default/list.html
@@ -0,0 +1,9 @@
+{{ define "main" }}
+{{ .Content }}
+<h3>Posts</h3>
+<ul>
+ {{ range .Pages }}
+ <li>{{ .Date.Format "2 Jan 2006" }} - <a href="{{ .URL }}">{{ .Title }}</a></li>
+ {{ end }}
+</ul>
+{{ end }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..9983b08
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,3 @@
+{{ define "main" }}
+{{ .Content }}
+{{ end }}