GithubHelp home page GithubHelp logo

allofu-ghost-theme's Introduction

Allofu Build Status

This theme based on crisp theme by Kathy Qian.

该主题基于Kathy Qiancrisp主题。

License

CC BY-NC-SA 4.0 知识共享许可协议

安装步骤

  1. 下载文件
  2. allofu/partials/comments.hbs 中添加你的评论服务
  3. allofu/partials/follow.hbs 中设置你的个人信息链接图标
  4. 将 "allofu-ghost-theme" 文件夹添加到你的Ghost的 content/themes 文件夹中
  5. 从Ghost管理面板中选择主题

Required Steps for Installation

  1. Download the files
  2. Add your comments service in allofu/partials/comments.hbs
  3. Configure the follow buttons in allofu/partials/follow.hbs
  4. Add the "allofu-ghost-theme" folder to the content/themes directory of your Ghost installation
  5. Select the theme in the settings page of your Ghost admin panel

自定义

  • allofu/assets/css/allofu.css 中的 第89行,第160行,第200行 更改你的链接,个人信息链接图标以及文章标签的颜色
  • allofu/default.hbs 中的{{ghost_foot}}后添加你的Google Analytics
  • 将 “fav.ico” 添加到 allofu/assets 文件夹可修改浏览器标签小图标
  • allofu/default.hbs line 26 中可设置代码高亮配色方案(默认为solarized_dark)

Customizations

  • Change the link, follow-icon and tag color on line 89, line 160 and line 200 in allofu/assets/css/allofu.css
  • Add code for Google Analytics in allofu/default.hbs after {{ghost_foot}}
  • Add your favicon "fav.ico" to allofu/assets
  • Setting your code highlight theme in allofu/default.hbs line 26 (solarized_dark by default)
    • For other available styles look into the highlight.js styles directory (and don't forget to add ".min" before ".css").

Use code highlight/使用代码高亮

<pre><code>...</code></pre>

or

<pre><code class="html">...</code></pre>

Turn to https://highlightjs.org/usage/ for more information.

前往 https://highlightjs.org/usage/ 获取更多信息。

Changelog

ver 0.0.4 — Jul 30, 2017

  • migrating to ghost 1.0

ver 0.0.3 — Mar 10, 2015

  • replace local fonts and font-awesome
  • replace prettify.js with highlight.js for easier use

ver 0.0.2 — Nov 2, 2014

  • add code highlight support (google-code-prettify)
  • doxy theme by default

ver 0.0.1 — Nov 2, 2014

  • Initial release
  • local fonts & follow-icon

allofu-ghost-theme's People

Contributors

ihchiz avatar

Stargazers

 avatar

Watchers

 avatar  avatar

allofu-ghost-theme's Issues

Ghost 1.0 相关变动

Ghost 1.0 进行了相关改动,需要相应调整。

  • 页面显示博文数量不再由 ghost 配置管理,由主题控制,否则默认为 5

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.