fix homepage
This commit is contained in:
parent
3ff716ac93
commit
1ce071cd4d
3 changed files with 13 additions and 5 deletions
|
@ -12,7 +12,7 @@
|
||||||
{{ $paginator := .Paginate (where .Site.RegularPages "Kind" "page") }}
|
{{ $paginator := .Paginate (where .Site.RegularPages "Kind" "page") }}
|
||||||
{{ range $paginator.Pages }}
|
{{ range $paginator.Pages }}
|
||||||
<div class="row row-mob mb-1 mb-1_5-mob gap-3">
|
<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>
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<footer class="row row-mob al-c-mob col-rev-mob sm-2-mob jc-bt mtb-2">
|
<footer class="row row-mob al-c-mob col-rev-mob sm-2-mob jc-bt mtb-2">
|
||||||
<p>
|
<p class="c-tag">
|
||||||
{{ .Site.Copyright }} |
|
{{ .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>
|
<a href="https://gohugo.io" target="_blank" rel="noopener noreferrer">Hugo</a>
|
||||||
</p>
|
</p>
|
||||||
<p class="row gap-0_5">
|
<p class="row gap-0_5">
|
||||||
|
|
|
@ -152,6 +152,14 @@ main {
|
||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mw-6 {
|
||||||
|
min-width: 6em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.c-tag {
|
||||||
|
color: var(--tag);
|
||||||
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
@ -203,7 +211,7 @@ main {
|
||||||
}
|
}
|
||||||
|
|
||||||
.sm-2-mob {
|
.sm-2-mob {
|
||||||
font-size: .8em;
|
font-size: .9em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mb-0_5-mob {
|
.mb-0_5-mob {
|
||||||
|
|
Loading…
Reference in a new issue