Last active
July 30, 2021 14:16
-
-
Save ashur/9b7f33217fd0b9ce8d79db610a5082c9 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
module.exports = { | |
get permalink() { | |
if( process.env.NODE_ENV === "production" ) | |
{ | |
return false; | |
} | |
// formatted for Liquid & Nunjucks templates | |
return "/devPages/{{ page.fileSlug }}/index.html" | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment