1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 01:36:55 +01:00

routing rules tweaks

This commit is contained in:
Matthias Kretschmann 2018-04-06 12:00:31 +02:00
parent 39cd8e703b
commit f720d52dbe
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 8 additions and 20 deletions

View File

@ -21,38 +21,25 @@
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>features/#usecases</ReplaceKeyPrefixWith>
<HttpRedirectCode>301</HttpRedirectCode>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>getstarted/</KeyPrefixEquals>
<KeyPrefixEquals>getstarted/index.html</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>developers/getstarted</ReplaceKeyPrefixWith>
<ReplaceKeyPrefixWith>developers/getstarted/</ReplaceKeyPrefixWith>
<HttpRedirectCode>301</HttpRedirectCode>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>developers/</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>developers/getstarted</ReplaceKeyPrefixWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>guide/</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>developers/guide/</ReplaceKeyPrefixWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>guides/</KeyPrefixEquals>
<KeyPrefixEquals>guides/index.html</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>developers/guides/</ReplaceKeyPrefixWith>
<HttpRedirectCode>301</HttpRedirectCode>
</Redirect>
</RoutingRule>
<RoutingRule>
@ -61,6 +48,7 @@
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>services/</ReplaceKeyPrefixWith>
<HttpRedirectCode>301</HttpRedirectCode>
</Redirect>
</RoutingRule>
</RoutingRules>

View File

@ -28,7 +28,7 @@ layout: base
</header>
</div>
<div class="row row--wide">
<div class="grid grid--full grid-small--half grid-medium--third grid--gutters">
<div class="grid grid--full grid-small--half grid-medium--third grid--gutters--small">
{% for guide in site.guides limit: 6 %}
{% unless page.id == guide.id %}
<div class="grid__col">