♻️ refactor article links, cards, and recent articles partials

This commit is contained in:
Nuno Coração
2022-12-31 15:58:20 +00:00
parent 963310a713
commit 6bccf5c7d9
25 changed files with 119 additions and 119 deletions
+2 -2
View File
@@ -8,13 +8,13 @@
{{ if $where }}
{{ range ( where .Site.RegularPages $where $value | first 1 ) }}
{{ if not (eq .RelPermalink $parent) }}
{{ partial "article-link.html" . }}
{{ partial "article-link/simple.html" . }}
{{ end }}
{{end}}
{{ else }}
{{ range .Site.RegularPages | first $limit }}
{{ if not (eq .RelPermalink $parent) }}
{{ partial "article-link.html" . }}
{{ partial "article-link/simple.html" . }}
{{ end }}
{{end}}
{{ end }}