Welcome to the ~code~
behind my blog!
-
In terminal, navigate to the directory where your
brooke-blog
source code is located. -
Run the command
bundle exec jekyll serve --verbose
. -
After about 3 seconds or so, there should be a comment that looks something like this:
[2022-04-21 18:18:54] DEBUG Jekyll::Commands::Serve::Servlet is mounted on . Server address: http://127.0.0.1:4000/
-
Open that server address into your browser of choice. (I think it usually is http://127.0.0.1:4000/ but not 100% sure if thats always the case🤷🏼♀️)
- Save your file, then wait another 3 seconds or so.
- Your changes should be visible again on the page. Sometimes, if you change an asset though, you might need to Ctrl+C and start again from step 1.
- Run the command
bundle exec jekyll serve --verbose
. This will update thedocs
folder. - Push the compiled
docs
folder to GitHub.
As you can see, I forked the template from the Mundana theme by WowThemes.net. While I did make a fair amount of changes (are all documented in the commit history) to tailor it to my needs, I am very grateful for Sal's work to create this theme. It is the only free, Medium-looking template I'm aware of, and its really beautiful.
If you like my alterations of the template (minimalistic front page, coursework page, etc.) you are also welcome to use it, but please ensure that Sal (original template creator) and I are both credited somewhere.
If I'm not able to take a photo myself, these are some good resources for free images that can be used without copyright:
by Stefan Weck, edited to pink and changed JS for my needs
code by Geoff Graham, edited to pink, originally seen on Ayaka B. Ito.
Google Fonts used, referenced from TypeWolf's Definitive Guide to Free Fonts.
The blurb for Citations and Reuse at the bottom of each blog post was inspired by a similar one I saw on Piping Hot Data. Although I wrote all the code to implement it on mine.