fix homepage

This commit is contained in:
mivinci 2021-08-04 08:02:27 +08:00
parent 3ff716ac93
commit 1ce071cd4d
3 changed files with 13 additions and 5 deletions

View file

@ -12,7 +12,7 @@
{{ $paginator := .Paginate (where .Site.RegularPages "Kind" "page") }}
{{ range $paginator.Pages }}
<div class="row row-mob mb-1 mb-1_5-mob gap-3">
<div class="sm-2-mob mb-0_5-mob">{{ dateFormat "Jan 2, 2006" .Date }}</div>
<div class="sm-2-mob mb-0_5-mob mw-6">{{ dateFormat "Jan 2, 2006" .Date }}</div>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</div>
{{ end }}

View file

@ -1,7 +1,7 @@
<footer class="row row-mob al-c-mob col-rev-mob sm-2-mob jc-bt mtb-2">
<p>
<footer class="row row-mob al-c-mob col-rev-mob sm-2-mob jc-bt mtb-2">
<p class="c-tag">
{{ .Site.Copyright }} |
<a href="https://github.com/mivinci/hugo-theme-minima" target="_blank" rel="noopener noreferrer">Minima</a> theme on
<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>
</p>
<p class="row gap-0_5">

View file

@ -152,6 +152,14 @@ main {
margin-left: 1em;
}
.mw-6 {
min-width: 6em;
}
.c-tag {
color: var(--tag);
}
.btn {
cursor: pointer;
}
@ -203,7 +211,7 @@ main {
}
.sm-2-mob {
font-size: .8em;
font-size: .9em;
}
.mb-0_5-mob {