Code Monkey home page Code Monkey logo

attila's Introduction

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.

attila's People

Contributors

zutrinken avatar marcozehe avatar daskepon avatar aareksio avatar matheusvanzan avatar vince2bir avatar simplyeazy avatar martenj77 avatar cdorin93 avatar schamberg97 avatar cagriguerbuez avatar vaneves avatar sebhofmann avatar hao-lee avatar fmaida avatar arthurnoerve avatar aaronmcox avatar rohmanhakim avatar mythicaleinhorn avatar dependabot[bot] avatar irons0ul avatar lunakv avatar shaunmp avatar robink avatar pjk avatar lucashalbert avatar guillaumerz avatar dzheky avatar creatorrr avatar dcanones avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.