Fix: absolute urls and redirects
This commit is contained in:
parent
5938b000e3
commit
61f2befe89
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: Products
|
||||
layout: redirect
|
||||
redirectUrl: "/products/reader-clock"
|
||||
redirectUrl: "reader-clock"
|
||||
bodyClasses: 'title-h1h2 header-animated sticky-footer'
|
||||
|
||||
menu:
|
||||
|
|
6
content/scstw.md
Normal file
6
content/scstw.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: ScStw
|
||||
layout: redirect
|
||||
redirectUrl: "../products/scstw"
|
||||
bodyClasses: 'title-h1h2 header-animated sticky-footer'
|
||||
---
|
|
@ -12,11 +12,19 @@
|
|||
links:
|
||||
-
|
||||
text: "Check it out"
|
||||
href: "/products/reader-clock"
|
||||
href: "products/reader-clock"
|
||||
classes: "btn btn-primary"
|
||||
-
|
||||
image: "images/scstw/hero.jpeg"
|
||||
positionY: 80
|
||||
content: |
|
||||
## The Speed Climbing Stopwatch
|
||||
Modern speed climbing timing right at your fingertips
|
||||
links:
|
||||
-
|
||||
text: "Learn more"
|
||||
href: "products/scstw"
|
||||
classes: "btn btn-primary"
|
||||
|
||||
01-hero:
|
||||
enabled: false
|
||||
|
@ -30,7 +38,7 @@
|
|||
links:
|
||||
-
|
||||
text: "Check it out"
|
||||
href: "/products/reader-clock"
|
||||
href: "products/reader-clock"
|
||||
classes: "btn btn-primary"
|
||||
|
||||
02-highlights:
|
||||
|
@ -75,7 +83,7 @@
|
|||
|
||||
Professional time measuring often is a hassle. The Speed Climbing Stopwatch (aka ScStw) aims to change that. It is a modern speed climbing timing system that just works.
|
||||
<br />
|
||||
<a href="/scstw" class="btn btn-primary btn-lg">Find out more</a>
|
||||
<a href="scstw" class="btn btn-primary btn-lg">Find out more</a>
|
||||
|
||||
05-apps:
|
||||
modularLayout: text
|
||||
|
@ -86,7 +94,7 @@
|
|||
|
||||
We have developed some apps that might come in handy if you are interested in climbing.
|
||||
<br />
|
||||
<a href="/apps" class="btn btn-primary btn-lg">Find out more</a>
|
||||
<a href="apps" class="btn btn-primary btn-lg">Find out more</a>
|
||||
|
||||
06-links:
|
||||
modularLayout: features
|
||||
|
|
|
@ -1,7 +1,13 @@
|
|||
{{ define "content" }}
|
||||
<article class="mb-16 max-w-5xl mx-auto px-4 prose lg:prose-lg prose-blue dark:prose-dark">
|
||||
<meta http-equiv="refresh" content="{{ .Params.redirectDelay }}; url={{ .Params.redirectUrl }}" />
|
||||
<noscript><meta http-equiv="refresh" content="{{ default 0 .Params.redirectDelay }}; url={{ .Params.redirectUrl }}" /></noscript>
|
||||
<h1 class="font-bold text-3xl">Redirecting ...</h1>
|
||||
<a href="{{ .Params.redirectUrl }}">Click here if nothing happens</a>
|
||||
|
||||
<script>
|
||||
var destination = "{{ .Params.redirectUrl }}";
|
||||
window.location.href = destination + (window.location.search || '') + (window.location.hash || '');
|
||||
</script>
|
||||
|
||||
</article>
|
||||
{{ end }}
|
|
@ -10,9 +10,11 @@
|
|||
<link rel="stylesheet" href="{{ $style.RelPermalink }}" />
|
||||
{{ end }}
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/css/custom.css">
|
||||
<link rel="stylesheet" type="text/css" href="/css/fontawesome.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/css/bricklayer.css">
|
||||
<link rel="icon" href="{{ site.BaseURL }}/images/favicon.png">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="{{ site.BaseURL }}/css/custom.css">
|
||||
<link rel="stylesheet" type="text/css" href="{{ site.BaseURL }}/css/fontawesome.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="{{ site.BaseURL }}/css/bricklayer.css">
|
||||
|
||||
{{ $title := print .Title " | " .Site.Title }}
|
||||
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<a href="{{ site.BaseURL }}" class="navbar-brand mr-10">
|
||||
<img src="/images/logo/IconBig.png" alt="{{ .Site.Title }}" />
|
||||
<img src="{{ site.BaseURL }}images/logo/IconBig.png" alt="{{ .Site.Title }}" />
|
||||
</a>
|
|
@ -1,5 +1,3 @@
|
|||
<script src="/js/jquery.min.js"></script>
|
||||
<script src="/js/jquery.treemenu.js"></script>
|
||||
<script src="/js/site.js"></script>
|
||||
<script>
|
||||
</script>
|
||||
<script src="{{ site.BaseURL }}/js/jquery.min.js"></script>
|
||||
<script src="{{ site.BaseURL }}/js/jquery.treemenu.js"></script>
|
||||
<script src="{{ site.BaseURL }}/js/site.js"></script>
|
Loading…
Reference in a new issue