Created
March 22, 2018 19:34
-
-
Save thatisuday/1ed4113fc8a132bb4f8330d5251bde0d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//- Like PHP, we can include content of another file in a file. | |
//- If another file extension is `.pug`, then it's content will be compiled. | |
//- If another files is non-pug file, then it's content will be included as raw text. | |
//- If no file extenstion is given, `.pug` is automatically appended to the file name. | |
doctype html | |
html | |
head | |
title Includes Example | |
include includes/resources.pug | |
style | |
include includes/style.css | |
body | |
h1 Hello World | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment