layout | title |
---|---|
default |
README |
Here's how this works:
-
Make a folder for your project, essay, or interview. You can use one of the folders called
SAMPLE
as a guide. -
Folder naming conventions: interview-LAST NAME OF INTERVIEWEE-LAST NAME OF INTERVIEWER project-YOUR LAST NAME-ONE WORD PROJECT TITLE essay-AUTHOR LAST NAME
-
Create either an
index.html
file (for stuff you've designed yourself) orindex.md
file (to use our default styles, great for essays/interviews). -
Put in the appropriate information (title, author etc) at the top in YAML format. Look at the samples to see an example. The project won't show up yet unless it has a category of 'project,' 'interview,' or 'essay.'
-
Put all assets (images, code, etc) in that folder. TBD: Formatting of more complex or multi-page html
If you don't want to install Jekyll or deal with the terminal
-
Commit and push your changes
If you have Jekyll installed locally
-
Navigate to the htmloutput folder in the terminal and run
jekyll serve -w --baseurl ''
.Note that those are two regular straight quotes despite appearing like smart curly quotes in Anther's typeface. The
-w
means 'watch.' That means every time you make a change to a file, jekyll will runserve
and generate a site again. PressCtrl-C
to cancel watching, or just close the terminal window. The--baseurl ''
will set the baseurl to nothing, so you can view it locally. -
Visit localhost:4000
To install jekyll locally
-
Run
gem install jekyll
. If you get an error, trysudo gem install jekyll
and enter your password if prompted. -
Run
gem install kramdown
. If you get an error, trysudo gem install kramdown
and enter your password if prompted.