feature: ajout de couleurs sur les catégories dans la main page + suppression info footer

This commit is contained in:
noego
2024-02-15 18:27:47 +01:00
parent 944ddc3c7e
commit 36fd3135fe
3 changed files with 109 additions and 60 deletions

View File

@ -84,6 +84,16 @@
<p>{{ .Summary | plainify | htmlUnescape }}{{ if .Truncated }}...{{ end }}</p>
</div>
{{- end }}
<div class="entry-categories">
{{- range .Params.categories }}
<span class="category category-{{ . | lower }}">{{ . }}</span>
{{- end }}
</div>
<div class="entry-tags">
{{- range .Params.tags }}
<span class="tag">{{ . }}</span>
{{- end }}
</div>
{{- if not (.Param "hideMeta") }}
<footer class="entry-footer">
{{- partial "post_meta.html" . -}}