Skip to content

Commit

Permalink
chore: one small fix in index.json
Browse files Browse the repository at this point in the history
  • Loading branch information
danieltomasz committed Aug 5, 2023
1 parent b72ac1c commit 3ab50a1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 17 deletions.
4 changes: 0 additions & 4 deletions content/posts/back to hugo.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
25 changes: 12 additions & 13 deletions layouts/index.json
Original file line number Diff line number Diff line change
@@ -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) }}
Expand Down

0 comments on commit 3ab50a1

Please sign in to comment.