summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/article-list.html
diff options
context:
space:
mode:
authorNantha Sorubakanthan <nantha@mielota.com>2025-10-29 18:08:07 +0100
committerNantha Sorubakanthan <nantha@mielota.com>2025-10-29 18:08:20 +0100
commitc69bbc7c0ee77c11dbc7cae346dbf282fffb956d (patch)
tree189dd84ec62e9a0372edfa6b4025be881e2d0139 /layouts/shortcodes/article-list.html
parent31d55a1d0688a6cbbb0f8a1bef5f325ccfe782b8 (diff)
change header and color for copied articles also update stuff
Diffstat (limited to 'layouts/shortcodes/article-list.html')
-rw-r--r--layouts/shortcodes/article-list.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/shortcodes/article-list.html b/layouts/shortcodes/article-list.html
index 090d654..d3d826e 100644
--- a/layouts/shortcodes/article-list.html
+++ b/layouts/shortcodes/article-list.html
@@ -3,7 +3,9 @@
</h2>
<ul>
{{- range where .Site.RegularPages "Type" (.Get "category") | first (.Get "number") }}
- <li>{{ .Date.Format "02/01/06" }} - <a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
+ <li>{{ .Date.Format "02/01/06" }} - <a href="{{ .RelPermalink }}" {{ if .Params.copied }}style="color:#73daca;" {{ end
+ }}>{{
+ .Title }}</a></li>
{{- end }}
</ul>
<a href='{{ .Get "category" }}'>See more...</a>