aboutsummaryrefslogtreecommitdiff
path: root/layouts/home/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/home/list.html')
-rw-r--r--layouts/home/list.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/home/list.html b/layouts/home/list.html
new file mode 100644
index 0000000..95f13a6
--- /dev/null
+++ b/layouts/home/list.html
@@ -0,0 +1,17 @@
+{{ define "main" }}
+{{- .Content }}
+
+{{ with .Site.GetPage "section" "blog" }}
+<h2 id="{{ .RelPermalink }}">
+ <a class="anchor" href="{{ .RelPermalink | safeURL }}">#</a>
+ Ăšltimas entradas
+</h2>
+
+<ul>
+ {{ range .Pages }}
+
+ <li>{{ .PublishDate.Format "02/01" }} <a href="{{ .Permalink }}">{{ .Title }}</a></li>
+ {{ end }}
+</ul>
+{{ end }}
+{{ end}} \ No newline at end of file