Skip to content

moegi-design/ghost-theme-Moegi

Repository files navigation

Moegi 2

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

中文🇨🇳

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'
}
</script>
Name Description
api required
primaryColor Optional. Custom theme color, default is '#86B81B' (* Only HEX format supported)