Clexy ( Customized-Flexy ) is a modern reponsive theme for Hexo.
You can see the theme in action on my website
$ 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
- Change your
theme
variable toclexy
- 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
- 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
---
- 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 : "[email protected]",
github : "https://github.com/mkkhedawat",
stackoverflow : "https://stackoverflow.com/users/1608029/mkkhedawat",
sourceforge : "https://sourceforge.net/u/mkkhedawat/profile/"
}
- Add
author
andkeywords
meta tag in root's_config.yml
to be included for header file
author: Manish Kumar Khedawat
keywords: "pen, notes, coding, developer"
$ 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/
MIT © Manish Kumar Khedawat