Skip to content
/ huno Public
forked from letiantian/huno

A responsible theme for Hexo, based on Ghost Uno theme

Notifications You must be signed in to change notification settings

RyderJKL/huno

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

如果在中国大陆使用该主题后,访问速度变慢,可以考虑注释掉source/css/uno.css的第一行。

Huno

Huno is a responsible theme for Hexo, and it is based on Uno.

Uno is a a minimal, responsive theme which is designed for Ghost.

Install

git clone git://github.com/someus/huno.git themes/huno

Huno performs well with Hexo 2.5.7.

Enable

Please modify theme setting in _config.yml to huno.

Update

cd themes/huno
git pull

Configuration

# Header
menu:
  Blog: /#blog
  About: /about
  Blogroll: /blogroll

# Site favicon
favicon: /favicon.png

# Site logo
logo: /avatar.png

# Enable Fancybox
fancybox: true

Add Google analysis code

Switch your current directory to /{your}/{path}/{to}/{blog}/{archive}/{root} ######cd /themes/huno/layout/ Please add the code to layout/layout.ejs:

<!--  google analytics -->
<script>
  // add your google analytics code here
</script>

Enable Disqus

Should modify the '_config.yml' file under your blog root directory

Please modify disqus_shortname setting in _config.yml to your disqus short name.

Preview

The images below are in directory demo. When use the theme, please delete it!

Q&A

###Question 1:

   5|     <meta http-equiv="X-UA-Compatible" content="chrome=1">
   6| 
>> 7|     <%
   8|     var title = page.title;
   9|     var description = page.description || '';
   10| 
   
   Cannot call method 'substring' of null

Answer:
letiantian#1

About

A responsible theme for Hexo, based on Ghost Uno theme

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.2%
  • CSS 20.8%