Created
December 9, 2021 06:13
-
-
Save kewang/d061c30721765845798b42b86af4c872 to your computer and use it in GitHub Desktop.
test1
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
router.get("/test1", function (req, res, next) { | |
res.render("test1", { | |
user: { | |
name: "kewang", | |
}, | |
}); | |
}); |
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
doctype html | |
html | |
head | |
link(rel='stylesheet', href='/stylesheets/style.css') | |
body | |
if user.name | |
p= user.name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment