
PBS 181 of X — Reusable Snippets with Jekyll Includes
About this episode
We've been having great fun in Programming By Stealth learning how to use Jekyll to create a website using GitHub Pages. This week Bart goes through the challenge he left us with last time — to add a nav bar to our little static website using Bootstrap 5 along with Jekyll and Liquid templates. Bart had a lot of fun with his solution so it was fun to hear him dust off the cobwebs on Bootstrap.
Then we turn to learning about Jekyll's `includes` feature, which is reusable snippets similar to how TextExpander snippets let you write something and change it in only one place. The worked examples simplify the code in a way, and we learn how to use `includes` to create advanced image markup.
I also enjoyed learning about Liquid comments and how you can create white space between sections of your code for ease of writing and debugging that then never show up in the resultant HTML.
Get every episode summarized
Each time Programming By Stealth publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.
Email me new episodesFree for 3 shows. No card needed.
Hosts & guests
No transcript yet
This episode has not been transcribed. Request it and it moves to the front of the queue.
More episodes
More from Programming By Stealth

PBS Tidbit 19B — Building a JavaScript CLI App with NodeJS
Programming By Stealth

PBS Tidbit 19A — Building a JavaScript CLI App with NodeJS
Programming By Stealth

PBS 186 of X — Web Metadata — the Search and OpenGraph HTML Headers
Programming By Stealth

PBS 185 of X: Customising Bootstrap 5 with Sass
Programming By Stealth