From 710dbe0f00e4e7d15acd5a7f304b5864834d4491 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Sun, 5 Apr 2020 22:14:54 +0200 Subject: [PATCH] Use config.yaml not toml --- config.toml | 80 ------------------ config.yaml | 78 +++++++++++++++++ .../.gitattributes | 0 .../.github/ISSUE_TEMPLATE/bug_report.md | 0 .../LICENSE | 0 .../README.md | 0 .../archetypes/default.md | 0 .../archetypes/post.md | 0 .../dev-notes.md | 0 .../gh-md-toc | 0 .../images/screenshot.png | Bin .../images/tn.png | Bin .../layouts/_default/baseof.html | 0 .../layouts/_default/list.html | 0 .../layouts/_default/single.html | 0 .../layouts/_default/terms.html | 0 .../layouts/index.html | 0 .../layouts/partials/bootstrap-js.html | 0 .../layouts/partials/cookie-consent.html | 0 .../partials/google-analytics-async.html | 0 .../layouts/partials/google-analytics.html | 0 .../layouts/partials/head.html | 0 .../layouts/partials/mastodon-js.html | 0 .../layouts/partials/nav.html | 0 .../layouts/partials/post-list.html | 0 .../layouts/partials/style.html | 0 .../layouts/partials/tags.html | 0 .../layouts/post/single.html | 0 .../layouts/shortcodes/blockquote.html | 0 .../layouts/shortcodes/imgAbs.html | 0 .../layouts/shortcodes/imgProc.html | 0 .../layouts/shortcodes/imgRel.html | 0 .../layouts/shortcodes/mastodon.html | 0 .../netlify.toml | 0 .../stackbit.yaml | 0 .../static/css/bootstrap.min.css | 0 .../static/js/bootstrap.bundle.min.js | 0 .../static/js/jquery-3.3.1.slim.min.js | 0 .../theme.toml | 0 .../minimal-bootstrap-hugo-theme/.gitignore | 1 - 40 files changed, 78 insertions(+), 81 deletions(-) delete mode 100644 config.toml create mode 100644 config.yaml rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/.gitattributes (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/.github/ISSUE_TEMPLATE/bug_report.md (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/LICENSE (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/README.md (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/archetypes/default.md (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/archetypes/post.md (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/dev-notes.md (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/gh-md-toc (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/images/screenshot.png (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/images/tn.png (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/_default/baseof.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/_default/list.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/_default/single.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/_default/terms.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/index.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/partials/bootstrap-js.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/partials/cookie-consent.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/partials/google-analytics-async.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/partials/google-analytics.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/partials/head.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/partials/mastodon-js.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/partials/nav.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/partials/post-list.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/partials/style.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/partials/tags.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/post/single.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/shortcodes/blockquote.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/shortcodes/imgAbs.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/shortcodes/imgProc.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/shortcodes/imgRel.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/layouts/shortcodes/mastodon.html (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/netlify.toml (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/stackbit.yaml (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/static/css/bootstrap.min.css (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/static/js/bootstrap.bundle.min.js (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/static/js/jquery-3.3.1.slim.min.js (100%) rename themes/{minimal-bootstrap-hugo-theme => data-coop-gerning}/theme.toml (100%) delete mode 100644 themes/minimal-bootstrap-hugo-theme/.gitignore diff --git a/config.toml b/config.toml deleted file mode 100644 index 1795e21d..00000000 --- a/config.toml +++ /dev/null @@ -1,80 +0,0 @@ -baseURL = "https://example.com" -languageCode = "en-us" -title = "Some Title" -theme = "minimal-bootstrap-hugo-theme" - -[taxonomies] - tag = "tags" - -[permalinks] - post = "/:filename/" - -[params] - description = "Some description" - contentBackgroundColor = "#fff" - contentTextColor = "#212529" - contentLinkColor = "#007bff" - contentLinkHoverColor = "#0056b3" - navbarBackgroundColor = "#212529" - navbarLinkColor = "rgba(255, 255, 255, 0.75)" - navbarLinkHoverColor = "rgba(255, 255, 255, 1)" - wrapperMaxWidth = "800px" - customDateFormat = "Jan 2, 2006" - customCodeStyle = true - customBlockquoteStyle = true - showPostSummary = false - googleAnalytics = "UA-123456789-1" - cookieConsent = true - includeBootstrapJs = false - faviconSafariPinnedTabColor = "#5bbad5" - faviconMsApplicationTileColor = "#da532c" - faviconThemeColor = "#ffffff" - -[menu] - [[menu.nav]] - name = "Posts" - url = "/" - weight = 1 - [[menu.nav]] - name = "Tags" - url = "/tags/" - weight = 2 - [[menu.nav]] - name = "About" - url = "/about/" - weight = 3 - [[menu.nav]] - name = "RSS" - url = "/index.xml" - weight = 4 - -[markup] - defaultMarkdownHandler = "goldmark" - [markup.goldmark] - [markup.goldmark.extensions] - definitionList = true - footnote = true - linkify = true - strikethrough = true - table = true - taskList = true - typographer = true - [markup.goldmark.parser] - attribute = true - autoHeadingID = true - [markup.goldmark.renderer] - hardWraps = false - unsafe = true - xHTML = false - [markup.highlight] - codeFences = true - hl_Lines = "" - lineNoStart = 1 - lineNos = false - lineNumbersInTable = true - noClasses = true - style = "monokai" - tabWidth = 4 - [markup.tableOfContents] - endLevel = 6 - startLevel = 2 \ No newline at end of file diff --git a/config.yaml b/config.yaml new file mode 100644 index 00000000..ac9c23f0 --- /dev/null +++ b/config.yaml @@ -0,0 +1,78 @@ +baseURL: https://new.data.coop +DefaultContentLanguage: da +languageCode: da-dk +title: data.coop +theme: data-coop-gerning + +taxonomies: + tag: tags + +permalinks: + post: "/:filename/" + +params: + description: "Some description" + contentBackgroundColor: "#fff" + contentTextColor: "#212529" + contentLinkColor: "#007bff" + contentLinkHoverColor: "#0056b3" + navbarBackgroundColor: "#212529" + navbarLinkColor: "rgba(255, 255, 255, 0.75)" + navbarLinkHoverColor: "rgba(255, 255, 255, 1)" + wrapperMaxWidth: "800px" + customDateFormat: "Jan 2, 2006" + customCodeStyle: true + customBlockquoteStyle: true + showPostSummary: false + googleAnalytics: "UA-123456789-1" + cookieConsent: true + includeBootstrapJs: false + faviconSafariPinnedTabColor: "#5bbad5" + faviconMsApplicationTileColor: "#da532c" + faviconThemeColor: "#ffffff" + +menu: + nav: + - name: "Posts" + url: "/" + weight: 1 + - name: "Tags" + url: "/tags/" + weight: 2 + - name: "About" + url: "/about/" + weight: 3 + - name: "RSS" + url: "/index.xml" + weight: 4 + +markup: + defaultMarkdownHandler: "goldmark" + markup.goldmark: + markup.goldmark.extensions: + definitionList: true + footnote: true + linkify: true + strikethrough: true + table: true + taskList: true + typographer: true + markup.goldmark.parser: + attribute: true + autoHeadingID: true + markup.goldmark.renderer: + hardWraps: false + unsafe: true + xHTML: false + markup.highlight: + codeFences: true + hl_Lines: "" + lineNoStart: 1 + lineNos: false + lineNumbersInTable: true + noClasses: true + style: "monokai" + tabWidth: 4 + markup.tableOfContents: + endLevel: 6 + startLevel: 2 diff --git a/themes/minimal-bootstrap-hugo-theme/.gitattributes b/themes/data-coop-gerning/.gitattributes similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/.gitattributes rename to themes/data-coop-gerning/.gitattributes diff --git a/themes/minimal-bootstrap-hugo-theme/.github/ISSUE_TEMPLATE/bug_report.md b/themes/data-coop-gerning/.github/ISSUE_TEMPLATE/bug_report.md similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/.github/ISSUE_TEMPLATE/bug_report.md rename to themes/data-coop-gerning/.github/ISSUE_TEMPLATE/bug_report.md diff --git a/themes/minimal-bootstrap-hugo-theme/LICENSE b/themes/data-coop-gerning/LICENSE similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/LICENSE rename to themes/data-coop-gerning/LICENSE diff --git a/themes/minimal-bootstrap-hugo-theme/README.md b/themes/data-coop-gerning/README.md similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/README.md rename to themes/data-coop-gerning/README.md diff --git a/themes/minimal-bootstrap-hugo-theme/archetypes/default.md b/themes/data-coop-gerning/archetypes/default.md similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/archetypes/default.md rename to themes/data-coop-gerning/archetypes/default.md diff --git a/themes/minimal-bootstrap-hugo-theme/archetypes/post.md b/themes/data-coop-gerning/archetypes/post.md similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/archetypes/post.md rename to themes/data-coop-gerning/archetypes/post.md diff --git a/themes/minimal-bootstrap-hugo-theme/dev-notes.md b/themes/data-coop-gerning/dev-notes.md similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/dev-notes.md rename to themes/data-coop-gerning/dev-notes.md diff --git a/themes/minimal-bootstrap-hugo-theme/gh-md-toc b/themes/data-coop-gerning/gh-md-toc similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/gh-md-toc rename to themes/data-coop-gerning/gh-md-toc diff --git a/themes/minimal-bootstrap-hugo-theme/images/screenshot.png b/themes/data-coop-gerning/images/screenshot.png similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/images/screenshot.png rename to themes/data-coop-gerning/images/screenshot.png diff --git a/themes/minimal-bootstrap-hugo-theme/images/tn.png b/themes/data-coop-gerning/images/tn.png similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/images/tn.png rename to themes/data-coop-gerning/images/tn.png diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/_default/baseof.html b/themes/data-coop-gerning/layouts/_default/baseof.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/_default/baseof.html rename to themes/data-coop-gerning/layouts/_default/baseof.html diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/_default/list.html b/themes/data-coop-gerning/layouts/_default/list.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/_default/list.html rename to themes/data-coop-gerning/layouts/_default/list.html diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/_default/single.html b/themes/data-coop-gerning/layouts/_default/single.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/_default/single.html rename to themes/data-coop-gerning/layouts/_default/single.html diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/_default/terms.html b/themes/data-coop-gerning/layouts/_default/terms.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/_default/terms.html rename to themes/data-coop-gerning/layouts/_default/terms.html diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/index.html b/themes/data-coop-gerning/layouts/index.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/index.html rename to themes/data-coop-gerning/layouts/index.html diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/partials/bootstrap-js.html b/themes/data-coop-gerning/layouts/partials/bootstrap-js.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/partials/bootstrap-js.html rename to themes/data-coop-gerning/layouts/partials/bootstrap-js.html diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/partials/cookie-consent.html b/themes/data-coop-gerning/layouts/partials/cookie-consent.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/partials/cookie-consent.html rename to themes/data-coop-gerning/layouts/partials/cookie-consent.html diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/partials/google-analytics-async.html b/themes/data-coop-gerning/layouts/partials/google-analytics-async.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/partials/google-analytics-async.html rename to themes/data-coop-gerning/layouts/partials/google-analytics-async.html diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/partials/google-analytics.html b/themes/data-coop-gerning/layouts/partials/google-analytics.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/partials/google-analytics.html rename to themes/data-coop-gerning/layouts/partials/google-analytics.html diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/partials/head.html b/themes/data-coop-gerning/layouts/partials/head.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/partials/head.html rename to themes/data-coop-gerning/layouts/partials/head.html diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/partials/mastodon-js.html b/themes/data-coop-gerning/layouts/partials/mastodon-js.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/partials/mastodon-js.html rename to themes/data-coop-gerning/layouts/partials/mastodon-js.html diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/partials/nav.html b/themes/data-coop-gerning/layouts/partials/nav.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/partials/nav.html rename to themes/data-coop-gerning/layouts/partials/nav.html diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/partials/post-list.html b/themes/data-coop-gerning/layouts/partials/post-list.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/partials/post-list.html rename to themes/data-coop-gerning/layouts/partials/post-list.html diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/partials/style.html b/themes/data-coop-gerning/layouts/partials/style.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/partials/style.html rename to themes/data-coop-gerning/layouts/partials/style.html diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/partials/tags.html b/themes/data-coop-gerning/layouts/partials/tags.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/partials/tags.html rename to themes/data-coop-gerning/layouts/partials/tags.html diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/post/single.html b/themes/data-coop-gerning/layouts/post/single.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/post/single.html rename to themes/data-coop-gerning/layouts/post/single.html diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/shortcodes/blockquote.html b/themes/data-coop-gerning/layouts/shortcodes/blockquote.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/shortcodes/blockquote.html rename to themes/data-coop-gerning/layouts/shortcodes/blockquote.html diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/shortcodes/imgAbs.html b/themes/data-coop-gerning/layouts/shortcodes/imgAbs.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/shortcodes/imgAbs.html rename to themes/data-coop-gerning/layouts/shortcodes/imgAbs.html diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/shortcodes/imgProc.html b/themes/data-coop-gerning/layouts/shortcodes/imgProc.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/shortcodes/imgProc.html rename to themes/data-coop-gerning/layouts/shortcodes/imgProc.html diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/shortcodes/imgRel.html b/themes/data-coop-gerning/layouts/shortcodes/imgRel.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/shortcodes/imgRel.html rename to themes/data-coop-gerning/layouts/shortcodes/imgRel.html diff --git a/themes/minimal-bootstrap-hugo-theme/layouts/shortcodes/mastodon.html b/themes/data-coop-gerning/layouts/shortcodes/mastodon.html similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/layouts/shortcodes/mastodon.html rename to themes/data-coop-gerning/layouts/shortcodes/mastodon.html diff --git a/themes/minimal-bootstrap-hugo-theme/netlify.toml b/themes/data-coop-gerning/netlify.toml similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/netlify.toml rename to themes/data-coop-gerning/netlify.toml diff --git a/themes/minimal-bootstrap-hugo-theme/stackbit.yaml b/themes/data-coop-gerning/stackbit.yaml similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/stackbit.yaml rename to themes/data-coop-gerning/stackbit.yaml diff --git a/themes/minimal-bootstrap-hugo-theme/static/css/bootstrap.min.css b/themes/data-coop-gerning/static/css/bootstrap.min.css similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/static/css/bootstrap.min.css rename to themes/data-coop-gerning/static/css/bootstrap.min.css diff --git a/themes/minimal-bootstrap-hugo-theme/static/js/bootstrap.bundle.min.js b/themes/data-coop-gerning/static/js/bootstrap.bundle.min.js similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/static/js/bootstrap.bundle.min.js rename to themes/data-coop-gerning/static/js/bootstrap.bundle.min.js diff --git a/themes/minimal-bootstrap-hugo-theme/static/js/jquery-3.3.1.slim.min.js b/themes/data-coop-gerning/static/js/jquery-3.3.1.slim.min.js similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/static/js/jquery-3.3.1.slim.min.js rename to themes/data-coop-gerning/static/js/jquery-3.3.1.slim.min.js diff --git a/themes/minimal-bootstrap-hugo-theme/theme.toml b/themes/data-coop-gerning/theme.toml similarity index 100% rename from themes/minimal-bootstrap-hugo-theme/theme.toml rename to themes/data-coop-gerning/theme.toml diff --git a/themes/minimal-bootstrap-hugo-theme/.gitignore b/themes/minimal-bootstrap-hugo-theme/.gitignore deleted file mode 100644 index 73eae91e..00000000 --- a/themes/minimal-bootstrap-hugo-theme/.gitignore +++ /dev/null @@ -1 +0,0 @@ -exampleSite/public/ \ No newline at end of file