Fix: remove submodule

This commit is contained in:
psychhim
2025-11-11 18:07:05 +05:30
parent ea7284b910
commit 27a08b46f6
111 changed files with 4844 additions and 4 deletions

View File

@@ -0,0 +1,13 @@
{{- $author := site.Params.footer.copyright.author }}
{{- $yearStart := string site.Params.footer.copyright.yearStart }}
{{- $yearEnd := string (default (now.Format "2006") site.Params.footer.copyright.yearEnd) }}
{{- $yearSpan := "" }}
{{- if not $yearStart }}
{{- /* Use $yearEnd if $yearStart doesn't exist */ -}}
{{- $yearSpan = $yearEnd }}
{{- else if eq $yearStart $yearEnd }}
{{- $yearSpan = $yearEnd }}
{{- else }}
{{- $yearSpan = printf "%s-%s" $yearStart $yearEnd }}
{{- end -}}
<p class="footer__copyright-notice">&copy; {{ $yearSpan }} {{ $author }}</p>

View File

@@ -0,0 +1,3 @@
{{- with .OutputFormats.Get "rss" -}}
<p class="footer__rss-link"><a href="{{ .RelPermalink }}">RSS</a></p>
{{- end }}

View File

@@ -0,0 +1,3 @@
{{- $hugo := "<a href='https://gohugo.io'>Hugo</a>" -}}
{{- $yue := "<a href='https://github.com/CyrusYip/hugo-theme-yue'>Yue</a>" -}}
<p class="footer__theme-info">{{ i18n "themeInfo" (dict "hugo" $hugo "yue" $yue) | safeHTML }}</p>