2023-11-18 12:54:41 +01:00
|
|
|
<footer class="common-footer noselect">
|
2020-07-09 21:15:38 +02:00
|
|
|
{{ $languagesCount := $.Site.Home.AllTranslations }}
|
|
|
|
{{ if gt $languagesCount 1 }}
|
2021-07-09 18:00:52 +02:00
|
|
|
{{ partial "language-switcher.html" . }}
|
2020-07-09 21:15:38 +02:00
|
|
|
{{ end }}
|
|
|
|
|
2020-07-30 20:35:13 +02:00
|
|
|
<div class="common-footer-bottom">
|
2024-09-11 05:57:49 +02:00
|
|
|
{{ if site.Menus.footer }}
|
2020-07-30 21:50:34 +02:00
|
|
|
{{ $currentPage := . }}
|
|
|
|
<ul class="footer-menu">
|
2024-09-11 05:57:49 +02:00
|
|
|
{{ range site.Menus.footer }}
|
2020-07-30 21:50:34 +02:00
|
|
|
<li><a class="{{if or ($currentPage.IsMenuCurrent "footer" .) ($currentPage.HasMenuCurrent "footer" .) }} active{{end}}" href="{{ .URL | absLangURL }}" title="{{ .Title }}">{{ .Name }}</a></li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
2020-07-25 22:47:39 +02:00
|
|
|
{{ end }}
|
2024-04-09 14:03:09 +02:00
|
|
|
|
2024-03-18 05:33:50 +01:00
|
|
|
<div style="display: flex; align-items: center; gap:8px">
|
2024-09-11 05:57:49 +02:00
|
|
|
© {{ if site.Params.Author.name }} {{ site.Params.Author.name }}, {{end}} {{ now.Year }}
|
|
|
|
{{ if site.Params.UmamiAnalytics.shareUrl }}
|
|
|
|
<a aria-label="Check statistics data" style="display: flex; align-items: center; border-bottom: none; cursor: pointer; color: var(--pagination-link-color)" href="{{ site.Params.UmamiAnalytics.shareUrl }}"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-report-analytics"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2h-2" /><path d="M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z" /><path d="M9 17v-5" /><path d="M12 17v-1" /><path d="M15 17v-3" /></svg></a>
|
2024-03-18 05:33:50 +01:00
|
|
|
{{ end }}
|
2024-03-04 08:08:49 +01:00
|
|
|
</div>
|
2024-04-29 09:23:22 +02:00
|
|
|
<div style="display:flex;align-items: center">
|
2024-09-11 05:57:49 +02:00
|
|
|
{{ $police := site.Params.police }}
|
2024-04-29 09:23:22 +02:00
|
|
|
{{ $info := "info" }}
|
|
|
|
{{ $pattern := "[0-9]+" }}
|
|
|
|
{{ $matches := findRE $pattern $police }}
|
|
|
|
{{ if $matches }}
|
|
|
|
{{ $firstNumber := index $matches 0 }}
|
|
|
|
{{ $info = print $firstNumber }}
|
|
|
|
<img src="https://beian.mps.gov.cn/img/logo01.dd7ff50e.png" alt="备案图标" style="width: 1em;height: 1em;object-fit: contain;">
|
2024-09-11 05:57:49 +02:00
|
|
|
<a target="_blank" href="https://www.beian.gov.cn/portal/registerSystemInfo?recordcode={{$info}}">{{ site.Params.police }}</a>
|
2024-04-29 09:23:22 +02:00
|
|
|
|
|
|
|
{{ end }}
|
2024-09-11 05:57:49 +02:00
|
|
|
{{ if site.Params.icp }}
|
|
|
|
<a target="_blank" href="https://beian.miit.gov.cn/">{{ site.Params.icp }}</a>
|
2024-04-29 06:09:19 +02:00
|
|
|
{{ end }}
|
|
|
|
</div>
|
2024-03-04 08:08:49 +01:00
|
|
|
<div>
|
2024-01-14 10:50:55 +01:00
|
|
|
{{ i18n "powered" }} <a target="_blank" rel="noopener noreferrer" href="https://gohugo.io/">Hugo</a>, {{ i18n "theme" }} <a target="_blank" rel="noopener noreferrer" href="https://github.com/Junyi-99/hugo-theme-anubis2">Anubis2</a>.<br>
|
2021-02-23 21:49:44 +01:00
|
|
|
{{ partial "footer-extra.html" . }}
|
2024-04-09 14:03:09 +02:00
|
|
|
</div>
|
2020-07-30 20:35:13 +02:00
|
|
|
</div>
|
2021-01-11 19:39:27 +01:00
|
|
|
|
2021-01-20 19:10:47 +01:00
|
|
|
{{ partial "h-card.html" . }}
|
2020-07-09 21:15:38 +02:00
|
|
|
</footer>
|