Add referrerpolicy to iframe

This commit is contained in:
Will Faught
2023-01-22 01:59:09 -08:00
parent 458b56d44e
commit d996ee4edd

View File

@@ -58,5 +58,5 @@
{{ end }}
<div class="mb-3 ratio ratio-16x9">
<iframe src="https://{{ $host | safeURL }}/{{ $path | safeURL }}?{{ $params | safeURL }}" {{ with $title }} title="{{ . }}" {{ end }} {{ if $fullscreen }} allowfullscreen {{ end }}></iframe>
<iframe referrerpolicy="no-referrer" src="https://{{ $host | safeURL }}/{{ $path | safeURL }}?{{ $params | safeURL }}" {{ with $title }} title="{{ . }}" {{ end }} {{ if $fullscreen }} allowfullscreen {{ end }}></iframe>
</div>