forked from CRSS/Website
Make separate kinds of Descriptions
This commit is contained in:
parent
80870547d0
commit
62b80d2b60
|
@ -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.',
|
||||
)
|
||||
);
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue