cmchap / attila

Ghost Theme

Home Page:https://attila.peteramende.de/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Attila

A content focused responsive theme for Ghost. See a demo at: attila.peteramende.de

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

πŸ“· Screenshots

⭐️ Features

  • Responsive layout
  • Dark Mode
  • Search & Popular Tags
  • Post reading progress
  • Code highlight including line numbers
  • Disqus support
  • Member menu buttons

🌍 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

  1. Go to Integrations.
  2. Choose Add custom integration, name it Search and choose Create. Copy the generated Content API Key.
  3. Go to Code injection.
  4. Add this to Site Header:
<script>
  var gh_search_key = 'API_KEY';
  var gh_search_migration = '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.peteramende.de/

License:MIT License


Languages

Language:SCSS 64.9%Language:Handlebars 20.9%Language:JavaScript 14.3%