diff options
| author | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2024-04-06 19:42:00 +0200 |
|---|---|---|
| committer | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2024-04-06 19:42:00 +0200 |
| commit | 56faea4956d0dbf05ad75bbafca81aa90d09771d (patch) | |
| tree | 9e6eea64635685175fe4507b190fb9e3c02e7b82 /layouts/home | |
| parent | 9ec92dfef9c73992e849279c62ced2f41a7e43b9 (diff) | |
Add ontology
Diffstat (limited to 'layouts/home')
| -rw-r--r-- | layouts/home/list.html | 32 |
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 |
