diff options
| author | grm <grm@eyesin.space> | 2026-09-17 21:47:37 +0300 |
|---|---|---|
| committer | grm <grm@eyesin.space> | 2026-09-17 21:47:37 +0300 |
| commit | eaa6dc04d05ad24dea5a7b211928cddb6db5aa73 (patch) | |
| tree | e5f54fc6543fb968265ed6a04bad9b45c7c070a8 /internal/web/templates/dashboard/design.html | |
| parent | 2a347ced1b4ea8c24440f646df35207c3a3597ac (diff) | |
| download | blogspace-eaa6dc04d05ad24dea5a7b211928cddb6db5aa73.tar.gz blogspace-eaa6dc04d05ad24dea5a7b211928cddb6db5aa73.tar.bz2 blogspace-eaa6dc04d05ad24dea5a7b211928cddb6db5aa73.zip | |
Add a colons kind to the rule under titles, and stop its label wrapping
The design form's hint on "Rule under titles" wrapped to three lines and
pushed the select below its neighbours; it is a note under the row now.
"Colons" is a row of ":" (a long string in an ::after, clipped to the
title's width), the look of the reference site's dotted borders in text.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sd8UPWrvyYCLj97JexNw3A
Diffstat (limited to 'internal/web/templates/dashboard/design.html')
| -rw-r--r-- | internal/web/templates/dashboard/design.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/web/templates/dashboard/design.html b/internal/web/templates/dashboard/design.html index 798a0d0..0ce7c6d 100644 --- a/internal/web/templates/dashboard/design.html +++ b/internal/web/templates/dashboard/design.html @@ -187,10 +187,11 @@ <label class="check"><input type="checkbox" name="show_dates"{{if $t.ShowDates}} checked{{end}}> {{t "Show the date on posts"}}</label> <label class="check"><input type="checkbox" name="tag_hash"{{if $t.TagHash}} checked{{end}}> {{t "Show tags with a # in front"}} <span class="muted">(#garden)</span></label> <div class="row"> - <label>{{t "Rule under titles"}} <span class="muted">({{t "page and post titles, in the link colour"}})</span><br><select name="title_rule"> + <label>{{t "Rule under titles"}}<br><select name="title_rule"> <option value="none"{{if eq $t.TitleRule "none"}} selected{{end}}>{{t "None"}}</option> <option value="line"{{if eq $t.TitleRule "line"}} selected{{end}}>{{t "Line"}}</option> <option value="dots"{{if eq $t.TitleRule "dots"}} selected{{end}}>{{t "Dots"}}</option> + <option value="colons"{{if eq $t.TitleRule "colons"}} selected{{end}}>{{t "Colons"}} (::::)</option> <option value="stripes"{{if eq $t.TitleRule "stripes"}} selected{{end}}>{{t "Stripes"}}</option> </select></label> <label>{{t "Date format"}}<br><select name="date_format"> @@ -202,6 +203,7 @@ {{range .Data.perPage}}<option value="{{.}}"{{if eq . $t.PostsPerPage}} selected{{end}}>{{.}}</option>{{end}} </select></label> </div> + <p class="muted small">{{t "The rule goes under page and post titles, in the link colour."}}</p> <div class="row"> <label>{{t "On listings show"}}<br><select name="list_style"> <option value="full"{{if eq $t.ListStyle "full"}} selected{{end}}>{{t "The whole post"}}</option> |
