summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/art/list.html6
-rw-r--r--layouts/art/single.html26
-rw-r--r--layouts/partials/art.html12
3 files changed, 44 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 }}
diff --git a/layouts/partials/art.html b/layouts/partials/art.html
new file mode 100644
index 0000000..94307aa
--- /dev/null
+++ b/layouts/partials/art.html
@@ -0,0 +1,12 @@
+
+ <h3>Art</h3>
+
+ <ul>
+
+ {{ range where site.RegularPages "Section" "art" }}
+ <li><a href="{{ .Permalink }}">{{ .Title }}</a> ({{ .Date.Format "2 Jan 06" }})</li>
+ {{ end }}
+
+ </ul>
+
+