mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-04 10:09:44 +00:00
♻️ refactor article links, cards, and recent articles partials
This commit is contained in:
1 parent
963310a713
commit
6bccf5c7d9
25 files changed
+119
-119
No files matched your search
@@ -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 }}
|
||||
|
||||
Reference in new issue
Block a user