fix(custom page): crash

disable rel me in these pages
This commit is contained in:
William Hergès 2025-07-19 23:27:03 +02:00
parent f009b61110
commit 7b79fb02bb
Signed by untrusted user who does not match committer: anhgelus
GPG key ID: 617773CACE89052C
3 changed files with 3 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 135 KiB

View file

@ -12,10 +12,11 @@
<style> <style>
.links { {{ .Data.Color.Button.GetBackground }}{{ .Data.Color.Button.GetTextColor }} } .links { {{ .Data.Color.Button.GetBackground }}{{ .Data.Color.Button.GetTextColor }} }
</style> </style>
{{ end }} {{ else }}
{{ range .Data.RelMeLinks }} {{ range .Data.RelMeLinks }}
<link rel="me" href="{{ . }}" /> <link rel="me" href="{{ . }}" />
{{ end }} {{ end }}
{{ end }}
</head> </head>
<body style="{{ .Data.GetBackgroundImage }}{{ .Data.GetTextColor }}"> <body style="{{ .Data.GetBackgroundImage }}{{ .Data.GetTextColor }}">
<div class="center"> <div class="center">