Теги в списке статей
All checks were successful
Build and deploy mmote.ru / Build-And-Deploy (push) Successful in 34s
All checks were successful
Build and deploy mmote.ru / Build-And-Deploy (push) Successful in 34s
This commit is contained in:
parent
23858b6d16
commit
200841a088
@ -7,7 +7,8 @@ $navbar-color: #404c5e;
|
|||||||
$navbar-text-color: white;
|
$navbar-text-color: white;
|
||||||
$link-color: #175eaf;
|
$link-color: #175eaf;
|
||||||
$link-hover-color: #3ea7e4;
|
$link-hover-color: #3ea7e4;
|
||||||
$tag-color: #728fb6;
|
$category-color: #728fb6;
|
||||||
|
$tag-color: #af82b1;
|
||||||
|
|
||||||
$page-bg-color: #dfdfdf;
|
$page-bg-color: #dfdfdf;
|
||||||
$page-bg-image: "/images/bg.jpg";
|
$page-bg-image: "/images/bg.jpg";
|
||||||
|
@ -157,6 +157,7 @@ section.posts {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer time {
|
footer time {
|
||||||
@ -164,9 +165,16 @@ section.posts {
|
|||||||
}
|
}
|
||||||
|
|
||||||
footer .category {
|
footer .category {
|
||||||
|
color: $category-color;
|
||||||
|
border: 1px solid $category-color;
|
||||||
|
padding: 0 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer .tag {
|
||||||
color: $tag-color;
|
color: $tag-color;
|
||||||
border: 1px solid $tag-color;
|
border: 1px solid $tag-color;
|
||||||
padding: 0 0.5rem;
|
padding: 0 0.5rem;
|
||||||
|
font-size: 0.8rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,6 +31,10 @@
|
|||||||
{{ range (.GetTerms "categories") }}
|
{{ range (.GetTerms "categories") }}
|
||||||
<a class="category" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
<a class="category" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ range (.GetTerms "tags") }}
|
||||||
|
<a class="tag" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
||||||
|
{{ end }}
|
||||||
</footer>
|
</footer>
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user