diff options
author | Alejandro <alex.mac.fon@gmail.com> | 2024-08-03 22:07:59 -0600 |
---|---|---|
committer | Alejandro <alex.mac.fon@gmail.com> | 2024-08-03 22:07:59 -0600 |
commit | 5db153855c33fdd1a52780e82473b960a3bbe7a3 (patch) | |
tree | 87d3837a424c5b2b9161d5536059523aca14b5e7 | |
parent | 901cc6d25aabada295b1311f1768086a6c442119 (diff) |
fixed: news tag
-rw-r--r-- | layouts/shortcodes/list-noticias.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/list-noticias.html b/layouts/shortcodes/list-noticias.html index f1ce843..e438370 100644 --- a/layouts/shortcodes/list-noticias.html +++ b/layouts/shortcodes/list-noticias.html @@ -1,5 +1,5 @@ <ul class="news"> -{{ $p := where site.Pages "Params.tags" "intersect" (slice "noticia") }} +{{ $p := where site.Pages "Params.tags" "intersect" (slice "news") }} {{ range $p }} <li> <a href="{{.RelPermalink}}"> {{- if .Param "datesinlist" }}<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006 Jan 02" }}</time> – {{ end -}} {{.Title}}</a></li> |