diff --git a/internal/epub/core.go b/internal/epub/core.go
index da0ff2c..bbde21c 100644
--- a/internal/epub/core.go
+++ b/internal/epub/core.go
@@ -321,11 +321,13 @@ func (e *ePub) Write() error {
var content string
if e.AddPanelView {
content = e.render(textTmpl, map[string]any{
+ "Info": e,
"Image": img,
"Manga": e.Manga,
})
} else {
content = e.render(textNoPanelTmpl, map[string]any{
+ "Info": e,
"Image": img,
})
}
diff --git a/internal/epub/templates/content.opf.tmpl b/internal/epub/templates/content.opf.tmpl
index 730190c..511757d 100644
--- a/internal/epub/templates/content.opf.tmpl
+++ b/internal/epub/templates/content.opf.tmpl
@@ -15,7 +15,7 @@
pre-paginated
portrait
-
+
{{ if eq $info.AddPanelView true }}
{{ end }}
@@ -49,9 +49,9 @@