aboutsummaryrefslogtreecommitdiff
path: root/html.tmpl
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-05-25 22:10:49 +0700
committerShulhan <m.shulhan@gmail.com>2026-04-09 22:18:07 +0700
commitd0c5be4444ee2c1b8371456adb2f65bf6ef62234 (patch)
treebbd77b90f23619df8bef1ae7c7c9adce61c9c0f3 /html.tmpl
parent3d13cee518990fcfba0e65a9077a975b94ad209e (diff)
downloadgo-x-proposal-d0c5be4444ee2c1b8371456adb2f65bf6ef62234.tar.xz
cmd/www-go-proposal: static HTTP server to serve proposal with HTML
Diffstat (limited to 'html.tmpl')
-rw-r--r--html.tmpl73
1 files changed, 73 insertions, 0 deletions
diff --git a/html.tmpl b/html.tmpl
new file mode 100644
index 0000000..4ab5989
--- /dev/null
+++ b/html.tmpl
@@ -0,0 +1,73 @@
+<!DOCTYPE html lang="id">
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <meta name="theme-color" content="#375EAB" />
+ <meta name="description" content="Situs komunitas Go Indonesia"/>
+ <meta keywords="komunitas Go indonesia"/>
+ <meta name="robots" content="index,follow"/>
+
+ <title>{{.Title}}</title>
+ <link rel="stylesheet" href="/assets/style.css" />
+
+ {{- range .Styles}}
+ <link rel="stylesheet" href="{{.}}" />
+ {{- end}}
+
+ <!-- Global site tag (gtag.js) - Google Analytics -->
+ <script
+ async
+ src="https://www.googletagmanager.com/gtag/js?id=UA-2502278-10"
+ ></script>
+ <script>
+ window.dataLayer = window.dataLayer || []
+ function gtag() {
+ dataLayer.push(arguments)
+ }
+ gtag("js", new Date())
+
+ gtag("config", "UA-2502278-10")
+ </script>
+ </head>
+ <body>
+ <div class="topbar">
+ <div class="container">
+ <div class="top-heading">
+ <a href="/">
+ <img class="header-logo" src="/assets/go-logo-blue.svg" />
+ </a>
+ </div>
+ <div class="menu">
+ <a href="https://tour.golang-id.org" target="_blank">Tur</a>
+ <a href="/doc">Dokumentasi</a>
+ <a href="/blog">Blog</a>
+ <a href="https://play.golang.org" target="_blank">Coba</a>
+ <form class="item" action="/_internal/search">
+ <input type="text" name="q" placeholder="Cari" />
+ </form>
+ </div>
+ </div>
+ </div>
+
+ <div class="page">
+ <div class="container">
+ {{.Body}}
+ </div>
+ <!-- .container -->
+ </div>
+ <!-- #page -->
+
+ <div class="footer">
+ <div class="container">
+ Halaman situs ini berlisensikan
+ <a href="https://creativecommons.org/licenses/by/3.0/"
+ >Creative Commons Attribution 3.0</a
+ >, dan sumber kode berlisensikan <a href="/LICENSE">BSD</a>.
+ <br />
+ Dibangun menggunakan
+ <a href="https://sr.ht/~shulhan/ciigo">ciigo</a>.
+ </div>
+ </div>
+ </body>
+</html>