Use absolute frontend URL in admin

closes #5288

- use the config.blogURL as the frontend URL from the admin
- we know this is given to us without a trailing slash, so it's 100% safe to hard code this
- TODO: make all of the url generation a lot nicer i.e. #1833
This commit is contained in:
Hannah Wolfe 2015-05-20 21:09:31 +01:00
parent b72338840d
commit 9a9fbd906a

View File

@ -1,6 +1,6 @@
<nav class="global-nav" role="navigation">
<a class="nav-item ghost-logo" href="{{gh-path 'blog'}}" title="Visit blog">
<a class="nav-item ghost-logo" href="{{config.blogUrl}}/" title="Visit blog">
<div class="nav-label"><i class="icon-ghost"></i> <span>Visit blog</span> </div>
</a>