Skip to content

bengtfredh/attila

 
 

Repository files navigation

Attila

A content focused responsive theme for Ghost. See a demo at: attila.zutrinken.com

If you like this theme and want to support future development you can become a financial contributor.

Screenshots

Features

  • Responsive layout
  • Dark Mode
  • Search
  • Post reading progress
  • Code highlight including line numbers
  • Disqus support

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

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

Packages

No packages published

Languages

  • CSS 56.7%
  • JavaScript 23.5%
  • HTML 19.8%