Last active
March 4, 2023 14:59
-
-
Save allusis/b5f635304e4f0b1c3501d65ab0db21d3 to your computer and use it in GitHub Desktop.
Pug nav template with active link checker
This file contains 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
block variables | |
- var SiteName = "Sample Site" | |
- var PageName = "Home" | |
- var PageID = 'home'; | |
doctype html | |
html(lang="en", xmlns="http://www.w3.org/2000/svg", xmlns:xlink="http://www.w3.org/1999/xlink") | |
head | |
meta(charset='utf-8') | |
meta(http-equiv='X-UA-Compatible', content='IE=edge') | |
meta(name='viewport', content='width=device-width, initial-scale=1, shrink-to-fit=no') | |
meta(name='description', content='') | |
title= PageName + ' / ' + SiteName | |
include stylesheets.pug | |
block stylesheets | |
body | |
include navigation.pug | |
.page-wrapper | |
block content | |
include scripts.pug | |
block scripts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment