2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00

Setting Ghost logo to correct URL

This commit is contained in:
Hannah Wolfe 2014-06-24 00:24:13 +01:00
parent 8235e83b8d
commit 72b3b3ceb1
3 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<header id="global-header" class="navbar">
<a class="ghost-logo" href="/" data-off-canvas="left" title="/">
<a class="ghost-logo" {{bind-attr href=ghostPaths.blogRoot title=ghostPaths.blogRoot}} data-off-canvas="left">
<span class="hidden">Ghost</span>
</a>
<nav id="global-nav" role="navigation">

View file

@ -15,6 +15,7 @@ function ghostPaths() {
return {
subdir: subdir,
blogRoot: subdir + '/',
adminRoot: subdir + '/ghost',
apiRoot: subdir + '/ghost/api/v0.1',

View file

@ -47,8 +47,8 @@ adminControllers = {
var userData,
// config we need on the frontend
frontConfig = {
fileStorage: config().fileStorage,
apps: config().apps
apps: config().apps,
fileStorage: config().fileStorage
};
if (req.session && req.session.userData) {