Skip to content
Ghost Theme
CSS HTML JavaScript
Branch: master
Clone or download
Pull request Compare This branch is 18 commits ahead of zutrinken:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Initial rebranding to "Pegasus" Feb 6, 2020
assets Code text is now bold Feb 11, 2020
locales added czech translation Feb 10, 2020
partials Improvements to the blog layout Feb 7, 2020
src Code text is now bold Feb 11, 2020
.gitignore added zip Grunt task Sep 12, 2018
Gruntfile.js disable css map Jan 11, 2020
LICENSE Initial rebranding to "Pegasus" Feb 6, 2020
README.md Merge remote-tracking branch 'upstream/master' Feb 11, 2020
author.hbs edit locales and break search Jan 11, 2020
default.hbs Improvements to the blog layout Feb 7, 2020
index.hbs Improvements to the blog layout Feb 7, 2020
package-lock.json Increased progress bar height to 5px Feb 10, 2020
package.json Increased progress bar height to 5px Feb 10, 2020
page.hbs move scripts to post and page tempaltes Jan 26, 2020
post.hbs Merge remote-tracking branch 'upstream/master' Feb 20, 2020
tag.hbs

README.md

Pegasus

A content focused responsive theme for Ghost, based on Attila.

Screenshots

Features

  • Responsive layout
  • Search
  • Post reading progress
  • Disqus support
  • Code highlight support – Prism.js v1.19.0
  • LaTeX support – KaTeX v0.11.1
  • Dark Mode – In style.scss, replace prefers-color-scheme: no-preference with prefers-color-scheme: dark

Backlog

  • Dark Mode toggling

Localization

Setup Disqus

  1. Go to Code injection.
  2. Add this to Blog Header:
<script>var disqus = 'YOUR_DISQUS_SHORTNAME';</script>

Setup search

The search function is build with ghostHunter:

  1. Go to Integrations.
  2. Choose Add custom integration, name it ghostHunter and choose Create. Copy the generated Content API Key.
  3. Go to Code injection.
  4. Add this to Blog Header:
<script>
  var ghosthunter_key = 'PASTE_THE_GENERATED_KEY_HERE';
  //optional: set your custom ghost_root url, default is "/ghost/api/v2"
  var ghost_root_url = '/ghost/api/v2';
</script>

Development

Install Grunt:

npm install -g grunt-cli

Install Grunt dependencies:

npm install

Build Grunt project:

grunt build

The compress Grunt task packages the theme files into dist/<theme-name>.zip, which you can then upload to your site.

grunt compress

Copyright & License

Pegasus

Copyright (C) 2020 Christian Chomiak - Released under the MIT License.

Attila

Copyright (C) 2015-2020 Peter Amende - Released under the MIT License.

You can’t perform that action at this time.