mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-05 20:57:28 +01:00
Collections: Add short description to profile pages
This commit is contained in:
parent
bd46943c63
commit
5ce5684ca6
@ -221,7 +221,10 @@
|
|||||||
<a class="float-end btn btn-primary btn-sm" href="{{ url_for('collections.view', author=collection.author.username, name=collection.name) }}">
|
<a class="float-end btn btn-primary btn-sm" href="{{ url_for('collections.view', author=collection.author.username, name=collection.name) }}">
|
||||||
View collection
|
View collection
|
||||||
</a>
|
</a>
|
||||||
<h2>{{ collection.title }}</h2>
|
<h2 class="mb-3">{{ collection.title }}</h2>
|
||||||
|
<p class="mt-0 mb-4">
|
||||||
|
{{ collection.short_description }}
|
||||||
|
</p>
|
||||||
{% set collection_packages = collection.packages | limit(4) %}
|
{% set collection_packages = collection.packages | limit(4) %}
|
||||||
{{ render_pkggrid(collection_packages) }}
|
{{ render_pkggrid(collection_packages) }}
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
Reference in New Issue
Block a user