mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 05:36:07 +01:00
Fix references lookup
This commit is contained in:
parent
94cdbeb136
commit
3453a8fb8e
3 changed files with 3 additions and 4 deletions
|
@ -3,12 +3,10 @@ date: 2024-05-16T08:36:06.774+01:00
|
|||
publishDate: 2024-05-16T08:36:06.774+01:00
|
||||
likeOf: https://tonsky.me/blog/allekinos/
|
||||
references:
|
||||
https://tonskyMe/blog/allekinos/:
|
||||
url: https://tonsky.me/blog/allekinos
|
||||
- url: https://tonsky.me/blog/allekinos
|
||||
type: entry
|
||||
name: Going to the cinema is a data visualization problem
|
||||
summary: How I build a website for choosing movies
|
||||
featured: https://dynogee.com/gen?id=24m2qx9uethuw6p&title=Going+to+the+cinema+is+a+data+visualization+problem
|
||||
published: 2024-05-14
|
||||
author: https://www.facebook.com/nikitonsky
|
||||
publication: tonsky.me
|
||||
|
|
|
@ -12,6 +12,7 @@ tags:
|
|||
- web
|
||||
- HomeLab
|
||||
- admarus
|
||||
- offer
|
||||
syndications:
|
||||
---
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{{- $references := .references -}}
|
||||
{{- $reference := dict -}}
|
||||
{{- range $references -}}
|
||||
{{- if eq .url $url -}}
|
||||
{{- if eq (strings.TrimSuffix .url "/") (strings.TrimSuffix $url "/") -}}
|
||||
{{- $reference = . -}}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Reference in a new issue