aboutsummaryrefslogtreecommitdiff
path: root/internal/bible/booktable.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/bible/booktable.go')
-rw-r--r--internal/bible/booktable.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/bible/booktable.go b/internal/bible/booktable.go
index 007e75e..9ec95be 100644
--- a/internal/bible/booktable.go
+++ b/internal/bible/booktable.go
@@ -88,6 +88,10 @@ func mustReadEmbedded() []byte {
return b
}
+// DefaultBooksTOML returns the embedded default books.toml (the seed the
+// /settings editor shows when the user has no override yet).
+func DefaultBooksTOML() []byte { return mustReadEmbedded() }
+
func parseBooks(data []byte) (map[string]map[string][]string, error) {
var raw map[string]map[string][]string
if err := toml.Unmarshal(data, &raw); err != nil {