ErbB4's Blog
Instructions
_config.yml
, line 38, changebio: "Neuroscience"
to whatever you like. It will show up in the first page of the website as a brief introduction.- Photo gallery:
a. All photos are stored in folder
_photos/photos/
. You can create folders. b. Photo titles and descriptions are set in_data/galleries/
. You can create files with extension.yml
. Each.yml
file will be displayed as a gallery. c. In this example, I created a file namedlife.yml
. d. Inlife.yml
I set the name of the gallery, which will be displayed as title of gallery. e.path_prefix
is the folder name of your photos in_photos/photos/
folder. In this example, my photos are stored in_photos/photos/life/
so I set it topath_prefix: "/life"
. f. Inlife.yml
, you can set photo path, title, and description.path
is the name of the image file, with extension.title
anddescription
will be displayed in the gallery. It can be empty. - If you want to create new galleries, simply create a new
.yml
file in_data/galleries/
folder. Remember to put your photos in_photos/photos/
folder.
For development
Just a heads up:
When I apply bundle install to this repo, an error about json 1.8.3 occurs. Simply remove Gemfile.lock fixes the problem.