aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/views/layout.rocker.html
diff options
context:
space:
mode:
authorMarvin Borner2019-04-07 12:44:36 +0200
committerMarvin Borner2019-04-07 12:44:36 +0200
commitd60bf9b546bca3e479668de801e8821e19abbb9e (patch)
tree8a1f19bd697e7178bc4f816f5ec911d45a3d5a34 /src/main/resources/views/layout.rocker.html
parent51c6451b36e8f3845ba278d42e7c4a9941556986 (diff)
Added layouts for rocker views
Diffstat (limited to 'src/main/resources/views/layout.rocker.html')
-rw-r--r--src/main/resources/views/layout.rocker.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/resources/views/layout.rocker.html b/src/main/resources/views/layout.rocker.html
new file mode 100644
index 0000000..583c723
--- /dev/null
+++ b/src/main/resources/views/layout.rocker.html
@@ -0,0 +1,15 @@
+@args (String title, RockerBody content)
+
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <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">
+ <title>@title</title>
+</head>
+<body>
+@content
+</body>
+</html>