theme: add descriptions

This commit is contained in:
Marcel Hollerbach 2016-12-29 22:03:38 +01:00
parent 9b163de27c
commit 9045d3022b
3 changed files with 10 additions and 1 deletions

View File

@ -3,13 +3,15 @@ THEMES = {
'theme_id': 'arc-dark',
'name': 'Arc Dark',
'author': 'LeBlue',
'description': 'Arc theme for enlightenment.',
'version': 1
},
'blingbling': {
'theme_id': 'blingbling',
'name': 'Bling',
'author': 'netstar',
'version': 3
'description': 'The theme used while e17 was in development.',
'version': 2
},
'detourious': {
'theme_id': 'detourious',
@ -21,6 +23,7 @@ THEMES = {
'theme_id': 'eflemettary',
'name': 'Eflemettary',
'author': 'NikaWhite, rimmed, FurryMad and LordDrew',
'description': 'A theme written and designed with eflete',
'version': 1,
}
}

View File

@ -8,6 +8,9 @@
<ul class="theme-meta">
<li>Author: {{ theme['author'] }}</li>
<li>Version: {{ theme['version'] }}</li>
{% if theme['description'] %}
<li>Description: {{ theme['description'] }}</li>
{% endif %}
</ul>
<br /><br />

View File

@ -11,6 +11,9 @@
<li><a href="{{ theme_id }}">{{ themes[theme_id].name }}</a></li>
<li>Author: {{ themes[theme_id].author }}</li>
<li>Version: {{ themes[theme_id].version }}</li>
{% if themes[theme_id].description %}
<li>Description: {{ themes[theme_id].description }}</li>
{% endif %}
</ul>
</li>
{% endfor %}