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
派生数85
提交数39
已启用问题?
问题数11
打开的问题数4
拉请求数5
打开的拉请求数4
关闭的拉请求数3
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?