diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml
index 3ef8ece..98a394a 100644
--- a/.github/workflows/gh-pages.yml
+++ b/.github/workflows/gh-pages.yml
@@ -21,7 +21,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
- hugo-version: '0.104.3'
+ hugo-version: '0.147.8'
extended: true
- name: Build
diff --git a/layouts/404.html b/layouts/404.html
new file mode 100644
index 0000000..60dcdc6
--- /dev/null
+++ b/layouts/404.html
@@ -0,0 +1,35 @@
+
+
+
+
+ {{ partial "docs/html-head" . }}
+ {{ partial "docs/inject/head" . }}
+
+
+
+
+
+
+
+
404
+
Page Not Found
+
+
+
+
+ {{ partial "docs/inject/body" . }}
+ {{ template "_internal/google_analytics.html" . }}
+
+
+
diff --git a/layouts/partials/docs/footer.html b/layouts/partials/docs/footer.html
new file mode 100644
index 0000000..c97b67f
--- /dev/null
+++ b/layouts/partials/docs/footer.html
@@ -0,0 +1,25 @@
+
+{{ if hugo.IsMultilingual }}
+ {{ partial "docs/languages" . }}
+{{ end }}
+
+{{ if and .GitInfo .Site.Params.BookRepo }}
+
+ {{- $date := partial "docs/date" (dict "Date" .GitInfo.AuthorDate.Local "Format" .Site.Params.BookDateFormat) -}}
+ {{- $commitPath := default "commit" .Site.Params.BookCommitPath -}}
+
+
+ {{ $date }}
+
+
+{{ end }}
+
+{{ if and .File .Site.Params.BookRepo .Site.Params.BookEditPath }}
+
+{{ end }}
+
diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html
new file mode 100644
index 0000000..b24730d
--- /dev/null
+++ b/layouts/partials/docs/html-head.html
@@ -0,0 +1,43 @@
+
+
+
+
+
+{{- template "_internal/opengraph.html" . -}}
+
+{{ partial "docs/title" . }} | {{ .Site.Title -}}
+
+{{- $manifest := resources.Get "manifest.json" | resources.ExecuteAsTemplate "manifest.json" . }}
+
+
+
+{{- range .Translations }}
+
+{{ end -}}
+
+
+{{- $styles := resources.Get "book.scss" | resources.ExecuteAsTemplate "book.scss" . | css.Sass | resources.Minify | resources.Fingerprint }}
+
+
+{{- if default true .Site.Params.BookSearch }}
+{{- $searchJSFile := printf "%s.search.js" .Language.Lang }}
+{{- $searchJS := resources.Get "search.js" | resources.ExecuteAsTemplate $searchJSFile . | resources.Minify | resources.Fingerprint }}
+
+{{ end -}}
+
+{{- if .Site.Params.BookServiceWorker }}
+{{- $swJS := resources.Get "sw-register.js" | resources.ExecuteAsTemplate "sw.js" . | resources.Minify | resources.Fingerprint }}
+
+{{ end -}}
+
+{{- template "_internal/google_analytics.html" . -}}
+
+
+{{- with .OutputFormats.Get "rss" -}}
+ {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
+{{ end -}}
+
+{{ "" | safeHTML }}