aboutsummaryrefslogtreecommitdiff
path: root/templates/base/base.gohtml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base/base.gohtml')
-rw-r--r--templates/base/base.gohtml17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/base/base.gohtml b/templates/base/base.gohtml
new file mode 100644
index 0000000..5859805
--- /dev/null
+++ b/templates/base/base.gohtml
@@ -0,0 +1,17 @@
+{{define "base"}}
+ <!doctype html>
+ <html lang="fr" prefix="og: https://ogp.me/ns#">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <link rel="shortcut icon" href="{{getStaticPath "logo.png"}}" type="image/png" />
+ <title>{{ .Title }}</title>
+ <link rel="stylesheet" href="{{getAssetPath "styles.css"}}" />
+ {{template "opengraph-base" .SEO}}
+ </head>
+ <body>
+ {{template "body" .}}
+ <script type="module" src="{{getAssetPath "index.js"}}" defer></script>
+ </body>
+ </html>
+{{end}} \ No newline at end of file