Skip to content

Commit fa9c3c0

Browse files
author
SPRINX0\prochazka
committed
redirect pricing
1 parent 859e09d commit fa9c3c0

File tree

3 files changed

+21
-12
lines changed

3 files changed

+21
-12
lines changed

content/pricing.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
redirect: "https://dbgate.io/pricing"
3+
---

layouts/_default/baseof.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
{{ if .Params.redirect }}
2+
<!DOCTYPE html>
3+
<html>
4+
<head>
5+
<meta charset="utf-8">
6+
<meta http-equiv="refresh" content="0; url={{ .Params.redirect }}">
7+
<link rel="canonical" href="{{ .Params.redirect }}">
8+
<title>Redirecting…</title>
9+
</head>
10+
<body>
11+
<p>If you are not redirected automatically, click <a href="{{ .Params.redirect }}">here</a>.</p>
12+
</body>
13+
</html>
14+
15+
{{ else }}
16+
117
{{ $contentWidth := "is-12" }} {{ if or (eq .Section "features") (eq .Section "database") (eq .Section "docs")
218
}} {{ $contentWidth = "is-9-desktop is-12-tablet" }} {{ end }}
319

@@ -54,3 +70,5 @@
5470
{{ if not .Params.hide_footer }} {{ partial "footer.html" . }} {{ end }}
5571
</body>
5672
</html>
73+
74+
{{ end }}

layouts/docs/baseof.html

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)