first!
This commit is contained in:
commit
cf7a27bfa1
225 changed files with 3580 additions and 0 deletions
22
content/things/_content.gotmpl
Normal file
22
content/things/_content.gotmpl
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{{- $data := slice }}
|
||||
{{- with os.ReadFile "data/things.json" }}
|
||||
{{- $data = . | transform.Unmarshal }}
|
||||
{{- end }}
|
||||
|
||||
{{- range $data }}
|
||||
{{- $params := dict
|
||||
"link" .link
|
||||
"thumb" .thumb
|
||||
"type" .type
|
||||
"title" .title
|
||||
}}
|
||||
{{- $dates := dict "date" (time .date) }}
|
||||
{{- $page := dict
|
||||
"kind" "page"
|
||||
"path" (printf "%s/%s" .type .id)
|
||||
"title" .title
|
||||
"dates" $dates
|
||||
"params" $params
|
||||
}}
|
||||
{{- $.AddPage $page }}
|
||||
{{- end }}
|
||||
10
content/things/_index.md
Normal file
10
content/things/_index.md
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
layout: things-list
|
||||
title: "Things I Like"
|
||||
draft: false
|
||||
outputs:
|
||||
- html
|
||||
- rss
|
||||
---
|
||||
|
||||
This is a general list of anything I like! I started this list in December 2023, but had backlogged some entries to get started. This list also has an [RSS feed](/things/index.xml) if that is of interest.
|
||||
5
content/things/article/_index.md
Normal file
5
content/things/article/_index.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: things-list
|
||||
title: "Things I Like - Articles"
|
||||
draft: false
|
||||
---
|
||||
5
content/things/game/_index.md
Normal file
5
content/things/game/_index.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: things-list
|
||||
title: "Things I Like - Games"
|
||||
draft: false
|
||||
---
|
||||
5
content/things/video/_index.md
Normal file
5
content/things/video/_index.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: things-list
|
||||
title: "Things I Like - Videos"
|
||||
draft: false
|
||||
---
|
||||
5
content/things/website/_index.md
Normal file
5
content/things/website/_index.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: things-list
|
||||
title: "Things I Like - Websites"
|
||||
draft: false
|
||||
---
|
||||
Loading…
Add table
Add a link
Reference in a new issue