aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/views/fileview.rocker.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/views/fileview.rocker.html')
-rw-r--r--src/main/resources/views/fileview.rocker.html18
1 files changed, 4 insertions, 14 deletions
diff --git a/src/main/resources/views/fileview.rocker.html b/src/main/resources/views/fileview.rocker.html
index 250f34f..03a7418 100644
--- a/src/main/resources/views/fileview.rocker.html
+++ b/src/main/resources/views/fileview.rocker.html
@@ -1,15 +1,5 @@
-@args (String content)
+@args (String content, String filename)
-<!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>Fileview</title>
-</head>
-<body>
- @content
-</body>
-</html>
+@layout.template("File " + filename) -> {
+@content
+}