aboutsummaryrefslogtreecommitdiff
path: root/html.tmpl
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2026-02-04 06:17:55 +0700
committerShulhan <m.shulhan@gmail.com>2026-02-04 06:19:07 +0700
commitc30ba951950971b00da7448899d236ddd782126d (patch)
tree557e879acce949d8e5a67905b2e6dfba6f1000a3 /html.tmpl
parentd559009e9507bf932458ed28ef31e8c554c1a508 (diff)
downloadgo-x-proposal-c30ba951950971b00da7448899d236ddd782126d.tar.xz
all: update the command and style to follow latest ciigo
Diffstat (limited to 'html.tmpl')
-rw-r--r--html.tmpl113
1 files changed, 49 insertions, 64 deletions
diff --git a/html.tmpl b/html.tmpl
index 4ab5989..bfe0a06 100644
--- a/html.tmpl
+++ b/html.tmpl
@@ -1,73 +1,58 @@
<!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" />
+<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" />
- {{- range .Styles}}
- <link rel="stylesheet" href="{{.}}" />
- {{- end}}
+ <title>{{.Title}}</title>
+{{- if ne .EmbeddedCSS ""}}
+ <style>
+{{.EmbeddedCSS}}
+ </style>
+{{- end }}
+ <link rel="stylesheet" href="//storage.googleapis.com/umum.kilabit.info/assets/fonts/go/stylesheet.css" />
+ <link rel="stylesheet" href="/index.css" />
+{{- range .Styles}}
+ <link rel="stylesheet" href="{{.}}" />
+{{- end}}
+</head>
- <!-- 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())
+<body>
+ <div class="topbar">
+ <a class="item title" href="/">
+ <img class="header-logo" src="/assets/go-logo-white.svg" />
+ </a>
+ <a class="item" href="https://tour.golang-id.org" target="_blank">Tur</a>
+ <a class="item" href="/doc/">Dokumentasi</a>
+ <a class="item" href="/blog/">Blog</a>
+ <a class="item" href="https://go.dev/play/" target="_blank">Coba</a>
+ <form class="item" action="/_internal/search">
+ <input type="text" name="q" placeholder="Cari" />
+ </form>
+ </div>
- 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="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>
- <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>