From fbf386ebd6a8a279a0dc0de3e19eb0c29cc41e71 Mon Sep 17 00:00:00 2001 From: tdro Date: Tue, 24 May 2022 19:31:26 -0400 Subject: config: Keep files under sources Remove extra source folder in public path. --- config.json | 2 +- config.toml | 2 +- config.yaml | 2 +- themes/default/layouts/_default/home.sources.html | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config.json b/config.json index 5f87944..f5b51c2 100644 --- a/config.json +++ b/config.json @@ -281,7 +281,7 @@ }, { "source": "themes/default/layouts", - "target": "static/source/files" + "target": "static/sources/files" }, { "source": "data", diff --git a/config.toml b/config.toml index c228645..c7d0a01 100644 --- a/config.toml +++ b/config.toml @@ -210,7 +210,7 @@ enableRobotsTXT = true [[module.mounts]] source = "themes/default/layouts" - target = "static/source/files" + target = "static/sources/files" [[module.mounts]] source = "data" diff --git a/config.yaml b/config.yaml index 7bc34c2..611e53c 100644 --- a/config.yaml +++ b/config.yaml @@ -188,6 +188,6 @@ module: - source: content target: static/raw - source: themes/default/layouts - target: static/source/files + target: static/sources/files - source: data target: static/data diff --git a/themes/default/layouts/_default/home.sources.html b/themes/default/layouts/_default/home.sources.html index 720f249..8297794 100644 --- a/themes/default/layouts/_default/home.sources.html +++ b/themes/default/layouts/_default/home.sources.html @@ -35,7 +35,7 @@ {{ range sort $_default ".ModTime" "desc" }} {{ if not .IsDir }}
  • - + {{- .ModTime | time.Format "2006-01-02 15:04 MST" }} {{ .Name }} @@ -52,7 +52,7 @@ {{ range sort $_markup ".ModTime" "desc" }} {{ if not .IsDir }}
  • - + {{- .ModTime | time.Format "2006-01-02 15:04 MST" }} {{ .Name }} @@ -69,7 +69,7 @@ {{ range sort $partials ".ModTime" "desc" }} {{ if not .IsDir }}
  • - + {{- .ModTime | time.Format "2006-01-02 15:04 MST" }} {{ .Name }} @@ -86,7 +86,7 @@ {{ range sort $shortcodes ".ModTime" "desc" }} {{ if not .IsDir }}
  • - + {{- .ModTime | time.Format "2006-01-02 15:04 MST" }} {{ .Name }} -- cgit v1.2.3