Version: 1.0.0
Released: 13th Apr, 2022
Changelog: See bottom of the page
Thunder is a minimal newsletter, blog & Magazine ghost theme. This theme will hit your readers like thunder. Not in that way, but in a good and memorable fashion. Thunder is a modern theme to take your website to new heights. It works well for blogs and magazine-style websites.
thunder-1.0.0
thunder.zip
, routes file routes.yaml
& a txt
file containing the documentation linkyourblog.com/ghost
.thunder.zip
thunder.zip
To setup Homepage & Blog Layout you need to do the following:
The theme comes with a routes.yaml
file.
routes:
/:
data: page.home
template:
- home
collections:
/blog/:
data: page.blog
template:
- index
permalink: /{slug}/
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
which can be found in the downloaded folder. To upload the routes.yaml
file, follow the steps:
Go to Setting > Labs & Look for Upload ROUTES.YAML button & Click on that & you will be able to upload the file.
After uploading the routes file you will get 404 error in the home page. Don't panic! it was expected. Now complete the following step to fix that.
Homepage
home
Blog Layout Page
blog
yourdomain.com/blog/
.The Theme comes with some custom settings to setup the theme easily without dealing with codes. To access the those, go to Setting > Design. At the sidebar you will get those custom settings under site-wide
& homepage
.
The hero section gets the data from your Site Title, Site Description & Site Cover. But if you want to show different title & description at the Hero section, Than use the fields called Hero ttile
& Hero Description
under Homepage
Settings to override.
The Home page contains 3 sections:
1. Featured Stories:
Featured stories label
under Homepage
Setting.2. Recent Stories:
Recent stories label
under Homepage
3. Topics:
Topic Section displays 3 articles from each defined tag. You can define as many tags as you want in the topic section.
Tagged stories
under Homepage
Settings. & add the tag slugs as comma-separated valuesTagged stories label
under Homepage
In order to make the search functionality work we need to create Content API from ghost admin. To create Content API follow the steps:
From Ghost admin, click Integrations from the sidebar menu, then click + add custom integration.
Now, give the new integration a name, for example, Search and click Create.
Now the new Content API is Created. after created the page will look like below
Now go to Setting > Design, From left panel Expand Site Wide
& Put the Content Api Key to Search API key
field. Click Save & your search functionality will be working Just Fine.
Two-color schemes come with the theme. What color scheme should be used at the frontend is defined by the site owner. To define a color scheme for the site, use the field called Color scheme
under Site-wide
settings, & select the preferred color scheme for the site. Default is Light-mode.
To use table of contents layout in your post/page:
Primary Color
To change the themes primary color simply go to ghost admin > Setting > Branding, then Change the color from Accent color & it will change the themes primary color.
Color Variables
Here are the color variables that are used on the theme.
/* Colours */
--color-primary: var(--ghost-accent-color, #003b49);
--color-text-primary: #181818;
--color-text-secondary: #4c5b70;
--color-border: #ddd;
--color-bg-primary: #f8f9fc;
--color-success: #80b912;
--color-error: #f05230;
--color-white: #fff;
If you want to modify any default color then go the code Injection from Ghost admin & on site header customize the default color like below
<style>
:root {
/* Overriding the default color */
--color-success: green;
--color-border: gray;
}
</style>
Thunder supports Ghost i18n and comes with English translation. You can easily translate it to your desired language.
To use another available language than English, go to Admin > General > PUBLICATION INFO > Publication Language and enter the Language Code Reference.
Lets add a language that is not included in the theme. In this case we take German language as an example.. to do that go to your theme folder & look for locales folder
Then duplicate the en.json
tode.json
as de
is the German language code & replace the texts with your German Texts..
** 13th April 22 - Initial Release
If you need support please feel free send us an email at [email protected] or Send a DM/Tweet at Twitter @Visioun_