I've tried to make the setup process as easy as possible, the steps should be straightforward. If you stumble upon a problem, don't hesitate to contact me.
The first, most obvious step is to install the theme. Grab your download and follow the steps below.
Click the settings icon.
Select "Theme".
Click the "Upload a theme" button and drag and drop the zip file. You can then "Activate" the theme.
We'll now go through some technical stuff. First search for the preferences.json
file in your directory, if you've installed Ghost manually.
setPreferences({
"links": {
"discord": "<https://www.google.com>",
"discordID": "",
"server": "play.sparox.net",
"serverPORT": ""
},
"content": {
"refGuides": true,
"refStore": true,
"textFooterOverride": ""
},
"settings": {
"darkmodeDefault": true,
"darkmodeToggle": false,
"darkmodeSystem": false,
"showPlayerCount": false
}
});
You can enter your Discord link and the server IP at this place. The variables refGuides and refStore keep wether to reference/show the Guides and Store. In order for a Guides block to appear you need to have a page with a page URL: /guides/
.
The next step might be the most important. Please create a new file called routes.yaml
on your computer and copy paste the code below. This code basically prevents collapsible and selector posts from showing up on your homepage, more on that in Templates.
routes:
collections:
/:
permalink: /{slug}/
template: index
filter: tag:-collapsible+tag:-selector
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
Then head over to Theme Settings > Labs > Routes > Upload Routes YAML, and upload the routes.yaml
file you copied.
In order for the changes to go through, you'll need to restart ghost. Please go through the following steps.
First log in to your VPS console. Then run the following commands one by one.