From cfe5114a392b16a54e1b5666162c0e62f667e4db Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Mon, 9 Aug 2021 15:00:17 +0200 Subject: [PATCH] Updating omegamma, using custom config for dev environment. --- ci/dev.config.yml | 67 +++++++++++++++++++++++++++++++++++++++++++++++ ci/drone.yml | 4 +-- config.yaml | 7 +---- themes/omegamma | 2 +- 4 files changed, 71 insertions(+), 9 deletions(-) create mode 100644 ci/dev.config.yml diff --git a/ci/dev.config.yml b/ci/dev.config.yml new file mode 100644 index 0000000..17219d4 --- /dev/null +++ b/ci/dev.config.yml @@ -0,0 +1,67 @@ +baseURL: https://dev.ad5001.eu +languageCode: en +title: Ad5001 +theme: omegamma +copyright: Copyright © Ad5001 2021 +enableGitInfo: true + +params: + brandWebsite: / + websiteSource: https://git.ad5001.eu/Ad5001/ad5001.eu + +languages: + en: + languageName: English + menu: + main: + - identifier: apps + name: Apps + pre: + title: apps section + url: https://dev.apps.ad5001.eu/ + weight: 20 + - identifier: git + name: Git + pre: + title: git section + url: https://git.ad5001.eu + weight: 10 + - identifier: about + name: About + pre: + title: about section + url: /about + weight: 0 + weight: 0 + fr: + languageName: Français + menu: + main: + - identifier: apps + name: Apps + pre: + title: apps list section + url: https://dev.apps.ad5001.eu/fr/ + weight: 20 + - identifier: git + name: Git + pre: + title: git section + url: https://git.ad5001.eu + weight: 10 + - identifier: about + name: À propos + pre: + title: about section + url: /fr/a-propos + weight: 0 + weight: 0 + +markup: + goldmark: + renderer: + hardWraps: false + unsafe: true + xhtml: false + + diff --git a/ci/drone.yml b/ci/drone.yml index c1630f0..c3cfd14 100644 --- a/ci/drone.yml +++ b/ci/drone.yml @@ -25,7 +25,7 @@ steps: - name: Build dev.ad5001.eu image: xdevbase/hugo-builder:latest commands: - - hugo -b https://dev.ad5001.eu + - hugo --config ci/dev.config.yml when: event: [ push, tag ] branch: [ main ] @@ -71,7 +71,7 @@ steps: - name: Build ad5001.eu image: xdevbase/hugo-builder:latest commands: - - hugo -b https://ad5001.eu + - hugo when: event: [ push, tag ] branch: [ prod ] diff --git a/config.yaml b/config.yaml index da0eb4b..e51d212 100644 --- a/config.yaml +++ b/config.yaml @@ -3,16 +3,11 @@ languageCode: en title: Ad5001 theme: omegamma copyright: Copyright © Ad5001 2021 -enableGitInfo: "true" - -frontmatter: - date: ["date", "publishDate", "lastmod"] - lastmod: [":git", "date", "publishDate"] +enableGitInfo: true params: brandWebsite: / websiteSource: https://git.ad5001.eu/Ad5001/ad5001.eu - poweredBy: Powered by languages: en: diff --git a/themes/omegamma b/themes/omegamma index 68acf33..451e314 160000 --- a/themes/omegamma +++ b/themes/omegamma @@ -1 +1 @@ -Subproject commit 68acf336b741a52f72968125ca91cf9f05b9cd65 +Subproject commit 451e314408f3497944a65f02815cbee589d3ab33