Merge pull request #1681 from jonasrosland/add-survey

Add link to the Velero user survey
pull/1684/head
Nolan Brubaker 2019-07-18 12:23:20 -04:00 committed by GitHub
commit c8bac5bfae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 0 deletions

View File

@ -9,6 +9,7 @@
<li class="blog"><a href="/blog" title="Blog Posts">Blog</a></li>
<li class="community"><a href="/community" title="Community">Community</a></li>
<li class="resources"><a href="/resources" title="Resources">Resources</a></li>
<li class="survey"><a href="/survey" title="Survey">Survey</a></li>
</ul>
<div class="nav-mobile-link">
<a href="javascript:void(0);" id="nav-mobile-toggle"></a>

View File

@ -1,6 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
{% if page.name == "survey.md" %}
<meta http-equiv="refresh" content="0; url={{ page.redirect.to }}" />
<script type="text/javascript">
window.location.href = "{{ page.redirect.to }}"
</script>
<title>Redirecting...</title>
</head>
<body>
Redirecting to {{ page.redirect.to }}. If it doesn't load, click <a href="{{ page.redirect.to }}" />here</a>.
</body>
</html>
{% endif %}
{% if page.name != "survey" %}
<meta http-equiv="refresh" content="0; url=/docs/{{ site.latest }}/{{ page.destination }}" />
<script type="text/javascript">
window.location.href = "/docs/{{ site.latest }}/{{ page.destination }}"
@ -11,3 +24,5 @@
Redirecting to {{ page.destination }}. If it doesn't load, click <a href="/docs/{{ site.latest }}/{{ page.destination }}" />here</a>.
</body>
</html>
{% endif %}

5
site/survey.md Normal file
View File

@ -0,0 +1,5 @@
---
layout: page
title: Survey
redirect_to: https://buff.ly/2YYnEQX
---