Skip to content
Snippets Groups Projects
Commit 1e5b3b9a authored by Jan-Åke Larsson's avatar Jan-Åke Larsson
Browse files

Add redirect possibility

parent b913af9e
No related branches found
No related tags found
No related merge requests found
Pipeline #87771 passed
...@@ -12,6 +12,9 @@ ...@@ -12,6 +12,9 @@
{% for line in importlines -%} {% for line in importlines -%}
{%- if line contains '<head ' -%} {%- if line contains '<head ' -%}
<head data-itemurl="{{ pageurl_abs }}"> <head data-itemurl="{{ pageurl_abs }}">
{%- if page.redirect -%}
<meta http-equiv="Refresh" content="0; url={{ page.redirect }}" />
{%- endif -%}
{%- elsif line contains '<meta name="generator" content="Sitecore"' -%} {%- elsif line contains '<meta name="generator" content="Sitecore"' -%}
<meta name="generator" content="GitLab-Pages Jekyll"/> <meta name="generator" content="GitLab-Pages Jekyll"/>
{%- elsif line contains '<link rel="icon" href="/favicon.ico">' -%} {%- elsif line contains '<link rel="icon" href="/favicon.ico">' -%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment