From a5198615ef97f7115b4711cc05ecfd071af1cc09 Mon Sep 17 00:00:00 2001 From: Carl Johnson Date: Fri, 28 Oct 2022 13:01:56 -0400 Subject: [PATCH] Remove autotweeter --- config.toml | 7 +------ layouts/_default/list.autotweeter.json | 15 --------------- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 layouts/_default/list.autotweeter.json diff --git a/config.toml b/config.toml index 0d47a29..301d3ae 100644 --- a/config.toml +++ b/config.toml @@ -38,13 +38,8 @@ buildFuture = true baseName = "searchindex" isPlainText = true -[outputFormats.autotweeter] - mediaType = "application/json" - baseName = "autotweeter" - isPlainText = true - [outputs] - home = ["html", "searchindex", "autotweeter"] + home = ["html", "searchindex"] section = ["html"] taxonomy = ["html"] term = ["html"] diff --git a/layouts/_default/list.autotweeter.json b/layouts/_default/list.autotweeter.json deleted file mode 100644 index bf1e48c..0000000 --- a/layouts/_default/list.autotweeter.json +++ /dev/null @@ -1,15 +0,0 @@ -{{ $ppl := .GetPage "people" }} -[ - {{ range $i, $page := $ppl.Pages }} - {{ if ne $i 0 }},{{ end }} - { - "id": {{ .Permalink|jsonify }}, - "url": {{ .Permalink|jsonify }}, - "name": {{ .LinkTitle|jsonify }}, - "honorific": {{ .Param "honorific"|jsonify }}, - "twitter": {{ .Param "twitter"|jsonify }}, - "expertise": {{ delimit .Params.expertise ", " ", and " | jsonify }}, - "role": {{ .Param "role"|jsonify }} - } - {{ end }} -]