diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/layouts/_default.html | 1 | ||||
| -rw-r--r-- | templates/post.html | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/templates/layouts/_default.html b/templates/layouts/_default.html index dfc5a7e..5e82732 100644 --- a/templates/layouts/_default.html +++ b/templates/layouts/_default.html @@ -11,6 +11,7 @@ <title>a73x</title> <link rel="stylesheet" href="/static/styles.css"> <link rel="stylesheet" href="/static/syntax.css"> + <link rel="icon" type="image/x-icon" href="/static/favicon.svg"> </head> <body> diff --git a/templates/post.html b/templates/post.html new file mode 100644 index 0000000..bc567f2 --- /dev/null +++ b/templates/post.html @@ -0,0 +1,6 @@ +{{template "base" .}} +{{define "content"}} +<a href="/posts">← Posts</a> +<h1>{{.Meta.title}}</h1> +{{ .Body }} +{{end}}
\ No newline at end of file |
