Skip to content
Snippets Groups Projects
Commit 894ee7e0 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

Another redirect approach

parent 3e734731
No related branches found
No related tags found
No related merge requests found
<html> <!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
{% if page.redirect_to %} <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Refresh" content="0; url={{page.redirect_to}}" /> <meta name="viewport" content="width=device-width, initial-scale=1">
{% endif %}
<meta http-equiv="Refresh" content="0; url={{page.redirect_to}}" />
{%- seo -%}
<link rel="shortcut icon" type="image/png" href="{{ '/assets/favicon.png' | relative_url }}"/>
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
<link rel="stylesheet" href="{{ '/assets/fontawesome/css/fontawesome-all.min.css' | relative_url }}">
{%- include css-imports.html -%}
{%- if jekyll.environment == 'production' and site.google_analytics -%}
{%- include google-analytics.html -%}
{%- endif -%}
</head> </head>
</html>
\ No newline at end of file <body>
<div class="main">
<div class="content-wrapper">
{%- include header.html -%}
<main class="page-content" aria-label="Content">
<div class="wrapper">
You are being redirected to: <a href="{{page.redirect_to}}">{{page.redirect_to}}</a>. <br /> Please click the link above, if it does not happen automatically.
</div>
</main>
</div>
{%- include footer.html -%}
</div>
</body>
{%- include scripts.html -%}
</html>
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = "jekyll-theme-lcsb-default" spec.name = "jekyll-theme-lcsb-default"
spec.version = "0.2.14" spec.version = "0.2.15"
spec.authors = ["Trefex", "jaceklebioda_lux"] spec.authors = ["Trefex", "jaceklebioda_lux"]
spec.email = ["lcsb-sysadmins@uni.lu"] spec.email = ["lcsb-sysadmins@uni.lu"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment