about summary refs log tree commit diff
path: root/users/fcuny/notes/layouts/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'users/fcuny/notes/layouts/index.html')
-rw-r--r--users/fcuny/notes/layouts/index.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/users/fcuny/notes/layouts/index.html b/users/fcuny/notes/layouts/index.html
new file mode 100644
index 0000000..8ddc67d
--- /dev/null
+++ b/users/fcuny/notes/layouts/index.html
@@ -0,0 +1,22 @@
+{{ define "main" }}
+
+<article>
+
+  A place to collect random notes.
+
+  <ul id="post-permalink">
+  {{- $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
+  {{ range $pages }}
+  <li>
+    <a href="{{ .Permalink }}">{{ .Title }}</a>
+    {{ range $idx, $tag := .Params.tags }}
+    <span id="meta_tags"><a href="/tags/{{ $tag | urlize }}/">{{ $tag }}</a></span>
+  {{ end }}
+  </li>
+
+  {{ end }}
+  </ul>
+
+</article>
+
+{{ end }}