mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 04:16:13 +00:00
Update theme
This commit is contained in:
7 files changed
+11
-12
No files matched your search
@@ -58,6 +58,7 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="ma0 sans-serif bg-primary-color-light{{ with getenv "HUGO_ENV" }} {{ . }}{{ end }}">
|
<body class="ma0 sans-serif bg-primary-color-light{{ with getenv "HUGO_ENV" }} {{ . }}{{ end }}">
|
||||||
|
{{ partial "hooks/after-body-start" . }}
|
||||||
{{ block "nav" . }}{{ partial "site-nav.html" . }}{{ end }}
|
{{ block "nav" . }}{{ partial "site-nav.html" . }}{{ end }}
|
||||||
{{ block "header" . }}{{ end }}
|
{{ block "header" . }}{{ end }}
|
||||||
<main role="main" class="content-with-sidebar min-vh-100 pb7 pb0-ns">
|
<main role="main" class="content-with-sidebar min-vh-100 pb7 pb0-ns">
|
||||||
@@ -65,14 +66,9 @@
|
|||||||
</main>
|
</main>
|
||||||
|
|
||||||
{{ block "footer" . }}{{ partialCached "site-footer.html" . }}{{ end }}
|
{{ block "footer" . }}{{ partialCached "site-footer.html" . }}{{ end }}
|
||||||
|
|
||||||
{{ if .Page.Store.Get "hasMermaid" }}
|
{{ partial "hooks/before-body-end" . }}
|
||||||
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
|
|
||||||
<script>
|
|
||||||
mermaid.initialize({ startOnLoad: true });
|
|
||||||
</script>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
{{/* Deliberately empty */}}
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
{{/* Deliberately empty */}}
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
HUGO
|
HUGO
|
||||||
</a>
|
</a>
|
||||||
</h1>
|
</h1>
|
||||||
<ul class="list ma0 pa0 dn dib-l">
|
<ul class="list ma0 pa0 dn dib-l" role="menu">
|
||||||
{{ range .Site.Menus.global }}
|
{{ range .Site.Menus.global }}
|
||||||
<li class="f5 dib mr4" role="menuitem">
|
<li class="f5 dib mr4" role="menuitem">
|
||||||
{{/* TODO: Create an "Global" active class to show which site one is currently at */}}
|
{{/* TODO: Create an "Global" active class to show which site one is currently at */}}
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
# github.com/gohugoio/gohugoioTheme v0.0.0-20211211134334-0fe25799bb58
|
# github.com/gohugoio/gohugoioTheme v0.0.0-20220228085601-7cfbda06d135
|
||||||
@@ -2,5 +2,4 @@ module github.com/gohugoio/hugoDocs
|
|||||||
|
|
||||||
go 1.16
|
go 1.16
|
||||||
|
|
||||||
require github.com/gohugoio/gohugoioTheme v0.0.0-20211211134334-0fe25799bb58 // indirect
|
require github.com/gohugoio/gohugoioTheme v0.0.0-20220228085601-7cfbda06d135 // indirect
|
||||||
|
|
||||||
@@ -31,3 +31,5 @@ github.com/gohugoio/gohugoioTheme v0.0.0-20210409071416-c88da48134b7 h1:uRCgPsla
|
|||||||
github.com/gohugoio/gohugoioTheme v0.0.0-20210409071416-c88da48134b7/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs=
|
github.com/gohugoio/gohugoioTheme v0.0.0-20210409071416-c88da48134b7/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs=
|
||||||
github.com/gohugoio/gohugoioTheme v0.0.0-20211211125852-b85e21c1f3d6 h1:lAgdWrn8VEg0PrNCPX4DflCg2msDKpSYV6E8RTNV3N0=
|
github.com/gohugoio/gohugoioTheme v0.0.0-20211211125852-b85e21c1f3d6 h1:lAgdWrn8VEg0PrNCPX4DflCg2msDKpSYV6E8RTNV3N0=
|
||||||
github.com/gohugoio/gohugoioTheme v0.0.0-20211211125852-b85e21c1f3d6/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs=
|
github.com/gohugoio/gohugoioTheme v0.0.0-20211211125852-b85e21c1f3d6/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs=
|
||||||
|
github.com/gohugoio/gohugoioTheme v0.0.0-20220228085601-7cfbda06d135 h1:6hVzfE9YhSsZP5t6jWjvVp7MoPm7Y5fEhH/ls4ahhKk=
|
||||||
|
github.com/gohugoio/gohugoioTheme v0.0.0-20220228085601-7cfbda06d135/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs=
|
||||||
Reference in new issue
Block a user