I’m a n00b to Ghost and - in all transparency - development inept. My expertise is in networking and security - not code.
I’ve downloaded and attempted to modify the Journal theme to change the Copyright information that’s displayed at the bottom of each page. I’m lost. I am not savvy with HTML/CSS/etc.
I located the section in the default.hbs file where the copyright information is located:
I want to specify a company name instead of the site title. I’ve tried several times and each time I attempt to upload the modified theme, either the theme is broken, or I get an error message.
Would someone please give me a hand with this change?
So you’ll want to remove all of this, including the {{ }} and add your new text. Then zip and upload. If that’s not working, please post your edit and the actual error message.
Removed: {{@site.title}}
Added: 'APRS Foundation Inc'
Same result as the first attempt
Third attempt - with double-quotes
Removed: {{@site.title}}
Added: "APRS Foundation Inc"
Same result as the first attempt
Fourth attempt - added curly braces
Removed: {{@site.title}}
Added: {{APRS Foundation Inc}}
I received the following message when uploading the theme package:
Fatal: Templates must contain valid Handlebars
Oops! You seemed to have used invalid Handlebars syntax. This mostly happens when you use a helper that is not supported.
See the full list of available helpers here.
Affected files:
default.hbs: Missing helper: “APRS”
I have a second Ghost site running the Casper theme and I found another document that covered how to make the change specifically for the Casper theme. It was a trivial change and it just worked.
Please let me know your thoughts. Again, I really appreciate the support!
Your first attempt should have worked. I’m suspecting an error in getting the theme zipped up or an accidental stray character (<? ) that broke something…