diff options
| author | William Hergès <anhgelus@anhgelus.world> | 2025-07-19 23:27:03 +0200 |
|---|---|---|
| committer | William Hergès <anhgelus@anhgelus.world> | 2025-07-19 23:27:03 +0200 |
| commit | 7b79fb02bbbb0eada3e166eb4cd908d58c2734f4 (patch) | |
| tree | 08ec3138bbb6f398be5a22099ad78ed9dec3c121 /templates/base/base.gohtml | |
| parent | f009b61110d6e49952eb71e52685417c031d4038 (diff) | |
fix(custom page): crash
disable rel me in these pages
Diffstat (limited to 'templates/base/base.gohtml')
| -rw-r--r-- | templates/base/base.gohtml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/base/base.gohtml b/templates/base/base.gohtml index a740970..fced948 100644 --- a/templates/base/base.gohtml +++ b/templates/base/base.gohtml @@ -12,10 +12,11 @@ <style> .links { {{ .Data.Color.Button.GetBackground }}{{ .Data.Color.Button.GetTextColor }} } </style> - {{ end }} + {{ else }} {{ range .Data.RelMeLinks }} <link rel="me" href="{{ . }}" /> {{ end }} + {{ end }} </head> <body style="{{ .Data.GetBackgroundImage }}{{ .Data.GetTextColor }}"> <div class="center"> @@ -27,4 +28,4 @@ <script type="module" src="{{getAssetPath "index.js"}}" defer></script> </body> </html> -{{end}}
\ No newline at end of file +{{end}} |
