Coder Social home page Coder Social logo

clexy's Introduction

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 : "[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

clexy's People

Contributors

mkkhedawat avatar manish3099 avatar

Watchers

James Cloos 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.