Add podcast listing page

This commit is contained in:
Oliver Davies 2025-05-25 19:48:07 +01:00
parent 203056d54a
commit fc1beaf3fb
10 changed files with 414 additions and 2 deletions

View file

@ -48,6 +48,7 @@ module:
metatag_twitter_cards: 0
node: 0
opd_daily_emails: 0
opd_podcast: 0
options: 0
page_cache: 0
path: 0

View file

@ -14,4 +14,4 @@ description: null
help: null
new_revision: true
preview_mode: 1
display_submitted: false
display_submitted: true

View file

@ -0,0 +1,204 @@
uuid: 18036b67-1a46-4b88-a11c-64253e3e2ada
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- node.type.podcast_episode
module:
- node
- user
id: podcast_episodes
label: 'Podcast episodes'
module: views
description: ''
tag: ''
base_table: node_field_data
base_field: nid
display:
default:
id: default
display_title: Default
display_plugin: default
position: 0
display_options:
title: 'The Beyond Blocks Podcast'
fields:
title:
id: title
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: title
plugin_id: field
label: ''
exclude: false
alter:
alter_text: false
make_link: false
absolute: false
word_boundary: false
ellipsis: false
strip_tags: false
trim: false
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
pager:
type: mini
options:
offset: 0
pagination_heading_level: h4
items_per_page: 10
total_pages: null
id: 0
tags:
next:
previous:
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: perm
options:
perm: 'access content'
cache:
type: tag
options: { }
empty: { }
sorts:
field_episode_number_value:
id: field_episode_number_value
table: node__field_episode_number
field: field_episode_number_value
relationship: none
group_type: group
admin_label: ''
plugin_id: standard
order: DESC
expose:
label: ''
field_identifier: ''
exposed: false
arguments: { }
filters:
status:
id: status
table: node_field_data
field: status
entity_type: node
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
type:
id: type
table: node_field_data
field: type
entity_type: node
entity_field: type
plugin_id: bundle
value:
podcast_episode: podcast_episode
style:
type: default
row:
type: 'entity:node'
options:
relationship: none
view_mode: teaser
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
header:
area:
id: area
table: views
field: area
relationship: none
group_type: group
admin_label: ''
plugin_id: text
empty: false
content:
value: "<p>A podcast about Drupal, PHP, open-source, and related software development topics.\r\nGuests include people like <a href=\"/podcast/1-retrofit\">Matt Glaman</a>, <a href=\"/podcast/8-eirik-morland-violinist\">Eirik Morland</a>, <a href=\"/podcast/9-tim-lehnen\">Tim Lehnen</a>, <a href=\"/podcast/13-ryan-szrama-centarro\">Ryan Szrama</a>, <a href=\"/podcast/19-sam-mortenson\">Sam Mortenson</a> and <a href=\"/podcast/25-jess-archer-drush-laravel-prompts\">Jess Archer</a>.</p>"
format: basic_html
tokenize: false
footer: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags: { }
page_1:
id: page_1
display_title: Page
display_plugin: page
position: 1
display_options:
display_extenders: { }
path: podcast
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags: { }