diff options
Diffstat (limited to 'layouts/art')
-rw-r--r-- | layouts/art/list.html | 6 | ||||
-rw-r--r-- | layouts/art/single.html | 26 |
2 files changed, 32 insertions, 0 deletions
diff --git a/layouts/art/list.html b/layouts/art/list.html new file mode 100644 index 0000000..8da51d6 --- /dev/null +++ b/layouts/art/list.html @@ -0,0 +1,6 @@ +{{ define "main" }} + +{{ .Content }} + +{{ partial "art.html" . }} +{{ end }} diff --git a/layouts/art/single.html b/layouts/art/single.html new file mode 100644 index 0000000..ac6f351 --- /dev/null +++ b/layouts/art/single.html @@ -0,0 +1,26 @@ +{{ define "main" }} + +<style type="text/css" media="screen"> + li { + margin-bottom: 1.2em; + } +</style> + +<h2 class="title">{{ .Title }}</h2> + +{{ .Content }} + + {{ if .Params.tags }} + <div style="background-color: rgb(240, 240, 240);"> + This page is tagged with: + {{ range .Params.tags }} + <a href="{{ "tags" | absURL }}/{{ . | urlize }}">{{ . }}</a> + {{ end }} + {{ else }} + <div style="background-color: rgb(240, 240, 240); margin-top: 20px;"> + This page is untagged. + </div> + {{ end }} + </div> + +{{ end }} |