Various improvements to directories and design

This commit is contained in:
Nathan Schneider
2025-06-25 21:20:28 -07:00
parent 975158ad0c
commit dfda606591
25 changed files with 125 additions and 47 deletions

View File

@@ -17,7 +17,7 @@
{{ if .Params.tags }}
<div class="tags">
{{ range .Params.tags }}
<span class="tag">{{ . }}</span>
<a href="/{{ $.Section }}/?tag={{ . | urlize }}" class="tag">{{ . }}</a>
{{ end }}
</div>
{{ end }}
@@ -91,6 +91,14 @@
margin: 0.25rem 0.25rem 0 0;
border-radius: 0.25rem;
font-size: 0.875rem;
text-decoration: none;
transition: all 0.2s ease;
}
.tag:hover {
background: var(--e2c-yellow);
color: var(--text-primary);
transform: translateY(-1px);
}
</style>
{{ end }}