-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
themeRelated to the themeRelated to the theme
Description
Is your feature request related to a problem? Please describe.
I want to display a list of detail items for a feature inside the home layout of the default theme.
Describe the solution you'd like
Just make the details of a feature string | string[]. Example:
features:
- title: A
details:
- detail 1
- detail 2
- detail 3When a list of detail items is provided these items should be rendered as an unordered list
<template v-if="details">
<ul v-if="Arrays.isArray(details)">
<li v-for="(detail, index) of details" :key="index">{{detail}}</li>
</ul>
<p v-else class="details" v-html="details"></p>
</templateDescribe alternatives you've considered
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the docs.
- Read the Contributing Guidelines.
- Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
themeRelated to the themeRelated to the theme