jdcauley / attila

Ghost Theme

Home Page:https://attila.zutrinken.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Attila

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

If you like this theme, you can buy me a coffee beer.

πŸ“· Screenshots

⭐️ Features

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

🌍 Localization

🎨 Setup custom color

  1. Go to Code injection.
  2. Add this to Blog Header:
<style>
  :root {
    --color-primary: #D95736;
    --color-primary-active: #BF4526;
  }
</style>

πŸ”  Setup custom google fonts

  1. Go to fonts.google.com and choose a font.
  2. Choose Embed and copy the <link> code.
  3. Go to Code injection.
  4. Add this to Blog Header:
<link href="https://fonts.googleapis.com/css2?family=Mukta&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Crimson+Text&display=swap" rel="stylesheet">
<style>
  :root {
    --font-primary: 'Mukta', sans-serif;
    --font-secondary: 'Crimson Text', serif;
  }
</style>

πŸ’¬ 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.

About

Ghost Theme

https://attila.zutrinken.com/

License:MIT License


Languages

Language:CSS 55.6%Language:JavaScript 27.7%Language:HTML 16.6%