diff options
| author | Mitja Felicijan <m@mitjafelicijan.com> | 2023-07-08 21:26:40 +0200 |
|---|---|---|
| committer | Mitja Felicijan <m@mitjafelicijan.com> | 2023-07-08 21:26:40 +0200 |
| commit | d11b6ebe944b13e504608094424217b5d6b39a53 (patch) | |
| tree | 64559a80cf1c04fadf62f84f88120cdc5742e751 /files/post.html | |
| parent | 8e83285cc5b36c516880c9e321b86cb78db0d27f (diff) | |
| download | jbmafp-d11b6ebe944b13e504608094424217b5d6b39a53.tar.gz | |
First version, whatever that means
Diffstat (limited to 'files/post.html')
| -rw-r--r-- | files/post.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/files/post.html b/files/post.html new file mode 100644 index 0000000..28ffad2 --- /dev/null +++ b/files/post.html @@ -0,0 +1,14 @@ +{{ template "base.html" . }} + +{{ define "title" }}{{ .Page.Title }}{{ end }} +{{ define "description" }}{{ .Page.Summary }}{{ end }} + +{{ define "content" }} +<div> + <h1>{{ .Page.Title }}</h1> + <p>{{ .Page.Created.Format "Jan 2, 2006" }}</p> + <div> + {{ .Page.HTML }} + </div> +</div> +{{ end }} |
