mirror of
https://github.com/jbcr/core.git
synced 2026-04-25 17:48:07 +02:00
Add description to ContentTypes
This commit is contained in:
@@ -163,6 +163,7 @@ showcases:
|
||||
slug: showcases
|
||||
singular_name: Showcase
|
||||
singular_slug: showcase
|
||||
description: The 'Showcases' is not particularly useful in most cases, but it does a good job of showcasing most of the available fieldtypes.
|
||||
fields:
|
||||
title:
|
||||
type: text
|
||||
|
||||
@@ -132,6 +132,10 @@
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
{% if contentType.description %}
|
||||
<p>{{ contentType.description }}</p>
|
||||
{% endif %}
|
||||
|
||||
<ul class="px-2">
|
||||
<li>Name: <code>{{ contentType.name }}</code> (singular: <code>{{ contentType.singular_name }}</code>)</li>
|
||||
<li>Slug: <code>{{ contentType.slug }}</code> (singular: <code>{{ contentType.singular_slug }}</code>)</li>
|
||||
|
||||
Reference in New Issue
Block a user