fix: game meta data

This commit is contained in:
Devin Haska 2025-01-26 17:26:28 -08:00
parent e847649457
commit 35096419cc
2 changed files with 6 additions and 2 deletions

View file

@ -23,7 +23,6 @@ layout: "layouts/base"
<div class="flow flex-col justify-center"> <div class="flow flex-col justify-center">
<div class="flex items-center gap-0.5 flex-wrap"> <div class="flex items-center gap-0.5 flex-wrap">
<h2>{{ title }}</h2> <h2>{{ title }}</h2>
<span class="pill">{{ platform }}</span>
</div> </div>
{% if subtitle %}<h2>{{ subtitle }}</h2>{% endif %} {% if subtitle %}<h2>{{ subtitle }}</h2>{% endif %}
{% if rating %}{{ stars(rating) }}{% endif %} {% if rating %}{{ stars(rating) }}{% endif %}
@ -33,6 +32,11 @@ layout: "layouts/base"
<strong>Released</strong><span>{{ year }}</span> <strong>Released</strong><span>{{ year }}</span>
</li> </li>
{% endif %} {% endif %}
{% if platform %}
<li class="flex-col">
<strong>Platform</strong><span>{{ platform }}</span>
</li>
{% endif %}
{% if playtime %} {% if playtime %}
<li class="flex-col"> <li class="flex-col">
<strong>Playtime</strong><span>{{ playtime }}</span> <strong>Playtime</strong><span>{{ playtime }}</span>

View file

@ -1,6 +1,6 @@
--- ---
title: "Animal Crossings: New Horizons" title: "Animal Crossings: New Horizons"
platform: Switch platform: Nintendo Switch
image: https://cdn.wonderfulfrog.com/images/acnh.jpg image: https://cdn.wonderfulfrog.com/images/acnh.jpg
tags: tags:
- single-player - single-player