Merge branch 'main' of github.com:Mivinci/hugo-theme-minima

This commit is contained in:
Mivinci 2022-01-26 00:38:57 +08:00
commit 577b74f612
2 changed files with 2 additions and 2 deletions

View file

@ -66,7 +66,7 @@ code {
font-size: 13px; font-size: 13px;
} }
.tag, .minima-tag,
p code { p code {
background-color: var(--bd); background-color: var(--bd);
padding: 0.2em 0.4em; padding: 0.2em 0.4em;

View file

@ -9,7 +9,7 @@
Posted at — {{ dateFormat .Site.Params.timeformat .Date }} Posted at — {{ dateFormat .Site.Params.timeformat .Date }}
{{ end }} {{ end }}
{{ if .Draft }} {{ if .Draft }}
<span class="ml-3 tag"> <span class="ml-3 minima-tag">
DRAFT DRAFT
</span> </span>
{{ end }} {{ end }}