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.html32
1 files changed, 18 insertions, 14 deletions
diff --git a/layouts/home/list.html b/layouts/home/list.html
index 4389e28..b2c5925 100644
--- a/layouts/home/list.html
+++ b/layouts/home/list.html
@@ -1,20 +1,24 @@
+{{ define "head_extras" }}
+ {{ partial "ld/website.html" . }}
+{{ end }}
+
{{ define "main" }}
-{{- .Content }}
+ {{- .Content }}
-{{ with .Site.GetPage "section" "blog" }}
-<h2 id="{{ .RelPermalink }}">
- <a class="anchor" href="{{ .RelPermalink | safeURL }}">#</a>
- Últimas entradas
-</h2>
+ {{ with .Site.GetPage "section" "blog" }}
+ <h2 id="{{ .RelPermalink }}">
+ <a class="anchor" href="{{ .RelPermalink | safeURL }}">#</a>
+ Últimas entradas
+ </h2>
-<ul>
- {{ range .Pages }}
+ <ul>
+ {{ range .Pages }}
- <li>
- <time datetime="{{ .PublishDate.Format " 2006-01-02T15:04:05-07:00"}}">{{ .PublishDate.Format "02/01" }}</time>
- <a href="{{ .RelPermalink }}">{{ .Title }}</a>
- </li>
+ <li>
+ <time datetime="{{ .PublishDate.Format " 2006-01-02T15:04:05-07:00"}}">{{ .PublishDate.Format "02/01" }}</time>
+ <a href="{{ .RelPermalink }}">{{ .Title }}</a>
+ </li>
+ {{ end }}
+ </ul>
{{ end }}
-</ul>
-{{ end }}
{{ end}} \ No newline at end of file