diff --git a/config.yml b/config.yml index 54d22e6..7ba93e9 100644 --- a/config.yml +++ b/config.yml @@ -11,25 +11,6 @@ params: summaryLength: 40 -outputFormats: - markdown: - name: "txt" - mediaType: "text/plain" - isPlainText: true -outputs: - home: - - "html" - - "rss" - - "json" - section: - - "html" - - "rss" - - "txt" - page: - - "html" - - "txt" - - "json" - staticDir: "static/build" buildFuture: true diff --git a/layouts/_default/list.json b/layouts/_default/list.json deleted file mode 100644 index 30ef6f5..0000000 --- a/layouts/_default/list.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - {{ range $i, $e := .Data.Pages.ByTitle }} - {{ if $i }}, {{ end }} - "{{ .RelPermalink }}": {{ partial "page_data.json" . }} - {{ end }} -} diff --git a/layouts/_default/list.txt b/layouts/_default/list.txt deleted file mode 100644 index aebd892..0000000 --- a/layouts/_default/list.txt +++ /dev/null @@ -1,3 +0,0 @@ -# {{ .Title | plainify }} - -{{ .RawContent | safeHTML }} diff --git a/layouts/_default/single.json b/layouts/_default/single.json deleted file mode 100644 index 2f4a87c..0000000 --- a/layouts/_default/single.json +++ /dev/null @@ -1 +0,0 @@ -{{ partial "page_data.json" . }} diff --git a/layouts/_default/single.txt b/layouts/_default/single.txt deleted file mode 100644 index aebd892..0000000 --- a/layouts/_default/single.txt +++ /dev/null @@ -1,3 +0,0 @@ -# {{ .Title | plainify }} - -{{ .RawContent | safeHTML }} diff --git a/layouts/partials/page_data.json b/layouts/partials/page_data.json deleted file mode 100644 index 5cbe072..0000000 --- a/layouts/partials/page_data.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "id": "{{ .UniqueID }}", - "title": "{{ .Title }}", - "image": "{{ absURL .Params.image }}", - "date": "{{ .Date.Format .Site.Params.iso8601 }}", - "url": "{{ .Permalink }}", - "link": "{{ .RelPermalink }}", - "link_title": "{{ .LinkTitle }}", - "content": {{ jsonify .RawContent }}, - "content_html": {{ jsonify (.Content | chomp) }}, - "summary": {{ jsonify (.Summary | plainify | chomp | htmlUnescape) }}, - "words": {{ .FuzzyWordCount }}, - "reading_time": {{ .ReadingTime }}, - "parent": "{{ if .Parent }}{{ .Parent.Title }}{{ end }}", - "tags": {{ jsonify .Params.tags }} -}