-
-
Save paulcsmith/27d260b706f8ba415e0d01e297a2b09c 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 render(page) | |
{% page.resolve? %} | |
{{page}} | |
{% else %} | |
{% raise "You must create a page called #{page} in src/views" %} | |
{% end %} | |
end | |
render IndexPage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment