GithubHelp home page GithubHelp logo

ftrcn / blog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fengzhichu/fengzhichu-theme

0.0 1.0 0.0 6.29 MB

A blog theme for Jekyll.

Home Page: https://fengzhichu.com/fengzhichu-theme/

License: MIT License

Ruby 0.67% HTML 7.52% CSS 51.95% JavaScript 39.36% Shell 0.49%

blog's Introduction

Fengzhichu Theme

A jekyll theme for personal blog which based on Type theme and ibireme's blog. Add several useful features. Fengzhichu Theme is powered by Jekyll and freely hosted in Github pages.

Check the live demo

Fengzhichu Theme Live Demo

Screenshots

Home page Pst page Archive page Category page About page

How to use it

  • Star & Fork the repo.
  • Rename repo as 'yourusername.github.io'.
  • You can delete gh-pages branch if you want.
  • Clone your master branch to local directory.
  • Custom the '_config.yml' to your style.
  • Install jekyll can refer 'ruby_install_by_rvm.sh', modify to suit your need.
  • Run jekyll serve -w.

Customization

###_config.yml Some important configurations.

  • imageurl: Randomly change image which display on top of site.
    • By default image changes everytime when open your site or reflash it. If you want to change image daily or weekly, just append '/daily' or 'weekly' to imageurl.
  • title: Display on browse tab.
  • hometitle: The first menu name of navigation bar.
  • yoursitetitle: Your LOGO place here.
  • visiblewords: Number of words which you want to display in post of homepage.
  • sechby:
    • category: "Posted in" #Words before Category name.
    • tag: "with" #Words before Tag name.
    • example: Posted in 'Category name' with 'Tag name'.

###Tags Add new tag.

  • Annotate your post entry front-matter block as usual:
---
layout: post
title: How To Use Tags And Categories On GitHub Pages Without Plugins
category: programming
tags: [github, github-pages, jekyll]
---
  • Add an entry in your _data/tags.yml for every tag.
- slug: github-pages
  name: GitHub Pages
  • Create a .md file which name is your Tag slug for every tag.
---
layout: blog_by_tag
tag: github-pages
permalink: /blog/tag/github-pages/
---

###Categories Similar as Tags.

Thanks

Enjoy

  • If you like, please star it. Thank you!
  • Enjoy it!

Copyright & License

Copyright (C) 2015 - Released under the MIT License.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

blog's People

Contributors

fengzhichu avatar iyongliang avatar

Watchers

Fatma Tercan 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.