Code Monkey home page Code Monkey logo

hexo-theme-ingenuous's Introduction

Ingenuous

A simple Hexo theme for engineering blogs based on a brand new default theme Landscape.

Demo

  • Optimized mobile layout that to show more information in narrow display.
    • Most of changes of layout are intended to fit with engineering blogs.
  • Added link to scroll to widget in mobile nav.
  • Added shared counts display at each post header.
  • Added Hatena Bookmark(social bookmark service in Japan) button and remove some buttons in share tags.
  • Added about widget to sidebar.
  • Added pagination in archives page.
  • Supported keywords meta tag in front-matter(just for compatibility to octopress: even maybe legacy feature ;-)
  • Supported TOC(table of contents) insertion to article. (enable in front-matter)
  • Removed top banner and modified layout only a little.
  • Be able to disable searh form by _config.yml.

Installation

Install

$ git clone https://github.com/kwhrtsk/hexo-theme-ingenuous.git themes/ingenuous

Ingenuous requires Hexo 2.4 and above.

Enable

Modify theme setting in _config.yml to ingenuous.

Update

cd themes/ingenuous
git pull

Configuration

# Header
menu:
  Home: /
  Archives: /archives
rss: /atom.xml

# Content
excerpt_link: Read More
fancybox: true

# Sidebar
sidebar: right

# Search form
search: true

widgets:
- about
- category
- tag
- tagcloud
- archives
- recent_posts

# Miscellaneous
google_analytics:
google_adsense:
google_adsense_label:
google_adsense_article_unit:
favicon: /favicon.png
twitter:
google_plus:

aboutme:
about:
  author: true
  twitter: true
  aboutme: true
  description: true

common_keywords:

These are default values.

If you want to override in your settings, you must add settings to your _config.yml like the followings:

theme_config:
  rss: /feed.xml
  fancybox: false

NOT LIKE THIS:

rss: /feed.xml
fancybox: false

Configuration Items

  • menu - Navigation menu
  • rss - RSS link
  • excerpt_link - "Read More" link at the bottom of excerpted articles. false to hide the link.
  • fancybox - Enable Fancybox
  • sidebar - Sidebar style. You can choose left, right, bottom or false.
  • search - Enable or disable search form.
  • widgets - Widgets displaying in sidebar
  • google_analytics - Google Analytics ID
  • google_adsense - Google Adsense script tags to put into head
  • google_adsense_label - Label text before ad unit(default: Sponsored Links)
  • google_adsense_article_unit - Ad unit code to put on bottom of article
  • favicon - Favicon path
  • twitter - Twiiter ID
  • google_plus - Google+ ID
  • aboutme - Text to display on about widget
  • about - Enable switches for contents in about widget
  • common_keywords - Default keywords included in keyword meta tag. (typically, blog title and author)

Features

Fancybox

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

![img caption](img url)

{% fancybox img_url [img_thumbnail] [img_caption] %}

Sidebar

You can put your sidebar in left side, right side or bottom of your site by editing sidebar setting.

Ingenuous provides 6 built-in widgets:

  • about
  • category
  • tag
  • tagcloud
  • archives
  • recent_posts

All of them are enabled by default. You can edit them in widget setting.

Development

Requirements

Grunt tasks

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.