mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-10 19:05:41 +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
|
publishDate: 2024-05-16T08:36:06.774+01:00
|
||||||
likeOf: https://tonsky.me/blog/allekinos/
|
likeOf: https://tonsky.me/blog/allekinos/
|
||||||
references:
|
references:
|
||||||
https://tonskyMe/blog/allekinos/:
|
- url: https://tonsky.me/blog/allekinos
|
||||||
url: https://tonsky.me/blog/allekinos
|
|
||||||
type: entry
|
type: entry
|
||||||
name: Going to the cinema is a data visualization problem
|
name: Going to the cinema is a data visualization problem
|
||||||
summary: How I build a website for choosing movies
|
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
|
published: 2024-05-14
|
||||||
author: https://www.facebook.com/nikitonsky
|
author: https://www.facebook.com/nikitonsky
|
||||||
publication: tonsky.me
|
publication: tonsky.me
|
||||||
|
|
|
@ -12,6 +12,7 @@ tags:
|
||||||
- web
|
- web
|
||||||
- HomeLab
|
- HomeLab
|
||||||
- admarus
|
- admarus
|
||||||
|
- offer
|
||||||
syndications:
|
syndications:
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
{{- $references := .references -}}
|
{{- $references := .references -}}
|
||||||
{{- $reference := dict -}}
|
{{- $reference := dict -}}
|
||||||
{{- range $references -}}
|
{{- range $references -}}
|
||||||
{{- if eq .url $url -}}
|
{{- if eq (strings.TrimSuffix .url "/") (strings.TrimSuffix $url "/") -}}
|
||||||
{{- $reference = . -}}
|
{{- $reference = . -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
Loading…
Reference in a new issue