aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorWilliam Hergès <anhgelus@anhgelus.world>2025-07-19 23:27:03 +0200
committerWilliam Hergès <anhgelus@anhgelus.world>2025-07-19 23:27:03 +0200
commit7b79fb02bbbb0eada3e166eb4cd908d58c2734f4 (patch)
tree08ec3138bbb6f398be5a22099ad78ed9dec3c121 /templates
parentf009b61110d6e49952eb71e52685417c031d4038 (diff)
fix(custom page): crash
disable rel me in these pages
Diffstat (limited to 'templates')
-rw-r--r--templates/base/base.gohtml5
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}}