Make separate kinds of Descriptions
All checks were successful
️Upload Website / sftp (push) Successful in 14s

This commit is contained in:
blryface 2024-04-07 03:10:23 -03:00
parent 80870547d0
commit 62b80d2b60
2 changed files with 5 additions and 2 deletions

View file

@ -16,18 +16,21 @@
'name' => 'Panorama Socialist Federation',
'flag' => 'https://raw.theclashfruit.me/CRSS/CRSS/main/Nations/Republic%20of%20Panorama/Flag.svg',
'short' => 'psf',
'short_description' => 'The first nation, prev. known as ROP.',
'description' => 'The first nation on CRSS, previously known as ROP.',
),
'drr' => array(
'name' => 'Democratic Republic of Rayland',
'flag' => 'https://raw.theclashfruit.me/CRSS/CRSS/main/Nations/Democratic%20Republic%20of%20Rayland/bannre.png',
'short' => 'drr',
'description' => 'Short description of D.R.R.',
'short_description' => 'Short description of D.R.R.',
'description' => 'Full description of D.R.R', //does this support html and line breaks
),
'cnk' => array(
'name' => 'Chunkia',
'flag' => 'https://raw.theclashfruit.me/CRSS/CRSS/main/Nations/Chunkia/chunkia512.png',
'short' => 'cnk',
'short_description', => 'Chunkia is based in a chaotic landscape',
'description' => 'In the chaos of Minecraft, chunk errors are inevitable. Chunkia is based in one.',
)
);

View file

@ -10,7 +10,7 @@
{% for nation in nations %}
<a class="card transitionEnabled" href="/nation/{{ nation.short }}">
<h1>{{ nation.name }}</h1>
<p>{{ nation.description }}</p>
<p>{{ nation.short_description }}</p>
<img class="icon" src="{{ nation.flag }}">
</a>
{% endfor %}