VietStack Technical Blog - Based on Will Jekyll Template - Demo
- Install Jekyll
- Fork the Will Jekyll Template
- Clone the repo you just forked.
- Edit
_config.yml
to personalize your site. - Check out the sample posts in
_posts
to see examples for assigning categories and tags, and other YAML data. - Read the documentation below for further customization pointers and documentation.
- Remember to compile your assets files with Gulp.
You have to fill some informations on _config.yml
to customize your site.
# Site settings
description: A blog about lorem ipsum dolor sit amet
baseurl: "" # the subpath of your site, e.g. /blog/
url: "http://localhost:3000" # the base hostname & protocol for your site
# User settings
username: Lorem Ipsum
user_description: Anon Developer at Lorem Ipsum Dolor
user_title: Anon Developer
email: [email protected]
twitter_username: lorem_ipsum
github_username: lorem_ipsum
gplus_username: lorem_ipsum
disqus_username: lorem_ipsum
Don't forget to change your baseurl before build your site!
All color variables are in src/styl/variable
. To change the main color, just set the new value at main
assignment. Another colors are for texts and the code background color.
You can use the initpost.sh
to create your new posts. Just follow the command:
./initpost.sh -c Post Title
The new file will be created at _posts
with this format date-title.md
.
When you create a new post, you need to fill the post information in the front-matter, follow this example:
---
layout: post
title: "How to use"
date: 2015-08-03 03:32:44
image: '/assets/img/post-image.png'
description: 'First steps to use this template'
tags:
- jekyll
- template
categories:
- I love Jekyll
twitter_text: 'How to install and use this template'
---
In order to compile the assets and run Jekyll on local you need to follow those steps:
- Install NodeJS
- Run
npm install
- Run
gulp
This theme is free and open source software, distributed under the The MIT License. So feel free to use this Jekyll theme on your site without linking back to me or using a disclaimer.