move old site into 2023 subdirectory and make it build with current hugo

This commit is contained in:
v 2025-07-11 10:36:16 +02:00
parent a81f299c41
commit 12ca6ad3df
4 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
baseURL: https://quellcode.0x90.space/
baseURL: https://quellcode.0x90.space/2023/
languageCode: de
defaultContentLanguage: de
title: Quellcode

View file

@ -1,4 +1,4 @@
set -xe
hugo
cd ../0x90-ansible
rsync -avz -e 'ssh -F ssh_config' ../quellcode.0x90.space/public/* www:/var/www/quellcode.0x90.space
rsync -avz -e 'ssh -F ssh_config' ../quellcode.0x90.space/public/* www:/var/www/quellcode.0x90.space/2023/

View file

@ -49,4 +49,4 @@
{{ end }}{{ end }}
{{- /* Facebook Page Admin ID for Domain Insights */}}
{{- with site.Social.facebook_admin }}<meta property="fb:admins" content="{{ . }}" />{{ end }}
{{- with site.Params.Social.facebook_admin }}<meta property="fb:admins" content="{{ . }}" />{{ end }}

View file

@ -28,6 +28,6 @@
{{- end }}
<meta name="twitter:title" content="{{ .Title }}"/>
<meta name="twitter:description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end -}}"/>
{{ with site.Social.twitter -}}
{{ with site.Params.Social.twitter -}}
<meta name="twitter:site" content="@{{ . }}"/>
{{ end -}}