Compare commits

..

No commits in common. "965d2c87f5e365a0cf0bef8947dc252b86239bc4" and "a8fb7f62ad3436df891cf2fe8848cdcc33191633" have entirely different histories.

3 changed files with 4 additions and 15 deletions

View File

@ -664,10 +664,3 @@ input.input-line, input.input-line:active {
.search.input.is-error {
outline: red solid 4px;
}
.tag {
background: #deeeee;
color: #444;
border-radius: 3px;
padding: 2px 4px;
}

View File

@ -937,16 +937,8 @@ func renderLinks(pageText string, edit bool) string {
s = strings.TrimSuffix(s, "]]")
s = strings.TrimSpace(s)
if tag {
switch s {
case "TODO":
return fmt.Sprint(`[ ] `)
case "DONE":
return fmt.Sprint(`[X] `)
default:
return fmt.Sprintf(`<a href=%q class="tag">%s</a>`, cleanNameURL(s), s)
}
}
editPart := ""
if edit {
editPart = "edit/"

View File

@ -44,5 +44,9 @@
.edit {
color: red;
}
.tag {
color: #444;
}
</style>
{{ end }}