WIP redesigned homepage

pull/528/head
Scott Anderson 2019-10-15 13:29:29 -06:00
parent 08c9dc63d3
commit 5573eab05a
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@
<div class="cards">
<div class="card full" id="get-started">
{{ $currentVersion := (index (findRE "[^/]+.*?" .RelPermalink) 0) }}
{{ $currentVersion := replaceRE "v" "" (index (findRE "[^/]+.*?" .RelPermalink) 0) }}
<h1>InfluxDB {{ $currentVersion }} Documentation</h1>
<a class="btn" href="get-started">Get Started</a>
</div>
@ -36,13 +36,13 @@
</a>
<a class="card quarter" href="monitor-alert">
<h3>Monitor & alert</h3>
<h3>Monitor & Alert</h3>
</a>
</div>
</div>
{{ partial "article.html" . }}
<!-- {{ partial "article.html" . }} -->
<div class="copyright">© {{ now.Year }} InfluxData, Inc.</div>
</div>
</div>

View File

@ -1,4 +1,4 @@
{{ $currentVersion := (index (findRE "[^/]+.*?" .RelPermalink) 0) }}
{{ $currentVersion := replaceRE "v" "" (index (findRE "[^/]+.*?" .RelPermalink) 0) }}
<!doctype html>
<html lang="en">
<head>