Photography by JJ Walck
- Install Ruby v2 (if not already installed)
- Clone repository
cd
into repositorygem install bundler
bundle install
- To run:
bundle exec jekyll serve
with optional--incremental
flag
As of Jekyll 3.3,
_config.local.yml
is no longer needed.
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're done, run npm run check
to check it over.
Adding an image is easy enough, remember to add the semantic-ui responsive image classes .ui.fluid.image
. If you want to add a light border, use {: .ui.fluid.image.border}
[ Your image description, i.e., alt tag content ]( /path/to/image.jpg ){: .ui.fluid.image}
For an image with a caption use:
[![Example](https://example.org/image.png)](https://example.org)
[https://example.org](https://example.org){: .caption}
{: .ui.center.aligned.container }
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"
authors: <Your name here>
date: 2015-08-03 03:32:44
image: "/images/my-great-image.jpg"
image_url: <url/page associated with image>
image_credit: <name for image credit>
tags:
- jekyll
- template
categories:
- I love Jekyll
twitter_text: "How to install and use this template"
---
If the page has no image, image:
can be omitted entirely. A default system image will be used. If image_credit:
is specified, then image_url:
should also be specified.
TAGS: Check existing Tags here before creating new ones
The difference between single and multiple authors:
# single author
authors: <author name>
# multiple authors
authors:
- <First author>
- <Second author>
Using a Creative Commons image requiring attribution?
image: https://farm5.staticflickr.com/4103/5029857600_d8ed3aaa06_b_d.jpg
image_url: https://www.flickr.com/photos/khawkins04/
image_credit: Ken Hawkins
---
layout: author
author: Bill Boga
permalink: /bill-boga/
image: /images/default/annex-billboga.jpg
avatar: false
---
The last 2 items are optional; If the page has no image, image:
can be omitted entirely. A default system image will be used. You only need to include avatar: false
if omitting your avatar.