From 3ab50a1a03dcdd22604f56745d585f5d7d4affa6 Mon Sep 17 00:00:00 2001 From: Daniel Borek Date: Sat, 5 Aug 2023 19:34:12 +0200 Subject: [PATCH] chore: one small fix in index.json --- content/posts/back to hugo.md | 4 ---- layouts/index.json | 25 ++++++++++++------------- 2 files changed, 12 insertions(+), 17 deletions(-) diff --git a/content/posts/back to hugo.md b/content/posts/back to hugo.md index cf64d4c..d81d100 100644 --- a/content/posts/back to hugo.md +++ b/content/posts/back to hugo.md @@ -10,10 +10,6 @@ tags: - Hugo --- - - - - ## Hugo, Quarto and my history of using static site generators. Long ago I was experimenting with Jekyll (you can see one of the pages I created [here](https://brainhackwarsaw2017.github.io/)), then I was trying Hugo and a year ago I switched to Quarto. diff --git a/layouts/index.json b/layouts/index.json index 3c1839c..cb4620f 100644 --- a/layouts/index.json +++ b/layouts/index.json @@ -1,17 +1,16 @@ { - { - "version": "https://jsonfeed.org/version/1", - "title": "{{ .Site.Title }}", - "home_page_url": "{{ .Site.BaseURL }}", - "feed_url": "{{ .Site.BaseURL }}/feed.json", - "description": "{{ .Site.Params.description }}", - "icon": "{{ .Site.BaseURL }}/assets/icon.png", - "favicon": "{{ .Site.BaseURL }}/assets/favicon.ico", - "expired": false, - "author": { - "name": "{{ .Site.Title }}", - "url": "{{ .Site.BaseURL }}" - }, + "version": "https://jsonfeed.org/version/1", + "title": "{{ .Site.Title }}", + "home_page_url": "{{ .Site.BaseURL }}", + "feed_url": "{{ .Site.BaseURL }}/feed.json", + "description": "{{ .Site.Params.description }}", + "icon": "{{ .Site.BaseURL }}/assets/icon.png", + "favicon": "{{ .Site.BaseURL }}/assets/favicon.ico", + "expired": false, + "author": { + "name": "{{ .Site.Title }}", + "url": "{{ .Site.BaseURL }}" + }, "items": [ {{ $list := (where .Site.RegularPages "Section" "posts") }} {{ $len := (len $list) }}