aboutsummaryrefslogtreecommitdiff
path: root/themes/sourcehut/message.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/sourcehut/message.html')
-rw-r--r--themes/sourcehut/message.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/themes/sourcehut/message.html b/themes/sourcehut/message.html
index fb38932..17f5976 100644
--- a/themes/sourcehut/message.html
+++ b/themes/sourcehut/message.html
@@ -99,6 +99,13 @@
{{end}}
</ul>
+ {{if and .Extra.HasRemoteResources (not .Extra.RemoteResourcesAllowed)}}
+ <p class="alert alert-info">
+ This message contains remote content.
+ <a href="?part={{.PartPath}}&allow-remote-resources=1" class="alert-link">Load</a>
+ </p>
+ {{end}}
+
{{if .View}}
{{.View}}
{{else}}