aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/views/layout.rocker.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/views/layout.rocker.html')
-rw-r--r--src/main/resources/views/layout.rocker.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/resources/views/layout.rocker.html b/src/main/resources/views/layout.rocker.html
index 583c723..c7c7bc3 100644
--- a/src/main/resources/views/layout.rocker.html
+++ b/src/main/resources/views/layout.rocker.html
@@ -1,4 +1,4 @@
-@args (String title, RockerBody content)
+@args (String title, RockerContent css, RockerContent js, RockerBody content)
<!doctype html>
<html lang="en">
@@ -7,9 +7,12 @@
<meta content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
name="viewport">
<meta content="ie=edge" http-equiv="X-UA-Compatible">
+ <link href="/css/layout.css" rel="stylesheet">
+ @css
<title>@title</title>
</head>
<body>
@content
+@js
</body>
</html>