aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-12-02 15:31:00 +0100
committerSimon Ser <contact@emersion.fr>2019-12-02 15:31:00 +0100
commita1a067e6de1679d0a3a1503e93bb672432990cd4 (patch)
treed56234ae02077a0bf85bd549ca90301a54d581d4 /public
downloadalps-a1a067e6de1679d0a3a1503e93bb672432990cd4.tar.gz
alps-a1a067e6de1679d0a3a1503e93bb672432990cd4.zip
Add HTTP server boilerplate
Diffstat (limited to 'public')
-rw-r--r--public/foot.html4
-rw-r--r--public/head.html9
-rw-r--r--public/index.html5
3 files changed, 18 insertions, 0 deletions
diff --git a/public/foot.html b/public/foot.html
new file mode 100644
index 0000000..d92a512
--- /dev/null
+++ b/public/foot.html
@@ -0,0 +1,4 @@
+{{define "foot"}}
+ </body>
+</html>
+{{end}}
diff --git a/public/head.html b/public/head.html
new file mode 100644
index 0000000..fb8e12a
--- /dev/null
+++ b/public/head.html
@@ -0,0 +1,9 @@
+{{define "head"}}
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>koushin</title>
+ </head>
+ <body>
+{{end}}
diff --git a/public/index.html b/public/index.html
new file mode 100644
index 0000000..9dbc3fe
--- /dev/null
+++ b/public/index.html
@@ -0,0 +1,5 @@
+{{template "head"}}
+
+<h1>koushin</h1>
+
+{{template "foot"}}