Skip to content

uvinw/attila

This branch is 3 commits ahead of, 260 commits behind zutrinken/attila:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

037f634 Β· Feb 7, 2021
Jan 13, 2020
Feb 7, 2021
Jul 1, 2020
Jul 28, 2020
Feb 7, 2021
Sep 12, 2018
Jun 30, 2020
Jan 5, 2019
Jul 2, 2020
Jul 28, 2020
Jan 11, 2020
Jul 28, 2020
May 30, 2020
Jul 16, 2020
Jul 1, 2020
May 5, 2020
Feb 7, 2021
May 5, 2020

Repository files navigation

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.

Packages

No packages published

Languages

  • SCSS 68.2%
  • Handlebars 19.4%
  • JavaScript 12.4%