From 064f2c1882ea4c788fe7657e8fb37381771940f8 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Fri, 27 May 2022 13:58:40 +0200 Subject: Setup contact form --- layouts/_default/home.manifest.webmanifest | 2 ++ layouts/page/single.html | 2 +- layouts/shortcodes/form-contact.html | 27 +++++++++++++++++++++++++++ 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 layouts/shortcodes/form-contact.html (limited to 'layouts') diff --git a/layouts/_default/home.manifest.webmanifest b/layouts/_default/home.manifest.webmanifest index a9bc818..0a84c55 100644 --- a/layouts/_default/home.manifest.webmanifest +++ b/layouts/_default/home.manifest.webmanifest @@ -9,6 +9,8 @@ "dir": "ltr", {{/* TODO: Get dir from lang */}}{{ end }} "start_url": "/index.html?homescreen=1", "display": "fullscreen", + "theme_color": "#ffffff", + "background_color": "#ffffff", "orientation": "natural", "shortcuts": [ {{ range $index, $m := site.Menus.main }} {{ if or (lt .Weight 900) site.IsServer }} {{- if $index }},{{ end }} diff --git a/layouts/page/single.html b/layouts/page/single.html index 03c488a..d31cbe7 100644 --- a/layouts/page/single.html +++ b/layouts/page/single.html @@ -1,5 +1,5 @@ {{ define "main" }} -
+

{{ .Params.caption | default .Title }}

{{ .Content }}
diff --git a/layouts/shortcodes/form-contact.html b/layouts/shortcodes/form-contact.html new file mode 100644 index 0000000..d2e0c99 --- /dev/null +++ b/layouts/shortcodes/form-contact.html @@ -0,0 +1,27 @@ +{{- /* TODO: Translate me */ -}} +
+
+
+ + +
+ +
+ + +
+ +
+ + +
+ + + + + +
+ +
+
+
-- cgit v1.2.3