diff options
author | tdro <tdro@noreply.example.com> | 2023-12-30 16:39:52 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-12-30 16:39:52 -0500 |
commit | 088ff760327f0e7f3d1e4d734442cb1a6b151f64 (patch) | |
tree | 80ef8eb9b7b9e0574e4a3b5290f5055214f1343f /themes/default/layouts/_default | |
parent | fad87c5cc042ea293b3d5cd7a139d124dce1cbd4 (diff) | |
download | canory-088ff760327f0e7f3d1e4d734442cb1a6b151f64.tar.gz canory-088ff760327f0e7f3d1e4d734442cb1a6b151f64.tar.bz2 canory-088ff760327f0e7f3d1e4d734442cb1a6b151f64.zip |
config: Likes -> Marked
Diffstat (limited to 'themes/default/layouts/_default')
-rw-r--r-- | themes/default/layouts/_default/section.marks.html (renamed from themes/default/layouts/_default/section.likes.html) | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/themes/default/layouts/_default/section.likes.html b/themes/default/layouts/_default/section.marks.html index 5626344..5b6cea0 100644 --- a/themes/default/layouts/_default/section.likes.html +++ b/themes/default/layouts/_default/section.marks.html @@ -4,7 +4,7 @@ <style> {{ partial "navigator.css.html" (dict "Link" "/") | safeCSS }} - tab-bar a[href^="{{ "" | absURL }}/{{ $author }}/likes"] { + tab-bar a[href^="{{ "" | absURL }}/{{ $author }}/marks"] { color: #111; color: var(--foreground); font-weight: 700; @@ -19,8 +19,8 @@ {{- define "header" -}} {{- $author := partial "function-authors-data.html" . -}} {{- $authors := where .Site.RegularPages "Section" $author.user -}} - {{- $likes := where .Site.RegularPages ".Params.liked" true -}} - {{- $filteredPages := $authors | intersect $likes -}} + {{- $items := where .Site.RegularPages ".Params.marked" true -}} + {{- $filteredPages := $authors | intersect $items -}} {{- $paginator := .Paginate $filteredPages -}} {{- partial "navigator-middle.html" @@ -28,9 +28,9 @@ "Context" . "IconLabel" "Back" "Id" "back" - "Title" "Likes" + "Title" "Marks" "Icon" "arrow-left" - "Subtitle" (print (partial "count-likes.html" .) " " "Total") + "Subtitle" (print (partial "count-marks.html" .) " " "Total") "Href" (or (and (gt $paginator.PageNumber 1) ($paginator.Prev.URL | absURL)) "/") ) -}} |