Coder Social home page Coder Social logo

huno's Introduction

如果在**大陆使用该主题后,访问速度变慢,可以考虑注释掉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

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.