diff options
| author | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2024-04-06 21:58:23 +0200 |
|---|---|---|
| committer | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2024-04-06 21:58:23 +0200 |
| commit | 85e4cde7dd694759a7c082c0f6cbb9891f83fb87 (patch) | |
| tree | c08efc694aa616f806de94a32b829406da04ff1a /layouts | |
| parent | 56faea4956d0dbf05ad75bbafca81aa90d09771d (diff) | |
Update font styles and background colors in CSS files
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/home/list.html | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/layouts/home/list.html b/layouts/home/list.html index b2c5925..f0316bc 100644 --- a/layouts/home/list.html +++ b/layouts/home/list.html @@ -1,24 +1,29 @@ {{ define "head_extras" }} - {{ partial "ld/website.html" . }} +{{ partial "ld/website.html" . }} {{ end }} {{ define "main" }} - {{- .Content }} +{{- .Content }} - {{ with .Site.GetPage "section" "blog" }} +{{ with .Site.GetPage "section" "blog" }} +<section> <h2 id="{{ .RelPermalink }}"> <a class="anchor" href="{{ .RelPermalink | safeURL }}">#</a> Ăšltimas entradas </h2> <ul> - {{ range .Pages }} + {{ range .Pages | first 5 }} <li> - <time datetime="{{ .PublishDate.Format " 2006-01-02T15:04:05-07:00"}}">{{ .PublishDate.Format "02/01" }}</time> + <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 }} + + <a href="{{ .RelPermalink }}" class="button">Ver todas las entradas</a> +</section> +{{ end }} {{ end}}
\ No newline at end of file |
