Jekyll-Pug

Easily and Intuitively Use Pug For Developing Jekyll Websites.


Getting Started

You can also view this project on on Github

Install by adding this to your Gemfile:

source "https://rubygems.org/"

group :jekyll_plugins do
  gem 'jekyll-pug'
end


Example Usage

          

Index.pug

---
title: My Awesome Page
---

h1 Welcome to {{page.title}}

h2 Here is some Pug code
include some_pug_code

h2 Here is an Einstein quote
include quotes/einstein.html
          

Index.html

<h1>Welcome to My Awesome Page</h1>

<h2>Here is some Pug code</h2>
<p>I am a pug file in the _includes folder!</p>

<h2>Here is an Einstein quote</h2>
<blockquote>
"Life is like riding a bicycle.
To keep your balance you must keep moving."
</blockquote>

Contribute

Aching to add a feature or improve an exisiting one? Your help would be greatly appreciated.

Contribute

J5 Boilerplate

J5 is a Jekyll, Pug, Sass, and Livereload HTML5 Boilerplate template for productivity.

Get J5

Support This Project

If you feel inclined to donate, do check out our BeerPay page.

Donate

Edit This Website

This open-source website was created using Jekyll-Pug, J5, and Bootstrap 4.0.

Edit This Site