Added blog posts, and improved homepage
This commit is contained in:
36
baseTemplates/templates/base.tmpl
Normal file
36
baseTemplates/templates/base.tmpl
Normal file
@@ -0,0 +1,36 @@
|
||||
{{define "base"}}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="/static/css/style.css">
|
||||
<title></title>
|
||||
</head>
|
||||
<body class="{{ template "bodyClass" . }}">
|
||||
<header>
|
||||
<nav>
|
||||
<div>
|
||||
<div>
|
||||
<a href="/">
|
||||
<img src="https://kakigoori.dev/5819581e-42b9-41a7-bab6-c3f99de30934/auto" alt="Avatar of prettysunflower">
|
||||
</a>
|
||||
|
||||
<a href="/">
|
||||
prettysunflower
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<a href="/blog/">Blog</a>
|
||||
<a href="/regio43/">Regio43</a>
|
||||
<a href="https://git.prettysunflower.moe">Git</a>
|
||||
<a href="#">Bookmarks</a>
|
||||
<a href="/keys">Public keys</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
{{ template "content" . }}
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
Reference in New Issue
Block a user