Updating omegamma, using custom config for dev environment.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adsooi 2021-08-09 15:00:17 +02:00
parent e90b82cb46
commit cfe5114a39
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
4 changed files with 71 additions and 9 deletions

67
ci/dev.config.yml Normal file
View file

@ -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: <i class="icon-apps icon-as-text" alt="apps icon"></i>
title: apps section
url: https://dev.apps.ad5001.eu/
weight: 20
- identifier: git
name: Git
pre: <i class="icon-git icon-as-text" alt="git icon"></i>
title: git section
url: https://git.ad5001.eu
weight: 10
- identifier: about
name: About
pre: <i class="icon-about icon-as-text" alt="about icon"></i>
title: about section
url: /about
weight: 0
weight: 0
fr:
languageName: Français
menu:
main:
- identifier: apps
name: Apps
pre: <i class="icon-apps icon-as-text" alt="apps icon"></i>
title: apps list section
url: https://dev.apps.ad5001.eu/fr/
weight: 20
- identifier: git
name: Git
pre: <i class="icon-git icon-as-text" alt="git icon"></i>
title: git section
url: https://git.ad5001.eu
weight: 10
- identifier: about
name: À propos
pre: <i class="icon-about icon-as-text" alt="about icon"></i>
title: about section
url: /fr/a-propos
weight: 0
weight: 0
markup:
goldmark:
renderer:
hardWraps: false
unsafe: true
xhtml: false

View file

@ -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 ]

View file

@ -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:

@ -1 +1 @@
Subproject commit 68acf336b741a52f72968125ca91cf9f05b9cd65
Subproject commit 451e314408f3497944a65f02815cbee589d3ab33