mirror of
https://github.com/Theodor-Springmann-Stiftung/lenz-web.git
synced 2026-03-21 05:45:32 +00:00
FIX: helpers +tag inspection
This commit is contained in:
@@ -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
39
uniq.txt
Normal 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='[.*]'
|
||||||
Reference in New Issue
Block a user