Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Moegi 2

Ghost Version Build & Push & Deploy GitHub release (latest by date)

Moegi 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 eive Content API Key and API URL.
  • Go to Code injection, put codes below into Site Header:
    <script>
    const config = {
      api: {
        url: 'Your API URL',
        contentKey: 'Your Content API Key',
      }
    }
    </script>
    The above is required content, if you need more custom configuration, please skip to Configuration.
  • 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'
You can’t perform that action at this time.