some improvements
This commit is contained in:
parent
a3cb5a359b
commit
9111e6a6b6
3 changed files with 11 additions and 9 deletions
|
@ -4,10 +4,12 @@
|
|||
<nav class="flex flex-col">
|
||||
{{ $data := .Data }}
|
||||
{{ range $key, $value := .Data.Terms.ByCount }}
|
||||
<a class="mb-5 self-start" href="/{{ $data.Plural }}/{{ $value.Name }}">
|
||||
<div class="mb-5 flex justify-between">
|
||||
<a class="self-start" href="/{{ $data.Plural }}/{{ $value.Name }}">
|
||||
{{ $value.Name }}
|
||||
<span class="">{{ $value.Count }}</span>
|
||||
</a>
|
||||
<span class="">{{ $value.Count }}</span>
|
||||
</div>
|
||||
{{ end }}
|
||||
</nav>
|
||||
</main>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<footer class="mt-8 flex sm:flex-col-reverse justify-between items-center">
|
||||
<p class="mt-0 text-sm">
|
||||
{{ .Site.Copyright }} |
|
||||
<a href="https://github.com/mivinci/hugo-theme-minima" target="_blank" rel="noopener noreferrer">Minima</a> on
|
||||
<a href="https://gohugo.io" target="_blank" rel="noopener noreferrer">Hugo</a>
|
||||
<a href="https://gohugo.io" target="_blank" rel="noopener noreferrer">Hugo</a> on
|
||||
<a href="https://github.com/mivinci/hugo-theme-minima" target="_blank" rel="noopener noreferrer">Minima</a>
|
||||
</p>
|
||||
<p class="flex items-center mt-0">
|
||||
{{ range $_, $key := .Site.Params.Social }}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<nav class="flex items-center
|
||||
whitespace-nowrap overflow-x-auto overflow-y-hidden">
|
||||
{{ range .Site.Menus.main }}
|
||||
<a class="ml-3" href="{{ .URL }}">{{ .Name }}</a>
|
||||
<a class="ml-5" href="{{ .URL }}">{{ .Name }}</a>
|
||||
{{ end }}
|
||||
</nav>
|
||||
</header>
|
Loading…
Reference in a new issue