Skip to content

Commit

Permalink
feat: add field for custom theme
Browse files Browse the repository at this point in the history
  • Loading branch information
greatislander committed Apr 19, 2024
1 parent 538ea2d commit 2acfd72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/_includes/partials/components/submission.njk
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
{%- endif -%}
{%- endfor -%}
{%- if not loop.last %}, {% endif %}
{%- endfor %}
{%- endfor -%}
{%- if submission.data.customTheme %}, {{ submission.data.customTheme }}{% endif %}
</div>
<div class="content">
<div class="flow">
Expand Down
1 change: 1 addition & 0 deletions src/admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ collections:
- {label: Preview Image Alternative Text, name: previewImageAlt, widget: string, i18n: true, required: false}
- {label: Presenters, name: presenters, widget: list, i18n: duplicate, hint: Enter a comma-separated list of names.}
- {label: Themes, name: themes, widget: relation, multiple: true, collection: themes, search_fields: [title], value_field: uuid, display_fields: [title], i18n: duplicate}
- {label: Custom Theme, name: customTheme, widget: string, i18n: true, required: false}
- label: Text
name: text
widget: object
Expand Down

0 comments on commit 2acfd72

Please sign in to comment.