A Jekyll based website for communicating with Unami Lodge, One members and the greater community.
This site is built on our servers by Jekyll. If you are not familiar with Jekyll we recommend starting with Jekyll Docs at jekyllrb.com/docs/.
Because this is a static site, most of the development can be done locally on your own computer. The most difficult part is installing the software that powers Jekyll - Ruby. Updates can be made to the site without this, but then all of the testing will need to happen on the development server. (Generally speaking this just means making sure there are no typos in links and image sources.)
Anyone who wants to is more than welcome to fork our repository, make their changes, and submit pull requests to our development (staging) branch. Reviews may take a few minutes up to 2 days under most circumstances.
We strive to use markdown and only markdown wherever possible on this site. Our favorite guide for markdown is https://guides.github.com/features/mastering-markdown/
Liquid is the template language we use. It's not used in any normal page, but it is the skeleton that Jekyll uses. So far my favorite resource for liquid is here https://shopify.github.io/liquid/
Post creation is one of the most common updates made to this website and repository (or at least it will be once we are satisfied with the features it offers). Before making a post, we recommend you take a look at earlier posts as guides on how to format your post. Please use the post that closest matches what you want and use that as your template. Images for all posts are pulled from /img/posts/ with post banners and thumbs coming from their respective directories. Banners are not required but thumbs and excerpts are for now.
All pages (excluding posts and individual chapter pages) will be found primarily sourced from the root directory and in a markdown file.
Many of our pages are highly data driven, and you will find the data in those pages in /_data/. These are formatted in YAML and are easier to update than it sounds.
All of our images are included, compressed, and resized by Jekyll Picture Tag.
We have standardized on using the PNG file format. Some standard sizes (in pixels) we designed around are:
The easiest way at the moment to run this locally is using the Dockerfile located in this repo. It can be used by running the following to build an image:
docker build . -t YOUR-USERNAME/jekyll
and then the following to start a container. Note the first time running the following with take a few minutes.
docker run --rm --label=jekyll -v ${PWD}:/srv/jekyll -v jekyll-cache:/usr/local/bundle -v jekyll-gems:/usr/gem -it -p 4000:4000 YOUR-USERNAME/jekyll jekyll serve
Items we are still working on