FIX: helpers +tag inspection

This commit is contained in:
Simon Martens
2026-02-19 21:13:01 +01:00
parent 5551dd7626
commit ef219a1c84
2 changed files with 39 additions and 21 deletions

View File

@@ -9,27 +9,6 @@ import (
"github.com/Theodor-Springmann-Stiftung/lenz-web/templates" "github.com/Theodor-Springmann-Stiftung/lenz-web/templates"
) )
func (a *App) Error() error {
a.mu.Lock()
defer a.mu.Unlock()
return a.err
}
func discoverPages(app *App) ([]Route, error) {
var routes []Route
for _, page := range RegisteredPages() {
discovered, err := page.Discover(app)
if err != nil {
return nil, err
}
for i := range discovered {
discovered[i].page = page
}
routes = append(routes, discovered...)
}
return routes, nil
}
func parseTemplates() (*template.Template, error) { func parseTemplates() (*template.Template, error) {
paths := make([]string, 0, 16) paths := make([]string, 0, 16)

39
uniq.txt Normal file
View File

@@ -0,0 +1,39 @@
IGNORE:
address
BASE:
aq
b // im Druck
del
dul
tul
er
gr
hb
ink // wechsel der Tinte ref="2"
it // im Druck
pe
ru
tl // Textverlust
ul
fn[@index='1'] & anchor // keine ref? irgendwie nur die anchors in den footnotes?
INLINE-SONDERFÄLLE:
nr[@extent='1-4|8|30'] oder ohne default = 1
subst (+kinder) = Überschreibungen
insertion
del in subst
hand
INLINE-BLOCK:
align center|right
tab 2|12|8
BLOCK:
note? evtl.
tabs
letterText (wie line type="break" falls kein line)
line (Fälle: empty, tab 1-2|4-8, break)
page[@index='1-14']
sidenote[@pos='left|right|(bottom|top [left|right])' and @page='1-14' and @annotation='[.*]'