mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 10:09:31 -07:00
* feat(params.toml): enable analytics and configure Umami Analytics Enable analytics by setting `enable` to `true` in the `[analytics]` section of the `params.toml` file. Also, configure Umami Analytics by providing the `data_website_id`, `src`, and `data_domains` values. * feat(404.html): replace hardcoded "404 page not found" text with translated version to improve localization * feat(README.md): add README.md file with information about the Bridget theme and its features feat(getStarted.md): add getStarted.md file with instructions on how to get started with the Bridget theme, including installation and content management instructions
17 lines
722 B
HTML
17 lines
722 B
HTML
{{- define "main" -}}
|
|
{{- $params := .Scratch.Get "params" -}}
|
|
{{- $currentPage := . -}}
|
|
{{- with partial "function/currentMenuItem.html" . -}}
|
|
{{- partial "resources/imageJSON.html" (dict "Path" .DirName "Page" $currentPage) -}}
|
|
<script>document.getElementById("main").setAttribute("currentMenuItemIndex", "{{- (sub .ID 1) -}}")</script>
|
|
{{- end -}}
|
|
<div class="container">
|
|
{{- partial "nav.html" . -}}
|
|
</div>
|
|
<article class="info">
|
|
<p class="error">⛝ <u>404</u> {{- i18n 404 -}} ⛝</p>
|
|
<p class="error">⛝ <u>404</u> {{- i18n 404 -}} ⛝</p>
|
|
<p class="error">⛝ <u>404</u> {{- i18n 404 -}} ⛝</p>
|
|
</article>
|
|
{{- end -}}
|