mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-21 17:26:55 +01:00
routing rules tweaks
This commit is contained in:
parent
39cd8e703b
commit
f720d52dbe
@ -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>
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user