summaryrefslogtreecommitdiff
path: root/_content/html.tmpl
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2026-02-04 04:27:49 +0700
committerShulhan <m.shulhan@gmail.com>2026-02-04 04:28:47 +0700
commitde6bdcea1aa288b5fb3f67d2bc50520455304b75 (patch)
treeebc158e0ed666ba7406df7f14877ea42c091b969 /_content/html.tmpl
parente7f3aca07d1bd4060a02bb8c5ff91b77f798ba75 (diff)
downloadgolang-id-web-de6bdcea1aa288b5fb3f67d2bc50520455304b75.tar.xz
all: pembaruan template dan style
Perubahan, * Update module ciigo, untuk pembaruan style yang baru * Ganti logo dengan warna putih * Gunakan warna yang mirip dengan situs resmi untuk tema terang dan gelap * Hapus link pada header tingkat 2
Diffstat (limited to '_content/html.tmpl')
-rw-r--r--_content/html.tmpl41
1 files changed, 18 insertions, 23 deletions
diff --git a/_content/html.tmpl b/_content/html.tmpl
index 23429e2..ae204ff 100644
--- a/_content/html.tmpl
+++ b/_content/html.tmpl
@@ -1,22 +1,23 @@
<!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="description" content="Situs komunitas Bahasa Go Indonesia" />
+ <meta keywords="Bahasa Go Indonesia" />
<meta name="robots" content="index,follow" />
<title>{{.Title}}</title>
- <link rel="stylesheet" href="/assets/style.css" />
<link rel="stylesheet" href="//storage.googleapis.com/umum.kilabit.info/assets/fonts/go/stylesheet.css" />
-
+{{- if ne .EmbeddedCSS ""}}
+ <style>
+{{.EmbeddedCSS}}
+ </style>
+{{- end }}
+ <link rel="stylesheet" href="/index.css" />
{{- range .Styles}}
<link rel="stylesheet" href="{{.}}" />
{{- end}}
-
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-0RXEYS3MQ0"></script>
<script>
@@ -32,22 +33,16 @@
<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>
+ <a class="item title" href="/">
+ <img class="item 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>
<div class="page">