add template debug info

master
B Kleinen 3 years ago
parent c8a659c471
commit 9462b2758e

@ -20,13 +20,10 @@ jobs:
- name: echo tag - name: echo tag
run: echo "---- about to deploy tag ${RELEASE_VERSION}" run: echo "---- about to deploy tag ${RELEASE_VERSION}"
- name: Push to Production Repo - 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: | run: |
git push https://${{ secrets.P_USER }}:${{ secrets.P_PASSWD }}@${{ secrets.P_URL }} master ${RELEASE_VERSION} git push https://${{ secrets.P_USER }}:${{ secrets.P_PASSWD }}@${{ secrets.P_URL }} master ${RELEASE_VERSION}
# needs the following secrets in repo: # needs the following secrets in repo:
# gh secret set P_USER -b <value> -R seuh2022/seuh2022 # gh secret set P_USER -b <value> -R seuh2022/seuh2022
# gh secret set P_PASSWD # gh secret set P_PASSWD
# gh secret set P_URL # gh secret set P_URL
# gh secret set P_URL_HUGO_TEST

@ -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 ## 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 - 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: ## Editing and Development:

@ -4,6 +4,7 @@ weight: 1
background: 'images/htw.png' background: 'images/htw.png'
button: 'Zum Call For Papers' button: 'Zum Call For Papers'
buttonLink: 'termine/cfp/' buttonLink: 'termine/cfp/'
layout:
--- ---
Nachhaltigkeit und Ethik Nachhaltigkeit und Ethik
in der Software Engineering Ausbildung und in der Software Engineering Ausbildung und

@ -26,3 +26,7 @@
</div> </div>
</div> </div>
{{ end }} {{ end }}
{{ define "template" }}
{{ partial "show-template" (dict "Which" .Kind "Template" "layouts/_default/list.html") }}
{{ end }}

@ -51,3 +51,7 @@
<script type="text/javascript" src="{{ ($servicesJS | minify | fingerprint).RelPermalink }}"></script> <script type="text/javascript" src="{{ ($servicesJS | minify | fingerprint).RelPermalink }}"></script>
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ define "template" }}
{{ partial "show-template" (dict "Which" .Kind "Template" "layouts/_default/photocredit.html") }}
{{ end }}

@ -26,3 +26,7 @@
</div> </div>
</div> </div>
{{ end }} {{ end }}
{{ define "template" }}
{{ partial "show-template" (dict "Which" .Kind "Template" "layouts/seuh/list.html") }}
{{ end }}

@ -25,3 +25,7 @@
<script type="text/javascript" src="{{ ($servicesJS | minify | fingerprint).RelPermalink }}"></script> <script type="text/javascript" src="{{ ($servicesJS | minify | fingerprint).RelPermalink }}"></script>
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ define "template" }}
{{ partial "show-template" (dict "Which" .Kind "Template" "layouts/seuh/single.html") }}
{{ end }}

@ -33,3 +33,7 @@
</div> </div>
{{ end }} {{ end }}
{{ define "template" }}
{{ partial "show-template" (dict "Which" .Kind "Template" "layouts/termine/cfp.html") }}
{{ end }}

@ -26,3 +26,7 @@
</div> </div>
</div> </div>
{{ end }} {{ end }}
{{ define "template" }}
{{ partial "show-template" (dict "Which" .Kind "Template" "layouts/termine/list.html") }}
{{ end }}

@ -25,3 +25,7 @@
<script type="text/javascript" src="{{ ($servicesJS | minify | fingerprint).RelPermalink }}"></script> <script type="text/javascript" src="{{ ($servicesJS | minify | fingerprint).RelPermalink }}"></script>
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ define "template" }}
{{ partial "show-template" (dict "Which" .Kind "Template" "layouts/termine/single.html") }}
{{ end }}

@ -1 +1 @@
Subproject commit 28dd1aa091f971c6308bac5e9eeb1e020399c84e Subproject commit 9b97d245444d2bf148447d834d8cd49dfd9b8cc8
Loading…
Cancel
Save