diff --git a/app/Utils/media.php b/app/Utils/media.php index a8d82aa..02514e5 100644 --- a/app/Utils/media.php +++ b/app/Utils/media.php @@ -29,14 +29,14 @@ if (! function_exists('renderMediaGrid')) { echo '
'; if ($title || $subtext) { - echo '
'; + echo ''; if ($title) { echo '
'.$title.'
'; } if ($subtext) { echo '
'.$subtext.'
'; } - echo '
'; + echo ''; } echo ' * { - color: var(--text-color-inverted); - } -} diff --git a/src/includes/static/media/grid.liquid b/src/includes/static/media/grid.liquid index e9a50f7..0555546 100644 --- a/src/includes/static/media/grid.liquid +++ b/src/includes/static/media/grid.liquid @@ -6,15 +6,14 @@
{%- if item.grid.title or item.grid.subtext -%} -
- {% if item.grid.title %} -
{{ item.grid.title }}
- {% endif %} - {% if item.grid.subtext %} -
{{ item.grid.subtext }}
- {% endif %} - -
+ + {% if item.grid.title %} +
{{ item.grid.title }}
+ {% endif %} + {% if item.grid.subtext %} +
{{ item.grid.subtext }}
+ {% endif %} +
{%- endif -%} {%- assign imageClass = "square" -%} {%- assign width = 150 -%} diff --git a/src/includes/static/media/watching/hero.liquid b/src/includes/static/media/watching/hero.liquid index 3b4bde8..e01d142 100644 --- a/src/includes/static/media/watching/hero.liquid +++ b/src/includes/static/media/watching/hero.liquid @@ -1,6 +1,6 @@
-
+
{{ movie.title }}
{%- if movie.rating -%} @@ -8,7 +8,7 @@ {%- endif -%} ({{ movie.year }})
-
+ {% render "static/blocks/hero.liquid", globals:globals, image:movie.backdrop,