odin

A simple theme for Ghost made for geeks, hackers and developers (forked from Casper).

  • 所有者: h4t0n/odin
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Odin

Ghost version
Donate

A simple theme for Ghost made for geeks, hackers and developers (forked from Casper).

Do you like my theme?
Some :coffee::coffee::coffee::coffee: offered with Paypal are appreciated.

Intro

Odin is a very simple fork of the Ghost default theme Casper.
As you know, Casper doesn't have some nice features very useful for developers such as syntax
highlight, comments and big social sharing features. So I created this theme to fill the gap
but keeping all the good and minimalistic features of Casper.

Features

  • Casper minimalistic and clean style (without right side menu)
  • Works with Ghost 2+
  • Fully responsive (for mobiles and tablets)
  • Home Page Navigation Menu Buttons
  • Google Analytics (easily configurable by code injection in the admin area)
  • Disqus comments (easily configurable by code injection in the admin area)
  • Prism Syntax Highlight (all languages supported)
  • RRSSB Extraordinary Social Sharing Buttons
  • Font Awesome home page Social Link Icons (easily configurable by code injection in the admin area)

Installation

Installation is the same as other themes, so clone or download the content of this repo inside your Ghost content/themes/ folder.

# for example
$ cd /your-ghost-root-directory
$ git clone https://github.com/h4t0n/odin.git content/themes/odin

Restart Ghost and select Odin theme from your Admin Area.

Configuration

No need to configure Prism or RRSSB buttons.

To add Homepage Navigation Menu Buttons simply add the links in your Navigation Admin Area. They may be useful for static pages (AboutMe for example) or for shortcut to your (best) post tags.

Odin comes with a default favicon generated with Real Favicon Generator. If you want to add your favicon you can generate your own (with Real Favicon Generator) and place downloaded files inside the assets/img/favicons Odin directory.

Disqus comments, Google Analytics and Font Awesome Home Page Social Link Icons are disabled by default, but they are easily configurable with Blog Header Code Injection inside your Ghost Admin Area.

<script>
// to enable Google Analytics
var ga_id = 'YOUR-UA-ID_HERE';

// to enable Disqus
var disqus_shortname = 'YOUR_DISQUS_SHORTNAME'


// to enable Social Link Icons add the social_link object
// with the pair key/value -> social_network/link
// NB: the key is used to include the right icon from Font Awesome
// (you can include any Font Awesome icon)

// Example1: default social network icons
var social_link = {
    'twitter': 'https://twitter.com/h4t0n',
    'linkedin': 'https://it.linkedin.com/in/andreatarquini',
    'github': 'https://github.com/h4t0n',
    'rss':'https://blog.h4t0n.com/rss/'
    // you can add more icons
}

// Example2: squared social network icons
var social_link = {
    'twitter-square': 'https://twitter.com/h4t0n',
    'linkedin-square': 'https://it.linkedin.com/in/andreatarquini',
    'github-square': 'https://github.com/h4t0n',
    'rss':'https://blog.h4t0n.com/rss/'
    // you can add more icons
}

</script>


Released under the MIT License.
Copyright (c) 2016 Andrea Tarquini aka @h4ton
Copyright (c) 2013-2015 Ghost Foundation (for Casper theme substantial portions of code)

主要指標

概覽
名稱與所有者h4t0n/odin
主編程語言CSS
編程語言CSS (語言數: 3)
平台
許可證MIT License
所有者活动
創建於2016-01-10 21:46:04
推送於2020-01-04 17:19:03
最后一次提交2020-01-04 18:19:02
發布數5
最新版本名稱v1.3.0 (發布於 )
第一版名稱v1.0.0 (發布於 )
用户参与
星數285
關注者數9
派生數84
提交數39
已啟用問題?
問題數11
打開的問題數4
拉請求數5
打開的拉請求數4
關閉的拉請求數3
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?