Skip to content

mkkhedawat/clexy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Clexy

Clexy ( Customized-Flexy ) is a modern reponsive theme for Hexo.

Demo

You can see the theme in action on my website

Setting up

In Console

$ cd root-dir-for-hexo-blog
$ yarn
$ git clone https://github.com/mkkhedawat/clexy themes/clexy
$ yarn remove hexo-renderer-ejs
$ yarn add hexo-renderer-jade
$ yarn add hexo-prism-plugin

In root's _config.yml :

  • Change your theme variable to clexy
  • Add prism_plugin options
prism_plugin:
  mode: 'preprocess'    # realtime/preprocess
  theme: 'default'
  line_number: false    # default false
  • Make sure that default code highlight plugin is disabled.
highlight:
  enable: false

Post Variables

  • Add the intro variable to your YAML in your Markdown file.
  • Comments can be toggled with the comments boolean variable.
  • Add tag to post using tags variable.
---
title: 'Title Name'
date: 2017-06-01 21:56:56
tags:
- tag1
- tag2
intro : 'Enter intro here to display on home page'
comments: false
---

Optional Config

  • To configure about author page , add following tags in root's _config.yml. Remove the config key, you don't want.
about : {
  name : "Manish Kumar Khedawat",
  intro1 : "Full Stack Developer, Bosch",
  intro2 : "Alumni'14, IIT Kharagpur",
  linkedin : "https://in.linkedin.com/in/mkkhedawat",
  facebook : "https://www.facebook.com/mkkhedawat",
  twitter : "https://twitter.com/mkkhedawat",
  instagram : "https://www.instagram.com/mkkhedawat/",
  email : "writetomansa@gmail.com",
  github : "https://github.com/mkkhedawat",
  stackoverflow : "https://stackoverflow.com/users/1608029/mkkhedawat",
  sourceforge : "https://sourceforge.net/u/mkkhedawat/profile/"
}
  • Add author and keywords meta tag in root's _config.yml to be included for header file
author: Manish Kumar Khedawat
keywords: "pen, notes, coding, developer"

Booting up blog

$ hexo new page "articles"
$ hexo new page "author"
$ hexo new post "Title-1"
$ hexo new post "Title-2"

Add content and post variables to both posts, Later

$ hexo clean
$ hexo server

Open browser and navigate to http://localhost:4000/

License

MIT © Manish Kumar Khedawat

Releases

No releases published

Packages

No packages published