mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-28 23:48:31 +02:00
On external_url pages, add redirect in rendered HTML
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
|
||||
<article>
|
||||
<div class="auto-container mb-5 mt-5">
|
||||
{{ if (eq .Params.type "external-link") }}
|
||||
Redirecting to <a href="{{ .Params.external_url }}">external page</a>...
|
||||
<meta http-equiv="refresh" content="0; url={{ .Params.external_url }}">
|
||||
{{ end }}
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</article>
|
||||
|
||||
Reference in New Issue
Block a user