mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 05:36:07 +01:00
Fix likes
This commit is contained in:
parent
822930613f
commit
2a31ca5e54
3 changed files with 9 additions and 7 deletions
|
@ -5,7 +5,6 @@ likeOf: https://sli.dev/
|
|||
references:
|
||||
https://sliDev/:
|
||||
url: https://sli.dev/
|
||||
children:
|
||||
- type: item
|
||||
- type: item
|
||||
name: Slidev
|
||||
summary: Presentation Slides for Developers
|
||||
---
|
||||
|
|
|
@ -3,4 +3,4 @@ title: Likes
|
|||
emoji: 💙
|
||||
---
|
||||
|
||||
All the sites I've 'liked' since I started recording these via micropub in May 2024.
|
||||
All the pages from other sites I've _liked_ since I started recording them here in May 2024.
|
||||
|
|
|
@ -20,9 +20,12 @@
|
|||
<div class="posts-group">
|
||||
<div class="post-year">{{ .Key }}</div>
|
||||
|
||||
{{ range $i, $page := .Pages }}
|
||||
<a href="{{$page.Params.likeOf}}" target="_blank">{{ partial "page-title.txt" $page }}</a>{{ if lt $i (sub (len .Pages) 1) }}, {{ end }}
|
||||
{{ end }}
|
||||
<p>
|
||||
{{- $pages := .Pages -}}
|
||||
{{ range $i, $page := $pages }}
|
||||
<a href="{{$page.Params.likeOf}}" target="_blank">{{ partial "page-title.txt" $page }}</a>{{ if lt $i (sub (len $pages) 1) }}, {{ end }}
|
||||
{{ end }}
|
||||
</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ partial "pagination-list.html" . }}
|
||||
|
|
Loading…
Reference in a new issue