import (
"context"
+ "errors"
"html/template"
"path/filepath"
"strings"
func Includes(includes ...compile.Source) Config {
return func(p *Page) {
+ for _, src := range includes {
+ p.err = errors.Join(p.err, src.Error())
+ }
p.includes = includes
}
}
import (
"context"
+ "errors"
"text/template"
"git.earlybird.gay/today/include"
func Includes(includes ...compile.Source) Config {
return func(p *Part) {
+ for _, src := range includes {
+ p.err = errors.Join(p.err, src.Error())
+ }
p.includes = includes
}
}