How to set the config.yml file
The config.yml file in the Freshman21 theme includes five parts.
First part is the site info.
title: Freshman21 # blog title
tagline: Another Jekyll theme, Freshman twenty-first # blog sub-titile
author: Lijia YU # author name
email: yu@lijiayu.net # author email
description: "Freshman21 is a Jekyll blog theme." # You can edit this line in _config.yml. It will appear in your document head meta and in
your feed.xml site description
keywords: "Jekyll, theme, Freshman21" # html meta keywords
baseurl: "/freshman21" # the subpath of your site, e.g. /blog
url: "http://yulijia.net/freshman21" # the base hostname & protocol for your site
Theme structure
1.The structure of freshman21 theme
You can see the simplest way of adding a page is just to add an HTML ( or markdown ) file in the root directory with a suitable name for the page you want to create. For example, aahome.md is the homepage link, about.md is the about page.
All sidebar boxes html files are in the _include
directory, their name begin with upper case. You can chose which sidebar boxes appears in the main page on the sidebar.html
in the _includes
directory.
How to install this theme
How to install Freshman theme?
# please make sure you have already installed git tools and ruby tools(gem)
$ gem install sass
$ gem install jekyll
$ git clone https://github.com/yulijia/freshman21.git
Then, change the folder name to you own github page name, forexample
$ mv freshman thisisyouname.github.io
Sample Post
I am a reindeer
Santa Claus’s reindeer form an imaginary team of flying reindeer
traditionally held to pull the sleigh of Santa Claus and help him deliver Christmas gifts.
I fired Santa this year, I didn’t need to deliver gifts on the night before Christmas!
Oh yeah... oh yeah... oh yeah, my lovely Christmas Eve `_>`
The commonly cited names of the reindeer are Dasher, Dancer, Prancer, Vixen, Comet, Cupid, Donner, and Blitzen.
They are based on those used in the 1823 poem “A Visit from St. Nicholas” (commonly called “The Night Before Christmas”), which is arguably the basis of reindeer’s popularity as Christmas symbols, and in which Donner and Blitzen were originally called Dunder and Blixem respectively