diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index 6ef8a2f..cd7d98f 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -20,13 +20,10 @@ jobs: - name: echo tag run: echo "---- about to deploy tag ${RELEASE_VERSION}" - name: Push to Production Repo - run: | - git push https://${{ secrets.P_USER }}:${{ secrets.P_PASSWD }}@${{ secrets.P_URL_HUGO_TEST }} master ${RELEASE_VERSION} - - name: Push to new Production Repo run: | git push https://${{ secrets.P_USER }}:${{ secrets.P_PASSWD }}@${{ secrets.P_URL }} master ${RELEASE_VERSION} + # needs the following secrets in repo: # gh secret set P_USER -b -R seuh2022/seuh2022 # gh secret set P_PASSWD # gh secret set P_URL -# gh secret set P_URL_HUGO_TEST diff --git a/README.MD b/README.MD index f8d446b..509cf8f 100644 --- a/README.MD +++ b/README.MD @@ -19,7 +19,8 @@ This is the source code for the [SEUH 2022 Website.](https://seuh.org/seuh2022/) ## Editing and Releasing from the Github Website - all content is in markdown files in the [content folder](content) - find the matching page in the hierarchy and edit the content via the webpage -- [draft and create a new release](https://github.com/seuh2022/seuh2022/releases/new) - create a new tag on the go, it has to start with a "v", e.g. "v1.1" to be deployed. +- all commits to master trigger a deployment to [Staging](https://seuh2022.github.io/seuh2022) +- to deploy the production site, [draft and create a new release](https://github.com/seuh2022/seuh2022/releases/new) - tags have to start with "v", e.g. "v1.1" to be deployed. ## Editing and Development: diff --git a/content/homepage/cfp.md b/content/homepage/cfp.md index 1c82015..bfac3a1 100644 --- a/content/homepage/cfp.md +++ b/content/homepage/cfp.md @@ -4,6 +4,7 @@ weight: 1 background: 'images/htw.png' button: 'Zum Call For Papers' buttonLink: 'termine/cfp/' +layout: --- Nachhaltigkeit und Ethik in der Software Engineering Ausbildung und diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 988f159..973aa73 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -25,4 +25,8 @@ {{ end }} -{{ end }} \ No newline at end of file +{{ end }} + +{{ define "template" }} + {{ partial "show-template" (dict "Which" .Kind "Template" "layouts/_default/list.html") }} +{{ end }} diff --git a/layouts/_default/photocredit.html b/layouts/_default/photocredit.html index 8f0aff6..870587c 100644 --- a/layouts/_default/photocredit.html +++ b/layouts/_default/photocredit.html @@ -51,3 +51,7 @@ {{ end }} {{ end }} + +{{ define "template" }} + {{ partial "show-template" (dict "Which" .Kind "Template" "layouts/_default/photocredit.html") }} +{{ end }} diff --git a/layouts/seuh/list.html b/layouts/seuh/list.html index 988f159..c578768 100644 --- a/layouts/seuh/list.html +++ b/layouts/seuh/list.html @@ -25,4 +25,8 @@ {{ end }} -{{ end }} \ No newline at end of file +{{ end }} + +{{ define "template" }} + {{ partial "show-template" (dict "Which" .Kind "Template" "layouts/seuh/list.html") }} +{{ end }} diff --git a/layouts/seuh/single.html b/layouts/seuh/single.html index c02a133..ce9289e 100644 --- a/layouts/seuh/single.html +++ b/layouts/seuh/single.html @@ -24,4 +24,8 @@ {{ else }} {{ end }} -{{ end }} \ No newline at end of file +{{ end }} + +{{ define "template" }} + {{ partial "show-template" (dict "Which" .Kind "Template" "layouts/seuh/single.html") }} +{{ end }} diff --git a/layouts/seuh/summary.html b/layouts/seuh/summary.html index ba51674..b32d846 100755 --- a/layouts/seuh/summary.html +++ b/layouts/seuh/summary.html @@ -10,4 +10,4 @@ {{ .Content | truncate 120 "..." }} - \ No newline at end of file + diff --git a/layouts/termine/cfp.html b/layouts/termine/cfp.html index 8ed2a23..eaef455 100644 --- a/layouts/termine/cfp.html +++ b/layouts/termine/cfp.html @@ -33,3 +33,7 @@ {{ end }} + +{{ define "template" }} + {{ partial "show-template" (dict "Which" .Kind "Template" "layouts/termine/cfp.html") }} +{{ end }} diff --git a/layouts/termine/list.html b/layouts/termine/list.html index 988f159..40b2be4 100644 --- a/layouts/termine/list.html +++ b/layouts/termine/list.html @@ -25,4 +25,8 @@ {{ end }} -{{ end }} \ No newline at end of file +{{ end }} + +{{ define "template" }} + {{ partial "show-template" (dict "Which" .Kind "Template" "layouts/termine/list.html") }} +{{ end }} diff --git a/layouts/termine/single.html b/layouts/termine/single.html index c02a133..3fb9e82 100644 --- a/layouts/termine/single.html +++ b/layouts/termine/single.html @@ -24,4 +24,8 @@ {{ else }} {{ end }} -{{ end }} \ No newline at end of file +{{ end }} + +{{ define "template" }} + {{ partial "show-template" (dict "Which" .Kind "Template" "layouts/termine/single.html") }} +{{ end }} diff --git a/themes/hugo-hero-theme b/themes/hugo-hero-theme index 28dd1aa..9b97d24 160000 --- a/themes/hugo-hero-theme +++ b/themes/hugo-hero-theme @@ -1 +1 @@ -Subproject commit 28dd1aa091f971c6308bac5e9eeb1e020399c84e +Subproject commit 9b97d245444d2bf148447d834d8cd49dfd9b8cc8