Hacker

A simple style theme for Hexo

3 years after

Hacker | 中文版文档

Hacker is a simple style of theme for blog, hoping you focus on writing more rather than the typesetting.

At first, moyo designed and built it for Wordpress.
Later, DaraW ported it to Hexo.

Demo

You can also reference my blog: DaraW

Installation

Firstly get all the theme files, git clone or download zip is okay.

Create a folder Hacker in the folder themes, and copy all the theme files to the folder Hacker.

Then apply the theme in hexo global configuration file _config.yml:

theme: Hacker

Now all is in order, just enjoy~

Notice: After every update, you'd better run command hexo clean to clean cache files before Hexo generating, in case of some problems cache files bring.

Configure

In the theme configuration file _config.yml:

# duoshuo comment
duoshuo: true
duoshuo_name:

# disqus comment
disqus: false
disqus_shortname:

# google analytics
googleTrackId:

duoshuo: boolean, use duoshuo or not;
duoshuo_name: string, your duoshup ID, please don't use other people's IDs。

disqus: boolean, use disqus or not;
disqus_shortname: your disqus site shortname.

googleTrackId: your Google Analytics ID, Hacker will not use Google Analytics if it's empty.

Update

v1.0

  • fix bug caused by subdirectory(issue#10)
  • fix display of code tag

v0.3

  • Refactor ejs template files
  • Replace css with stylus
  • Add English Version README

v0.2

  • Remove some useless css
  • Fix bug that icon still shows when there are no categories or tags
  • Rewrite the archive index page
  • Change the display of code block

License

GPL(General Public License)

Related Repositories

hacker-menu

hacker-menu

Hacker News Delivered to Desktop :dancers: ...

hacker-top

hacker-top

A top-like program for monitoring hacker news from the console ...

hacker-news-digest

hacker-news-digest

:newspaper: A responsive interface of hacker news with summaries and illustratio ...

Cleaner-Hacker-News

Cleaner-Hacker-News

A CSS stylesheet that can be used to improve the look and legibility of Hacker N ...

React-hacker-news

React-hacker-news

Hacker News site using React.js (Fully responsive site) ...


Top Contributors

CodeDaraW jw8957 sunshinewu