Add variable for whitepaper url

This commit is contained in:
Daniel 2019-07-11 15:02:54 +02:00
parent 348cf9e683
commit f82b6eb342
3 changed files with 3 additions and 2 deletions

View file

@ -35,6 +35,7 @@ download_url: "/download/"
community_hub_url: "/community-hub/"
contact_url: "/contact/"
blog_url: "/blog/"
whitepaper_url: "/files/whitepaper/"
defaults:
-

View file

@ -134,7 +134,7 @@ home: true
Technical Details
</button>
</a>
<a href="/files/whitepaper/Gate17.pdf" target="_blank">
<a href="{{ site.whitepaper_url }}Gate17.pdf" target="_blank">
<button class='ui safing-secondary right floated button'>
Whitepaper
</button>

View file

@ -22,7 +22,7 @@ They can be either created by users themselves or - most of the times - obtained
<h2>
Gate17
<a href="/files/whitepaper/Gate17.pdf" target="_blank">
<a href="{{ site.whitepaper_url }}Gate17.pdf" target="_blank">
<button class='ui safing-secondary right floated button'>
Whitepaper
</button>