Updates migrating previous theme to hugo-bearcub
Some checks failed
github pages / deploy (push) Failing after 2s

This commit is contained in:
Alex Selimov 2026-03-02 19:38:07 -05:00
parent 1d12a76549
commit ef8f417c6c
14 changed files with 213 additions and 26 deletions

View file

@ -1,3 +1,2 @@
<!-- A partial to be overwritten by the user.
Simply place a custom_head.html into
your local /layouts/partials-directory -->
{{ $autoTheme := resources.Get "auto-theme.css" | minify }}
<link href="{{ $autoTheme.RelPermalink }}" rel="stylesheet">

View file

@ -1,3 +1,4 @@
<small>
{{ .Site.Copyright }} | {{ markdownify .Site.Params.madeWith }}
</small>
<div class="footer-copy">
{{ .Site.Copyright }}
{{ with .Site.Params.madeWith }} | {{ markdownify . }}{{ end }}
</div>

View file

@ -1,4 +1,6 @@
<a class="skip-link" href="#main-content">{{ i18n "skip-link" }}</a>
<div class="mesh-wrap mesh-wrap-top" aria-hidden="true">
<img src="/mesh.svg" alt="" class="mesh-image mesh-image-top">
</div>
<a href="{{ relURL .Site.Home.RelPermalink }}" class="title"><h1>{{ .Site.Title }}</h1></a>
<nav>{{- partial "nav.html" . -}}</nav>

View file

@ -2,21 +2,3 @@
<a href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
<a href='{{ absURL "index.xml" }}'>RSS</a>
<!-- Convert this page's translations into a dict -->
{{ $translations := dict }}
{{ range .Translations }}
{{ $translations = merge $translations (dict .Language.Lang .) }}
{{ end }}
<!-- Create a link to every translation -->
{{ range where .Site.Languages "Lang" "!=" .Page.Lang }}
{{ with (index $translations .Lang) }}
<a href="{{ .RelPermalink }}">{{ .Language.LanguageName }}</a>
{{ else }}
<!-- The complicated setup was necessary to make a grayed out link -->
{{ if not .Params.hideUntranslated }}
<a class="disabled" role="link" aria-disabled="true">{{ .LanguageName }}</a>
{{ end }}
{{ end }}
{{ end }}