Skip to content

A Jekyll based website for communicating with Unami Lodge, One members and the greater community.

Notifications You must be signed in to change notification settings

colbsa/UnamiLodge.org

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnamiLodge.org

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/.

Getting Started

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.)

Updating the Site

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.

Markdown and Liquid

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/

Posts

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.

Pages

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.

Images

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:

  • Post Thumbnails: 800x800
  • Post Banners: 800x345
  • Homepage Sliders: 4500x1500
  • Portals: 4500x900

Docker

The easiest way 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 jekyll .

and then the following to serve the website at 127.0.0.1:4000.

docker run --rm -v ${PWD}:/srv/jekyll -p 4000:4000 jekyll serve --host 0.0.0.0

Note: Updates to the Gemfile and Gemfile.lock will require rebuilding the Docker image

TODO

Items we are still working on

  • Posts
    • Later posts with the same name as an earlier post get overwritten when the site is built. This will need to be fixed in the next year before a lot of our yearly topics begin to overlap.
    • We're looking to add tags to make it easier for Lodge Members to sort through our news posts and better present our posts.
  • Images
    • Fine tune the quality of images displayed on the site - balance best compression, load times, and appearance.
    • Add alt tags for better accessibility and SEO.

About

A Jekyll based website for communicating with Unami Lodge, One members and the greater community.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published