Make separate kinds of Descriptions
All checks were successful
️Upload Website / sftp (push) Successful in 14s
All checks were successful
️Upload Website / sftp (push) Successful in 14s
This commit is contained in:
parent
80870547d0
commit
62b80d2b60
|
@ -16,18 +16,21 @@
|
||||||
'name' => 'Panorama Socialist Federation',
|
'name' => 'Panorama Socialist Federation',
|
||||||
'flag' => 'https://raw.theclashfruit.me/CRSS/CRSS/main/Nations/Republic%20of%20Panorama/Flag.svg',
|
'flag' => 'https://raw.theclashfruit.me/CRSS/CRSS/main/Nations/Republic%20of%20Panorama/Flag.svg',
|
||||||
'short' => 'psf',
|
'short' => 'psf',
|
||||||
|
'short_description' => 'The first nation, prev. known as ROP.',
|
||||||
'description' => 'The first nation on CRSS, previously known as ROP.',
|
'description' => 'The first nation on CRSS, previously known as ROP.',
|
||||||
),
|
),
|
||||||
'drr' => array(
|
'drr' => array(
|
||||||
'name' => 'Democratic Republic of Rayland',
|
'name' => 'Democratic Republic of Rayland',
|
||||||
'flag' => 'https://raw.theclashfruit.me/CRSS/CRSS/main/Nations/Democratic%20Republic%20of%20Rayland/bannre.png',
|
'flag' => 'https://raw.theclashfruit.me/CRSS/CRSS/main/Nations/Democratic%20Republic%20of%20Rayland/bannre.png',
|
||||||
'short' => 'drr',
|
'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(
|
'cnk' => array(
|
||||||
'name' => 'Chunkia',
|
'name' => 'Chunkia',
|
||||||
'flag' => 'https://raw.theclashfruit.me/CRSS/CRSS/main/Nations/Chunkia/chunkia512.png',
|
'flag' => 'https://raw.theclashfruit.me/CRSS/CRSS/main/Nations/Chunkia/chunkia512.png',
|
||||||
'short' => 'cnk',
|
'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.',
|
'description' => 'In the chaos of Minecraft, chunk errors are inevitable. Chunkia is based in one.',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
{% for nation in nations %}
|
{% for nation in nations %}
|
||||||
<a class="card transitionEnabled" href="/nation/{{ nation.short }}">
|
<a class="card transitionEnabled" href="/nation/{{ nation.short }}">
|
||||||
<h1>{{ nation.name }}</h1>
|
<h1>{{ nation.name }}</h1>
|
||||||
<p>{{ nation.description }}</p>
|
<p>{{ nation.short_description }}</p>
|
||||||
<img class="icon" src="{{ nation.flag }}">
|
<img class="icon" src="{{ nation.flag }}">
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue