Two easy ways to use Pug with Jekyll.
Learn more about both
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
--- 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>
<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>
Aching to add a feature or improve an exisiting one? Your help would be greatly appreciated.
If you feel inclined to donate, do check out our BeerPay page.
This open-source website was created using Jekyll-Pug, J5, and Bootstrap 4.0.