From 3d9237758d78530e8f9329bf6148dbc5fc84fb61 Mon Sep 17 00:00:00 2001 From: Sped0n Date: Mon, 30 Oct 2023 15:51:52 +0800 Subject: [PATCH] chore: update example site --- .../_default/hugo.toml} | 2 +- exampleSite/config/_default/markup.toml | 12 ++++++++ exampleSite/config/_default/menu.toml | 28 +++++++++++++++++++ exampleSite/config/_default/params.toml | 1 + exampleSite/config/_default/sitemap.toml | 3 ++ exampleSite/content/Featured/index.md | 5 ++++ exampleSite/content/Film/index.md | 5 ++++ exampleSite/content/Info.md | 16 +++++++++++ exampleSite/content/iPhone/index.md | 5 ++++ exampleSite/content/images/index.md | 4 --- 10 files changed, 76 insertions(+), 5 deletions(-) rename exampleSite/{config.toml => config/_default/hugo.toml} (64%) create mode 100644 exampleSite/config/_default/markup.toml create mode 100644 exampleSite/config/_default/menu.toml create mode 100644 exampleSite/config/_default/params.toml create mode 100644 exampleSite/config/_default/sitemap.toml create mode 100644 exampleSite/content/Featured/index.md create mode 100644 exampleSite/content/Film/index.md create mode 100644 exampleSite/content/Info.md create mode 100644 exampleSite/content/iPhone/index.md delete mode 100644 exampleSite/content/images/index.md diff --git a/exampleSite/config.toml b/exampleSite/config/_default/hugo.toml similarity index 64% rename from exampleSite/config.toml rename to exampleSite/config/_default/hugo.toml index c44f939..3753cfd 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config/_default/hugo.toml @@ -2,4 +2,4 @@ baseURL = 'https://www.example.com/' title = 'My New Hugo Site' themesdir = '../..' theme = 'Bridget' -disableKinds = ["section", "taxonomy", "term"] \ No newline at end of file +disableKinds = ["section", "taxonomy", "term", "home"] diff --git a/exampleSite/config/_default/markup.toml b/exampleSite/config/_default/markup.toml new file mode 100644 index 0000000..c9936a8 --- /dev/null +++ b/exampleSite/config/_default/markup.toml @@ -0,0 +1,12 @@ +[goldmark] +[goldmark.extensions] +definitionList = true +footnote = true +linkify = true +strikethrough = true +table = true +taskList = true +typographer = true +[goldmark.renderer] +# whether to use HTML tags directly in the document +unsafe = true diff --git a/exampleSite/config/_default/menu.toml b/exampleSite/config/_default/menu.toml new file mode 100644 index 0000000..c52d7d4 --- /dev/null +++ b/exampleSite/config/_default/menu.toml @@ -0,0 +1,28 @@ +[[main]] +identifier = "Featured" +pre = "" +post = "" +url = "/" +title = "" +weight = 1 +[[main]] +identifier = "iPhone" +pre = "" +post = "" +url = "/iphone/" +title = "" +weight = 2 +[[main]] +identifier = "Film" +pre = "" +post = "" +url = "/film/" +title = "" +weight = 3 +[[main]] +identifier = "Info" +pre = "" +post = "" +url = "/info/" +title = "" +weight = 4 diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/exampleSite/config/_default/params.toml @@ -0,0 +1 @@ + diff --git a/exampleSite/config/_default/sitemap.toml b/exampleSite/config/_default/sitemap.toml new file mode 100644 index 0000000..549a8be --- /dev/null +++ b/exampleSite/config/_default/sitemap.toml @@ -0,0 +1,3 @@ +changefreq = "weekly" +filename = "sitemap.xml" +priority = 0.5 diff --git a/exampleSite/content/Featured/index.md b/exampleSite/content/Featured/index.md new file mode 100644 index 0000000..ce8b8c8 --- /dev/null +++ b/exampleSite/content/Featured/index.md @@ -0,0 +1,5 @@ +--- +type: _default +layout: single +url: / +--- diff --git a/exampleSite/content/Film/index.md b/exampleSite/content/Film/index.md new file mode 100644 index 0000000..d0e24a4 --- /dev/null +++ b/exampleSite/content/Film/index.md @@ -0,0 +1,5 @@ +--- +type: _default +layout: single +url: /film/ +--- diff --git a/exampleSite/content/Info.md b/exampleSite/content/Info.md new file mode 100644 index 0000000..e8c26a9 --- /dev/null +++ b/exampleSite/content/Info.md @@ -0,0 +1,16 @@ +--- +type: _default +layout: single +url: /info/ +--- + +Bridget Baker is a photographer and artist based in Seattle, WA exploring shape and form by camera. For collaborations and inquiries, feel free to make direct contact below. + +[Email ↗](mailto:bridgetelizabethbaker@gmail.com) + +[Instagram ↗](https://instagram.com/pictures.bridget) + + +Site design & development by [Tyler McRobert](https://tylermcrobert.com). + +© {{< year >}} Bridget Baker. All rights reserved. \ No newline at end of file diff --git a/exampleSite/content/iPhone/index.md b/exampleSite/content/iPhone/index.md new file mode 100644 index 0000000..7cce036 --- /dev/null +++ b/exampleSite/content/iPhone/index.md @@ -0,0 +1,5 @@ +--- +type: _default +layout: single +url: /iphone/ +--- diff --git a/exampleSite/content/images/index.md b/exampleSite/content/images/index.md deleted file mode 100644 index b128c0a..0000000 --- a/exampleSite/content/images/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: The Gallery -headless: true ----