Browse Source

Add bare page template for projects

Certain projects don't use the site navbar or footer, so I need an empty
page template for those pages.
Apis Necros 2 years ago
parent
commit
9d59004c88
1 changed files with 14 additions and 0 deletions
  1. 14 0
      layouts/projects/bare.html

+ 14 - 0
layouts/projects/bare.html

@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+    {{- partial "head.html" . -}}
+    <body>
+        <div class="h-screen flex flex-flow flex-wrap">
+            <div id="content" class="flex-1 px-4">
+            {{- .Content }}
+            </div>
+        </div>
+        {{- range .Resources }}
+        <script src="{{ .Permalink }}"></script>
+        {{- end }}
+    </body>
+</html>