Compiled temapltes.
Benchmark cleanup
This commit is contained in:
15
examples/demo/views/home.pug
Normal file
15
examples/demo/views/home.pug
Normal file
@@ -0,0 +1,15 @@
|
||||
doctype html
|
||||
html
|
||||
head
|
||||
title #{title}
|
||||
link(rel="stylesheet" href="/style.css")
|
||||
body
|
||||
header
|
||||
h1 #{title}
|
||||
if authenticated
|
||||
span.user Welcome back!
|
||||
main
|
||||
p This page is rendered using a compiled template.
|
||||
p Compiled templates are 3x faster than Pug.js!
|
||||
footer
|
||||
p © 2024 Pugz Demo
|
||||
Reference in New Issue
Block a user