As you can see, this theme uses images in the header of every post.
If you don't have an image set and ready, you can select a placeholder image from unsplash that will show as background.
To do this, use the default card background image under theme options.
You can find examples on how to set desired unsplash image or set of images that will change upon reloading on unsplash
Basic usage instructions:
Change the logo in Themes » Casper 2.
Change social icons by writing your id after the site name in the theme configuration.
Change the favicon tagline text there too.
Create a page of type : blog and go to Advanced in the admin.
While you're there, in blog page
- Go to content tab
- Upload your own primary Image
- Hit save
The blog page should be blank, without any text.
Under blog page you can now create as many posts with page template
item as you want.
This is how you populate your blog.
In this theme you can also create a page of type : archive. Pages with type archive will list all your posts written so far.
This Grav theme is port of a MIT theme for ghost.
GPM Installation (Preferred)
The simplest way to install this theme is via the Grav Package Manager (GPM) through your system's Terminal (also called the command line). From the root of your Grav install type:
bin/gpm install casper
This will install the Gateway theme into your
/user/themes directory within Grav. Its files can be found under
To install this theme, just download the zip version of this repository and unzip it under
/your/site/grav/user/themes. Then, rename the folder to
You should now have all the theme files under
If you want to set Casper2 as the default theme, you can do so by following these steps:
- Navigate to
- Open the system.yaml file.
- Change the
- Save your changes.
- Clear the Grav cache. The simplest way to do this is by going to the root Grav directory in Terminal and typing
GPM Update (Preferred)
The simplest way to update this theme is via the Grav Package Manager (GPM). You can do this with this by navigating to the root directory of your Grav install using your system's Terminal (also called command line) and typing the following:
bin/gpm update casper
This command will check your Grav install to see if your Gateway theme is due for an update. If a newer release is found, you will be asked whether or not you wish to update. To continue, type
y and hit enter. The theme will automatically update and clear Grav's cache.
Manually updating theme is pretty simple. Here is what you will need to do to get this done:
- Delete the
- Download the new version of theme from this repository.
- Unzip the zip file in
your/site/user/themesand rename the resulting folder to
- Clear the Grav cache. The simplest way to do this is by going to the root Grav directory in terminal and typing
Grav has fantastic team, people that are very helpful and people that I probably bored to death,
or at least quite a lot to achieve what I want.
In Slack's chat room I bugged always helpful
Words cannot express how thankful I am to all of you. I'm the one to blame if anything is wrong,
And at last, but not least - Thank You if you're using this theme.