Skip to content

flynnbops/flynnbops.github.io

Repository files navigation

Repo to store my personal blog

Built using Jekyll and hosted on GitHub pages at https://flynnbops.github.io/

Build locally

Site is available on http://127.0.0.1:4000/. Changes to posts are automatically picked up.

Using locally installed ruby

Run bundle exec jekyll serve to build the site.

Using Docker

  1. docker build -t jekyll .
  2. docker run -p 4000:4000 -v .:/src jekyll

To shutdown the container:

  • docker stop {containerID}

Edit drafts

Drafts are files that do not include a date in their filename. Stored in /drafts.

Build the site with the drafts flag to Run bundle exec jekyll serve --drafts. The currently edited draft post is automatically the latest post.

Linking to other posts

Use the jeykll link to define a relative path from the root directory to the link. Not a relative path from the file calling the link. For example:

    {% link _posts/2021-07-09-first_week_at_brightpearl.markdown %}

Using Mermaid

I've added support for mermaid diagrams with the jekyll-spaceship plugin. Mermaid diagrams can be included within code block markdown.

flowchart LR 

A --> B
B --> C
C --> A
Loading

About

My space to write blog posts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published