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:
parent
8235e83b8d
commit
72b3b3ceb1
3 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
<header id="global-header" class="navbar">
|
<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>
|
<span class="hidden">Ghost</span>
|
||||||
</a>
|
</a>
|
||||||
<nav id="global-nav" role="navigation">
|
<nav id="global-nav" role="navigation">
|
||||||
|
|
|
@ -15,6 +15,7 @@ function ghostPaths() {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
subdir: subdir,
|
subdir: subdir,
|
||||||
|
blogRoot: subdir + '/',
|
||||||
adminRoot: subdir + '/ghost',
|
adminRoot: subdir + '/ghost',
|
||||||
apiRoot: subdir + '/ghost/api/v0.1',
|
apiRoot: subdir + '/ghost/api/v0.1',
|
||||||
|
|
||||||
|
|
|
@ -47,8 +47,8 @@ adminControllers = {
|
||||||
var userData,
|
var userData,
|
||||||
// config we need on the frontend
|
// config we need on the frontend
|
||||||
frontConfig = {
|
frontConfig = {
|
||||||
fileStorage: config().fileStorage,
|
apps: config().apps,
|
||||||
apps: config().apps
|
fileStorage: config().fileStorage
|
||||||
};
|
};
|
||||||
|
|
||||||
if (req.session && req.session.userData) {
|
if (req.session && req.session.userData) {
|
||||||
|
|
Loading…
Reference in a new issue