Moegi 2
An elegant & fresh ghost theme.
Download
Stable Build
The version with major updates. Go to Releases to download stable version.
Nightly Build
Every commit in this branch will be built and tested automatically by Github Actions. Go to dist branch or directly download the newest zip.
Usage
- Download the theme and Upload to the Ghost Admin. (under
Design
) - Add a custom integration under
Integrations
, then you can rec eiveContent API Key
andAPI URL
. - Go to
Code injection
, put codes below intoSite Header
:
The above is required content, if you need more custom configuration, please skip to Configuration.<script> const config = { api: { url: 'Your API URL', contentKey: 'Your Content API Key', } } </script>
- Activate the theme.
Configuration
The Moegi theme is configured by declaring a config
object in Site Header
, for example:
<script>
const config = {
api: {
url: 'Your API URL',
contentKey: 'Your Content API Key',
},
primaryColor: '#86B81B',
feed: 'Pure',
darkMode: 'auto',
}
</script>
Name | Description |
---|---|
api |
required |
primaryColor |
Optional. Custom theme color, default is '#86B81B' (* Only HEX format supported) |
feed |
Optional. Customize the style of the home page article list with optional values of 'Pure', 'Note'. default is 'Pure' |
darkMode |
Optional. Customize whether the dark mode follows the system or not, effective for all viewers. Optional values are 'light', 'dark', default value is 'auto' |