diff --git a/templates/base.gohtml b/templates/base.gohtml index 15b914f..eb67256 100644 --- a/templates/base.gohtml +++ b/templates/base.gohtml @@ -144,7 +144,9 @@ - {{template "content" .}} + {{block "page_container" .}} + {{template "content" .}} + {{end}} diff --git a/templates/components/anime_card.gohtml b/templates/components/anime_card.gohtml index eecb164..19a5447 100644 --- a/templates/components/anime_card.gohtml +++ b/templates/components/anime_card.gohtml @@ -17,13 +17,16 @@ {{$displayTitle := $anime.DisplayTitle}}
+
{{if .CurrentEpisode.Valid}}Episode {{.CurrentEpisode.Int64}}{{end}}