Created
April 13, 2017 11:17
-
-
Save charmander/658640645ba75f3790fd5aa35cfd4151 to your computer and use it in GitHub Desktop.
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
macro selected(page) | |
if page === currentPage | |
.selected | |
a href: "/" selected('home') | |
a href: "/about" selected('about') | |
a href: "/contact" selected('contact') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment