Code Monkey home page Code Monkey logo

hexo-theme-minos's Introduction

Minos

A simple and retro styled Hexo theme, concentrated more on your ideas.

Minos - the Hexo theme

Installation

Install

$ git clone https://github.com/ppoffice/hexo-theme-minos.git themes/minos

Minos requires Hexo 3.0 and above.

Enable

Modify theme setting in _config.yml to minos.

Update

cd themes/minos
git pull

Configuration

Theme configuration example

# Header
menu:
  Home: /
  Archives: archives
  Categories: categories
  Tags: tags
  About: about
  Rss: /atom.xml

# Content
excerpt_link: Read More
toc: false
fancybox: true

# Miscellaneous
google_analytics:
favicon: /favicon.png

# Share
share_jia: false
share_addthis: true
  • excerpt_link - Cooperate with <!-- more --> tag to show only part of the article in index pages.
  • toc - Whether to show the table of contents in articles.
  • fancybox - Enable Fancybox.
  • google_analytics - Google Analytics ID.
  • favicon - Favicon path.

Don't forget to rename _config.yml.example to _config.yml to enable theme config!

Custom Categories & Tags & About Pages

To enable custom categories page, tags page and about page, just copy the categories folder, tags folder and about folder under your theme's _source foler into your site's source folder. Then edit theme's _config.yml and add the following lines:

# Header
menu:
  ...
  Categories: categories # -> add this line
  Tags: tags # -> and add this line
  About: about # -> and add this line
  ...

Languages

English and Simplified Chinese are the default languages of the theme. You can add translations in the languages folder and change the default language in site's _config.yml.

language: zh-CN

Features

Custom Categories & Tags Pages

Get your categories and tags listed in single pages to make your blog more methodic.

Responsive Layout

Minos knows on what screen size you are browsering the website, and reorganize the layout to fit your device.

Fancybox

Minos uses Fancybox to showcase your photos. You can use Markdown syntax or fancybox tag plugin to add your photos.

![img caption](img url)

Monokai Sublime Syntax Highlight

Thanks to Highlight.js.

Development

Requirements

Grunt tasks

hexo-theme-minos's People

Contributors

ppoffice avatar dexteryan avatar 201507 avatar

Watchers

James Cloos avatar Lusako Njwaba avatar

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.