https://github.com/mkkhedawat/clexy
Theme for Hexo ( Node.js Based Blog Framework )
https://github.com/mkkhedawat/clexy
hacktoberfest hexo hexo-theme nodejs
Last synced: about 1 month ago
JSON representation
Theme for Hexo ( Node.js Based Blog Framework )
- Host: GitHub
- URL: https://github.com/mkkhedawat/clexy
- Owner: mkkhedawat
- Created: 2017-07-20T19:16:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-06T16:08:47.000Z (about 6 years ago)
- Last Synced: 2024-05-20T09:22:17.056Z (11 months ago)
- Topics: hacktoberfest, hexo, hexo-theme, nodejs
- Language: CSS
- Homepage: https://mkkhedawat.github.io/
- Size: 1.74 MB
- Stars: 47
- Watchers: 3
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hexo-themes - mkkhedawat/clexy
README
# Clexy
> Clexy ( Customized-Flexy ) is a modern reponsive theme for [Hexo](https://hexo.io/).
## Demo
You can see the theme in action on my [website](https://mkkhedawat.github.io/)
## 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.```md
---
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 : "[email protected]",
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](https://mkkhedawat.github.io/)