summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Stanley <fungi@yuggoth.org>2018-09-04 17:16:19 +0000
committerJeremy Stanley <fungi@yuggoth.org>2018-09-05 13:18:25 +0000
commitb506aef83677282882bc8959acb4443976586e0c (patch)
tree12c91db07a2c4516ae30889410b6b0edc09a5378
parent757fca8c47b8567fd45245d77895d1b728a85cab (diff)
Add a "start" redirect
In support of print media (slides and brochures) use a short "start" URL which currently redirects to the ZFS tutorial but can also be repointed wherever we like if something better comes along. Update the Get Started button on the index page to use this URL so we don't need to change it in two places. Change-Id: I0edd947ace425dd5bd009f9055b269dbbbec9d30
Notes
Notes (review): Code-Review+2: James E. Blair <corvus@inaugust.com> Code-Review+2: Tobias Henkel <tobias.henkel@bmw.de> Code-Review+1: Vieri <15050873171@163.com> Workflow+1: Jeremy Stanley <fungi@yuggoth.org> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sat, 22 Sep 2018 15:53:54 +0000 Reviewed-on: https://review.openstack.org/599699 Project: openstack-infra/zuul-website Branch: refs/heads/master
-rw-r--r--www/.htaccess1
-rw-r--r--www/index.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/www/.htaccess b/www/.htaccess
new file mode 100644
index 0000000..1f98823
--- /dev/null
+++ b/www/.htaccess
@@ -0,0 +1 @@
redirectmatch 302 ^/start(/)?$ /docs/zuul/admin/zuul-from-scratch.html
diff --git a/www/index.html b/www/index.html
index 46623ba..b5d2c56 100644
--- a/www/index.html
+++ b/www/index.html
@@ -130,7 +130,7 @@
130 <div class="container"> 130 <div class="container">
131 <header> 131 <header>
132 <h2>Ready to explore Zuul?</h2> 132 <h2>Ready to explore Zuul?</h2>
133 <a href="https://zuul-ci.org/docs/zuul/admin/zuul-from-scratch.html" class="button">Get Started</a> 133 <a href="https://zuul-ci.org/start" class="button">Get Started</a>
134 </header> 134 </header>
135 </div> 135 </div>
136 </section> 136 </section>