Browse by topic
-- {{ .title }} - test data -
--
- {{ range $data }}
-
- - {{ $page := $scope.GetPage (printf "/topics/%s" . ) }} - {{ title }} - - {{ end }} -
diff --git a/config/non_production/devel.settings.yml b/config/non_production/devel.settings.yml deleted file mode 100644 index 976cc91f..00000000 --- a/config/non_production/devel.settings.yml +++ /dev/null @@ -1,12 +0,0 @@ -_core: - default_config_hash: Aqx6J0yYT6mVqT0fbjeP4JkoL-700nmudVF5d6Pq2Yo -page_alter: false -raw_names: false -error_handlers: - 1: 1 -rebuild_theme: false -debug_mail_file_format: '%to-%subject-%datetime.mail.txt' -debug_mail_directory: 'temporary://devel-mails' -devel_dumper: var_dumper -debug_logfile: 'temporary://drupal_debug.txt' -debug_pre: true diff --git a/config/non_production/devel.toolbar.settings.yml b/config/non_production/devel.toolbar.settings.yml deleted file mode 100644 index 76ada43c..00000000 --- a/config/non_production/devel.toolbar.settings.yml +++ /dev/null @@ -1,10 +0,0 @@ -_core: - default_config_hash: IQjf_ytthngZTAk_MU8-74VecArWD3G5g0oEH6PM6GA -toolbar_items: - - devel.admin_settings_link - - devel.cache_clear - - devel.container_info.service - - devel.menu_rebuild - - devel.reinstall - - devel.route_info - - devel.run_cron diff --git a/config/non_production/masquerade.settings.yml b/config/non_production/masquerade.settings.yml deleted file mode 100644 index 61e484e5..00000000 --- a/config/non_production/masquerade.settings.yml +++ /dev/null @@ -1,3 +0,0 @@ -_core: - default_config_hash: eCQ24ejs0wqkx4JLFdGMME3I2C-8KtL54L9L_oNN3js -update_user_last_access: false diff --git a/config/non_production/system.menu.devel.yml b/config/non_production/system.menu.devel.yml deleted file mode 100644 index 146a7a1a..00000000 --- a/config/non_production/system.menu.devel.yml +++ /dev/null @@ -1,13 +0,0 @@ -uuid: 02575de8-7caf-46cb-82db-4ee0da873807 -langcode: en -status: true -dependencies: - enforced: - module: - - devel -_core: - default_config_hash: 3V-l1uuTcyirYOGLPZV5HWaDfr02uEbWZJIwc8Byz-c -id: devel -label: Development -description: 'Links related to Devel module.' -locked: true diff --git a/config/sync/core.entity_form_display.node.resources.default.yml b/config/sync/core.entity_form_display.node.resources.default.yml index a9cc2d52..c651f840 100644 --- a/config/sync/core.entity_form_display.node.resources.default.yml +++ b/config/sync/core.entity_form_display.node.resources.default.yml @@ -70,22 +70,10 @@ content: maxlength_js_label: 'Content limited to @limit characters, remaining: @remaining' maxlength_js_enforce: true field_topics: - type: inline_entity_form_complex + type: options_buttons weight: 4 region: content - settings: - form_mode: default - override_labels: false - label_singular: '' - label_plural: '' - allow_new: true - allow_existing: true - match_operator: CONTAINS - allow_duplicate: false - collapsible: true - collapsed: true - revision: false - removed_reference: optional + settings: { } third_party_settings: { } moderation_state: type: moderation_state_default diff --git a/config/sync/core.entity_form_display.node.topics.default.yml b/config/sync/core.entity_form_display.node.topics.default.yml index e49bd09c..1097af23 100644 --- a/config/sync/core.entity_form_display.node.topics.default.yml +++ b/config/sync/core.entity_form_display.node.topics.default.yml @@ -11,6 +11,7 @@ dependencies: - field.field.node.topics.field_legislation - field.field.node.topics.field_page_weight - field.field.node.topics.field_primary_image + - field.field.node.topics.field_resource_topics - field.field.node.topics.field_slug - field.field.node.topics.field_summary - node.type.topics @@ -77,7 +78,7 @@ content: third_party_settings: { } field_featured_links: type: paragraphs - weight: 13 + weight: 14 region: content settings: title: Paragraph @@ -97,7 +98,7 @@ content: third_party_settings: { } field_featured_resources: type: paragraphs - weight: 12 + weight: 13 region: content settings: title: Paragraph @@ -137,9 +138,15 @@ content: settings: media_types: { } third_party_settings: { } + field_resource_topics: + type: options_buttons + weight: 12 + region: content + settings: { } + third_party_settings: { } field_slug: type: string_textfield - weight: 14 + weight: 15 region: content settings: size: 60 @@ -165,7 +172,7 @@ content: third_party_settings: { } path: type: path - weight: 30 + weight: 16 region: content settings: { } third_party_settings: { } @@ -203,7 +210,7 @@ content: removed_reference: optional third_party_settings: { } url_redirects: - weight: 50 + weight: 17 region: content settings: { } third_party_settings: { } diff --git a/config/sync/core.entity_form_display.taxonomy_term.resource_topics.default.yml b/config/sync/core.entity_form_display.taxonomy_term.resource_topics.default.yml new file mode 100644 index 00000000..13bb4e21 --- /dev/null +++ b/config/sync/core.entity_form_display.taxonomy_term.resource_topics.default.yml @@ -0,0 +1,48 @@ +uuid: 69a2b41e-b8b5-484c-99ff-aa177245cccf +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.resource_topics + module: + - path + - text +id: taxonomy_term.resource_topics.default +targetEntityType: taxonomy_term +bundle: resource_topics +mode: default +content: + description: + type: text_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + name: + type: string_textfield + weight: -5 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + path: + type: path + weight: 30 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + weight: 100 + region: content + settings: + display_label: true + third_party_settings: { } +hidden: + publish_on: true + publish_state: true + unpublish_on: true + unpublish_state: true diff --git a/config/sync/core.entity_view_display.node.resources.default.yml b/config/sync/core.entity_view_display.node.resources.default.yml index 61287c93..6d0cef44 100644 --- a/config/sync/core.entity_view_display.node.resources.default.yml +++ b/config/sync/core.entity_view_display.node.resources.default.yml @@ -25,6 +25,11 @@ content: third_party_settings: { } weight: 101 region: content + content_moderation_control: + settings: { } + third_party_settings: { } + weight: -20 + region: content field_deck: type: text_default label: above diff --git a/config/sync/core.entity_view_display.node.resources.teaser.yml b/config/sync/core.entity_view_display.node.resources.teaser.yml index 8f0161ec..24ea0bf3 100644 --- a/config/sync/core.entity_view_display.node.resources.teaser.yml +++ b/config/sync/core.entity_view_display.node.resources.teaser.yml @@ -27,6 +27,11 @@ content: third_party_settings: { } weight: 101 region: content + content_moderation_control: + settings: { } + third_party_settings: { } + weight: -20 + region: content links: settings: { } third_party_settings: { } diff --git a/config/sync/core.entity_view_display.node.topics.default.yml b/config/sync/core.entity_view_display.node.topics.default.yml index ca704a66..4a5b8c91 100644 --- a/config/sync/core.entity_view_display.node.topics.default.yml +++ b/config/sync/core.entity_view_display.node.topics.default.yml @@ -11,6 +11,7 @@ dependencies: - field.field.node.topics.field_legislation - field.field.node.topics.field_page_weight - field.field.node.topics.field_primary_image + - field.field.node.topics.field_resource_topics - field.field.node.topics.field_slug - field.field.node.topics.field_summary - node.type.topics @@ -29,19 +30,19 @@ content: label: hidden settings: { } third_party_settings: { } - weight: 101 + weight: 3 region: content content_moderation_control: settings: { } third_party_settings: { } - weight: -20 + weight: 0 region: content field_deck: type: text_default label: above settings: { } third_party_settings: { } - weight: 108 + weight: 7 region: content field_featured_communities: type: entity_reference_label @@ -49,7 +50,7 @@ content: settings: link: true third_party_settings: { } - weight: 118 + weight: 10 region: content field_featured_links: type: entity_reference_revisions_entity_view @@ -58,7 +59,7 @@ content: view_mode: featured_links link: '' third_party_settings: { } - weight: 8 + weight: 1 region: content field_featured_resources: type: entity_reference_revisions_entity_view @@ -67,7 +68,7 @@ content: view_mode: default link: '' third_party_settings: { } - weight: 119 + weight: 11 region: content field_legislation: type: link @@ -79,7 +80,7 @@ content: rel: '' target: '' third_party_settings: { } - weight: 117 + weight: 9 region: content field_page_weight: type: number_integer @@ -88,7 +89,7 @@ content: thousand_separator: '' prefix_suffix: true third_party_settings: { } - weight: 102 + weight: 4 region: content field_primary_image: type: entity_reference_entity_view @@ -97,7 +98,7 @@ content: view_mode: default link: false third_party_settings: { } - weight: 114 + weight: 8 region: content field_slug: type: string @@ -105,18 +106,19 @@ content: settings: link_to_entity: false third_party_settings: { } - weight: 106 + weight: 6 region: content field_summary: type: text_default label: above settings: { } third_party_settings: { } - weight: 104 + weight: 5 region: content links: settings: { } third_party_settings: { } - weight: 100 + weight: 2 region: content -hidden: { } +hidden: + field_resource_topics: true diff --git a/config/sync/core.entity_view_display.node.topics.teaser.yml b/config/sync/core.entity_view_display.node.topics.teaser.yml index c4d17611..8237c0d6 100644 --- a/config/sync/core.entity_view_display.node.topics.teaser.yml +++ b/config/sync/core.entity_view_display.node.topics.teaser.yml @@ -12,6 +12,7 @@ dependencies: - field.field.node.topics.field_legislation - field.field.node.topics.field_page_weight - field.field.node.topics.field_primary_image + - field.field.node.topics.field_resource_topics - field.field.node.topics.field_slug - field.field.node.topics.field_summary - node.type.topics @@ -49,5 +50,6 @@ hidden: field_legislation: true field_page_weight: true field_primary_image: true + field_resource_topics: true field_slug: true field_summary: true diff --git a/config/sync/field.field.node.topics.field_resource_topics.yml b/config/sync/field.field.node.topics.field_resource_topics.yml new file mode 100644 index 00000000..7af4f714 --- /dev/null +++ b/config/sync/field.field.node.topics.field_resource_topics.yml @@ -0,0 +1,29 @@ +uuid: 2e907097-408b-473f-8086-4fb7ba955204 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_resource_topics + - node.type.topics + - taxonomy.vocabulary.resource_topics +id: node.topics.field_resource_topics +field_name: field_resource_topics +entity_type: node +bundle: topics +label: 'Resource Topics' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + resource_topics: resource_topics + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: '' +field_type: entity_reference diff --git a/config/sync/field.storage.node.field_resource_topics.yml b/config/sync/field.storage.node.field_resource_topics.yml new file mode 100644 index 00000000..fc44b3f7 --- /dev/null +++ b/config/sync/field.storage.node.field_resource_topics.yml @@ -0,0 +1,20 @@ +uuid: 878b01e1-bec0-4d14-8adf-719997559c6d +langcode: en +status: true +dependencies: + module: + - node + - taxonomy +id: node.field_resource_topics +field_name: field_resource_topics +entity_type: node +type: entity_reference +settings: + target_type: taxonomy_term +module: core +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/taxonomy.vocabulary.resource_topics.yml b/config/sync/taxonomy.vocabulary.resource_topics.yml new file mode 100644 index 00000000..aebf5cae --- /dev/null +++ b/config/sync/taxonomy.vocabulary.resource_topics.yml @@ -0,0 +1,25 @@ +uuid: 315c759e-5dd2-4073-a98e-0224b63b9a27 +langcode: en +status: true +dependencies: + module: + - scheduler +third_party_settings: + scheduler: + expand_fieldset: when_required + fields_display_mode: vertical_tab + publish_enable: false + publish_past_date: error + publish_past_date_created: false + publish_required: false + publish_revision: false + publish_touch: false + show_message_after_update: true + unpublish_enable: false + unpublish_required: false + unpublish_revision: false +name: 'Resource Topics' +vid: resource_topics +description: 'Used to categorize resources' +weight: 0 +new_revision: false diff --git a/config/sync/views.view.resource_topics_list.yml b/config/sync/views.view.resource_topics_list.yml new file mode 100644 index 00000000..f5485009 --- /dev/null +++ b/config/sync/views.view.resource_topics_list.yml @@ -0,0 +1,369 @@ +uuid: b956e79a-4c90-48e8-b73d-c5e149adef17 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_resource_topics + - node.type.topics + - taxonomy.vocabulary.resource_topics + module: + - node + - taxonomy + - user +id: resource_topics_list +label: 'Resource Topics List' +module: views +description: 'Lists topics grouped by resource topic' +tag: '' +base_table: node_field_data +base_field: nid +display: + default: + id: default + display_title: Default + display_plugin: default + position: 0 + display_options: + title: 'Resource Topics List' + fields: + view_node: + id: view_node + table: node + field: view_node + relationship: none + group_type: group + admin_label: '' + entity_type: node + plugin_id: entity_link + label: '' + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + text: view + output_url_as_text: true + absolute: false + field_resource_topics: + id: field_resource_topics + table: node__field_resource_topics + field: field_resource_topics + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_label + settings: + link: false + group_column: target_id + 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 + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: false + alter: + alter_text: true + text: '{{ title }}' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '0' + element_class: dg-resource-topics-list__link + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: false + 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: none + options: + offset: 0 + 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: + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: standard + order: ASC + 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: + topics: topics + field_resource_topics_target_id: + id: field_resource_topics_target_id + table: node__field_resource_topics + field: field_resource_topics_target_id + relationship: none + group_type: group + admin_label: '' + plugin_id: taxonomy_index_tid + operator: 'not empty' + value: { } + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + reduce_duplicates: false + vid: resource_topics + type: textfield + hierarchy: false + limit: true + error_message: true + style: + type: html_list + options: + grouping: + - + field: field_resource_topics + rendered: true + rendered_strip: false + row_class: '' + default_row_class: false + type: ul + wrapper_class: item-list + class: '' + row: + type: fields + options: + default_field_elements: false + inline: { } + separator: '' + hide_empty: false + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } + header: { } + footer: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - 'user.node_grants:view' + - user.permissions + tags: + - 'config:field.storage.node.field_resource_topics' + by_resource_topic: + id: by_resource_topic + display_title: Block + display_plugin: block + position: 1 + display_options: + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - 'user.node_grants:view' + - user.permissions + tags: + - 'config:field.storage.node.field_resource_topics' diff --git a/web/modules/custom/default_content_config/content/file/c3fcdadf-e13d-460a-9b68-318f9779d476.yml b/web/modules/custom/default_content_config/content/file/7001a125-efcb-442e-97ac-5698ed50fa07.yml similarity index 86% rename from web/modules/custom/default_content_config/content/file/c3fcdadf-e13d-460a-9b68-318f9779d476.yml rename to web/modules/custom/default_content_config/content/file/7001a125-efcb-442e-97ac-5698ed50fa07.yml index 58d8e65e..a3b37a2a 100644 --- a/web/modules/custom/default_content_config/content/file/c3fcdadf-e13d-460a-9b68-318f9779d476.yml +++ b/web/modules/custom/default_content_config/content/file/7001a125-efcb-442e-97ac-5698ed50fa07.yml @@ -1,7 +1,7 @@ _meta: version: '1.0' entity_type: file - uuid: c3fcdadf-e13d-460a-9b68-318f9779d476 + uuid: 7001a125-efcb-442e-97ac-5698ed50fa07 default_langcode: en default: uid: @@ -24,4 +24,4 @@ default: value: true created: - - value: 1733188190 + value: 1734729213 diff --git a/web/modules/custom/default_content_config/content/file/0c46b2b3-2b2a-4a22-9312-e592d51a5889.yml b/web/modules/custom/default_content_config/content/file/a696bf0d-3c4d-4047-b7e7-4b409e75ed67.yml similarity index 86% rename from web/modules/custom/default_content_config/content/file/0c46b2b3-2b2a-4a22-9312-e592d51a5889.yml rename to web/modules/custom/default_content_config/content/file/a696bf0d-3c4d-4047-b7e7-4b409e75ed67.yml index aaef062a..70fc77bb 100644 --- a/web/modules/custom/default_content_config/content/file/0c46b2b3-2b2a-4a22-9312-e592d51a5889.yml +++ b/web/modules/custom/default_content_config/content/file/a696bf0d-3c4d-4047-b7e7-4b409e75ed67.yml @@ -1,7 +1,7 @@ _meta: version: '1.0' entity_type: file - uuid: 0c46b2b3-2b2a-4a22-9312-e592d51a5889 + uuid: a696bf0d-3c4d-4047-b7e7-4b409e75ed67 default_langcode: en default: uid: @@ -24,4 +24,4 @@ default: value: true created: - - value: 1733188190 + value: 1734729213 diff --git a/web/modules/custom/default_content_config/content/file/3ba4ed8d-23fd-4e62-a5b8-bee532b86165.yml b/web/modules/custom/default_content_config/content/file/f68f33ed-b8ec-44e9-97ef-712d4f211f7a.yml similarity index 86% rename from web/modules/custom/default_content_config/content/file/3ba4ed8d-23fd-4e62-a5b8-bee532b86165.yml rename to web/modules/custom/default_content_config/content/file/f68f33ed-b8ec-44e9-97ef-712d4f211f7a.yml index a11b0253..dc07bc8e 100644 --- a/web/modules/custom/default_content_config/content/file/3ba4ed8d-23fd-4e62-a5b8-bee532b86165.yml +++ b/web/modules/custom/default_content_config/content/file/f68f33ed-b8ec-44e9-97ef-712d4f211f7a.yml @@ -1,7 +1,7 @@ _meta: version: '1.0' entity_type: file - uuid: 3ba4ed8d-23fd-4e62-a5b8-bee532b86165 + uuid: f68f33ed-b8ec-44e9-97ef-712d4f211f7a default_langcode: en default: uid: @@ -24,4 +24,4 @@ default: value: true created: - - value: 1733188190 + value: 1734729213 diff --git a/web/modules/custom/default_content_config/content/node/4533b7eb-0c1c-4ef0-97ee-1bee41e44b82.yml b/web/modules/custom/default_content_config/content/node/4533b7eb-0c1c-4ef0-97ee-1bee41e44b82.yml index 502c84d1..eb092c2c 100644 --- a/web/modules/custom/default_content_config/content/node/4533b7eb-0c1c-4ef0-97ee-1bee41e44b82.yml +++ b/web/modules/custom/default_content_config/content/node/4533b7eb-0c1c-4ef0-97ee-1bee41e44b82.yml @@ -4,6 +4,8 @@ _meta: uuid: 4533b7eb-0c1c-4ef0-97ee-1bee41e44b82 bundle: topics default_langcode: en + depends: + f8550cd7-fdea-4a8e-b1cf-6a3e2b4fa3aa: taxonomy_term default: revision_uid: - @@ -36,7 +38,7 @@ default: pathauto: 0 field_deck: - - value: 'Crowdsourcing and citizen science can accelerate discovery across the U.S. government.' + value: '
Crowdsourcing and citizen science can accelerate discovery across the U.S. government.
' format: single_inline_html field_featured_links: - @@ -90,7 +92,10 @@ default: uri: 'https://www.whitehouse.gov/briefing-room/presidential-actions/2023/10/30/executive-order-on-the-safe-secure-and-trustworthy-development-and-use-of-artificial-intelligence/' title: 'Crowdsourcing and Citizen Science Act of 2016' options: { } + field_resource_topics: + - + entity: f8550cd7-fdea-4a8e-b1cf-6a3e2b4fa3aa field_summary: - - value: 'Through citizen science and crowdsourcing, the federal government and nongovernmental organizations can engage the public in addressing societal needs and accelerating science, technology, and innovation.' + value: 'Through citizen science and crowdsourcing, the federal government and nongovernmental organizations can engage the public in addressing societal needs and accelerating science, technology, and innovation.
' format: single_inline_html diff --git a/web/modules/custom/default_content_config/content/node/58b5051e-356e-4ace-be42-ca090259d6ab.yml b/web/modules/custom/default_content_config/content/node/58b5051e-356e-4ace-be42-ca090259d6ab.yml index 9fbbe58b..51955b40 100644 --- a/web/modules/custom/default_content_config/content/node/58b5051e-356e-4ace-be42-ca090259d6ab.yml +++ b/web/modules/custom/default_content_config/content/node/58b5051e-356e-4ace-be42-ca090259d6ab.yml @@ -8,6 +8,7 @@ _meta: 623a2982-602b-4762-a59e-9a7c30c64f36: node cbcd65ff-8274-46c7-89bc-9f8c2bdaddd3: node 47d1784c-68a3-4a3b-a341-3e4f8d092253: media + 748e020d-b8c3-4080-851d-225c789cc64f: taxonomy_term default: revision_uid: - @@ -40,7 +41,7 @@ default: pathauto: 0 field_deck: - - value: 'As agencies carry out their diverse missions, they must also respect and protect personally identifiable information (PII)' + value: 'As agencies carry out their diverse missions, they must also respect and protect personally identifiable information (PII)
' format: single_inline_html field_featured_communities: - @@ -78,7 +79,10 @@ default: field_primary_image: - entity: 47d1784c-68a3-4a3b-a341-3e4f8d092253 + field_resource_topics: + - + entity: 748e020d-b8c3-4080-851d-225c789cc64f field_summary: - - value: 'For the public to have trust in government institutions, they need to know that their personal information is secure, and will be used only for legitimate purposes. Privacy violations can put people at risk for identity theft, financial fraud, discriminat' + value: 'For the public to have trust in government institutions, they need to know that their personal information is secure, and will be used only for legitimate purposes. Privacy violations can put people at risk for identity theft, financial fraud, discriminat
' format: single_inline_html diff --git a/web/modules/custom/default_content_config/content/node/80caaa35-a22b-43ae-a72c-9a714c333a06.yml b/web/modules/custom/default_content_config/content/node/80caaa35-a22b-43ae-a72c-9a714c333a06.yml index 34254ad6..bd9db910 100644 --- a/web/modules/custom/default_content_config/content/node/80caaa35-a22b-43ae-a72c-9a714c333a06.yml +++ b/web/modules/custom/default_content_config/content/node/80caaa35-a22b-43ae-a72c-9a714c333a06.yml @@ -8,6 +8,7 @@ _meta: bd7fedff-9767-49b3-8a71-8bab51265a86: node 3c8c1a7b-5b5b-4196-b435-1fa57ff0230b: node 6bd8641f-84c6-4ddb-b8b2-9c076b017198: media + f8550cd7-fdea-4a8e-b1cf-6a3e2b4fa3aa: taxonomy_term default: revision_uid: - @@ -40,7 +41,7 @@ default: pathauto: 0 field_deck: - - value: 'easure and plan your site performance with analytics best practices and tools' + value: 'easure and plan your site performance with analytics best practices and tools
' format: single_inline_html field_featured_communities: - @@ -100,7 +101,10 @@ default: field_primary_image: - entity: 6bd8641f-84c6-4ddb-b8b2-9c076b017198 + field_resource_topics: + - + entity: f8550cd7-fdea-4a8e-b1cf-6a3e2b4fa3aa field_summary: - - value: 'Web analytics provide valuable insights into how users interact with a website. Use the data gained from web analytics to identify areas for improvement and make data-driven decisions. This can lead to a more user-friendly and engaging website, which can ' + value: 'Web analytics provide valuable insights into how users interact with a website. Use the data gained from web analytics to identify areas for improvement and make data-driven decisions. This can lead to a more user-friendly and engaging website, which can
' format: single_inline_html diff --git a/web/modules/custom/default_content_config/content/node/8f5405bb-957a-4842-b1fb-6276ef95a165.yml b/web/modules/custom/default_content_config/content/node/8f5405bb-957a-4842-b1fb-6276ef95a165.yml index 3a46a90a..3497f2bf 100644 --- a/web/modules/custom/default_content_config/content/node/8f5405bb-957a-4842-b1fb-6276ef95a165.yml +++ b/web/modules/custom/default_content_config/content/node/8f5405bb-957a-4842-b1fb-6276ef95a165.yml @@ -4,6 +4,8 @@ _meta: uuid: 8f5405bb-957a-4842-b1fb-6276ef95a165 bundle: resources default_langcode: en + depends: + bfc21cc0-5de7-4b9f-8dcd-4b1da264ace5: node default: revision_uid: - @@ -41,5 +43,8 @@ default: summary: '' field_summary: - - value: 'Help your readers complete their tasks with these Plain Language writing tips.' + value: 'Help your readers complete their tasks with these Plain Language writing tips.
' format: single_inline_html + field_topics: + - + entity: bfc21cc0-5de7-4b9f-8dcd-4b1da264ace5 diff --git a/web/modules/custom/default_content_config/content/node/95077128-6d33-4445-a48a-4ad8ebb7d9b3.yml b/web/modules/custom/default_content_config/content/node/95077128-6d33-4445-a48a-4ad8ebb7d9b3.yml index b0b46512..1231cc13 100644 --- a/web/modules/custom/default_content_config/content/node/95077128-6d33-4445-a48a-4ad8ebb7d9b3.yml +++ b/web/modules/custom/default_content_config/content/node/95077128-6d33-4445-a48a-4ad8ebb7d9b3.yml @@ -6,6 +6,7 @@ _meta: default_langcode: en depends: 623a2982-602b-4762-a59e-9a7c30c64f36: node + 888d7b2e-4872-4c90-a3e9-554cae9ce376: taxonomy_term default: revision_uid: - @@ -38,7 +39,7 @@ default: pathauto: 0 field_deck: - - value: 'Digital infrastructure means hardware and software. It Includes physical and virtual “cloud” storage spaces.' + value: 'Digital infrastructure means hardware and software. It Includes physical and virtual “cloud” storage spaces.
' format: single_inline_html field_featured_communities: - @@ -98,7 +99,10 @@ default: field_page_weight: - value: 2 + field_resource_topics: + - + entity: 888d7b2e-4872-4c90-a3e9-554cae9ce376 field_summary: - - value: 'Digital infrastructure includes hardware and software components that build the foundation of information technology systems. When you save a file online instead of on your own computer, you’re saving it virtually in “the cloud.” The cloud is a network of' + value: 'Digital infrastructure includes hardware and software components that build the foundation of information technology systems. When you save a file online instead of on your own computer, you’re saving it virtually in “the cloud.” The cloud is a network of
' format: single_inline_html diff --git a/web/modules/custom/default_content_config/content/node/ad7aa7a5-33cf-400e-93cf-11820e467111.yml b/web/modules/custom/default_content_config/content/node/ad7aa7a5-33cf-400e-93cf-11820e467111.yml index 0773e81c..81c208ad 100644 --- a/web/modules/custom/default_content_config/content/node/ad7aa7a5-33cf-400e-93cf-11820e467111.yml +++ b/web/modules/custom/default_content_config/content/node/ad7aa7a5-33cf-400e-93cf-11820e467111.yml @@ -6,7 +6,7 @@ _meta: default_langcode: en depends: 623a2982-602b-4762-a59e-9a7c30c64f36: node - 3c8c1a7b-5b5b-4196-b435-1fa57ff0230b: node + 6d6fe15a-3790-4abf-bbf6-3d4c7babf9bd: taxonomy_term default: revision_uid: - @@ -44,7 +44,7 @@ default: summary: '' field_deck: - - value: 'The design of products, devices, services, or environments for people with disabilities' + value: 'The design of products, devices, services, or environments for people with disabilities
' format: single_inline_html field_featured_communities: - @@ -253,9 +253,6 @@ default: behavior_settings: - value: { } - field_content: - - - entity: 3c8c1a7b-5b5b-4196-b435-1fa57ff0230b field_legislation: - uri: 'https://www.section508.gov/manage/laws-and-policies/' @@ -264,10 +261,13 @@ default: field_page_weight: - value: 2 + field_resource_topics: + - + entity: 6d6fe15a-3790-4abf-bbf6-3d4c7babf9bd field_slug: - value: accessibility field_summary: - - value: "Accessibility isn't just the right thing to do; it’s the law. The guidance, resources, and community you find here will help you deliver accessible digital products and services in the federal government." + value: "Accessibility isn't just the right thing to do; it’s the law. The guidance, resources, and community you find here will help you deliver accessible digital products and services in the federal government.
" format: single_inline_html diff --git a/web/modules/custom/default_content_config/content/node/bfc21cc0-5de7-4b9f-8dcd-4b1da264ace5.yml b/web/modules/custom/default_content_config/content/node/bfc21cc0-5de7-4b9f-8dcd-4b1da264ace5.yml index beefe4a4..7f72521c 100644 --- a/web/modules/custom/default_content_config/content/node/bfc21cc0-5de7-4b9f-8dcd-4b1da264ace5.yml +++ b/web/modules/custom/default_content_config/content/node/bfc21cc0-5de7-4b9f-8dcd-4b1da264ace5.yml @@ -7,6 +7,7 @@ _meta: depends: f8ffffda-7ab8-48d7-8e20-2f5d5277ec6d: node 8f5405bb-957a-4842-b1fb-6276ef95a165: node + 7712d589-8810-410e-b508-33104dbb9393: taxonomy_term default: revision_uid: - @@ -201,7 +202,10 @@ default: field_page_weight: - value: 2 + field_resource_topics: + - + entity: 7712d589-8810-410e-b508-33104dbb9393 field_summary: - - value: 'Plain language is communication that is clear and easy to understand for your target audience, regardless of the medium used to deliver it. It is communication your audience can understand the first time they encounter it. Using plain language on governme' + value: 'Plain language is communication that is clear and easy to understand for your target audience, regardless of the medium used to deliver it. It is communication your audience can understand the first time they encounter it. Using plain language on governme
' format: single_inline_html diff --git a/web/modules/custom/default_content_config/content/taxonomy_term/6d6fe15a-3790-4abf-bbf6-3d4c7babf9bd.yml b/web/modules/custom/default_content_config/content/taxonomy_term/6d6fe15a-3790-4abf-bbf6-3d4c7babf9bd.yml new file mode 100644 index 00000000..01de55d3 --- /dev/null +++ b/web/modules/custom/default_content_config/content/taxonomy_term/6d6fe15a-3790-4abf-bbf6-3d4c7babf9bd.yml @@ -0,0 +1,24 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 6d6fe15a-3790-4abf-bbf6-3d4c7babf9bd + bundle: resource_topics + default_langcode: en +default: + status: + - + value: true + name: + - + value: Design + weight: + - + value: 0 + parent: + - + target_id: 0 + path: + - + alias: '' + langcode: en + pathauto: 0 diff --git a/web/modules/custom/default_content_config/content/taxonomy_term/748e020d-b8c3-4080-851d-225c789cc64f.yml b/web/modules/custom/default_content_config/content/taxonomy_term/748e020d-b8c3-4080-851d-225c789cc64f.yml new file mode 100644 index 00000000..11f90664 --- /dev/null +++ b/web/modules/custom/default_content_config/content/taxonomy_term/748e020d-b8c3-4080-851d-225c789cc64f.yml @@ -0,0 +1,24 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 748e020d-b8c3-4080-851d-225c789cc64f + bundle: resource_topics + default_langcode: en +default: + status: + - + value: true + name: + - + value: Operations + weight: + - + value: 0 + parent: + - + target_id: 0 + path: + - + alias: '' + langcode: en + pathauto: 0 diff --git a/web/modules/custom/default_content_config/content/taxonomy_term/7712d589-8810-410e-b508-33104dbb9393.yml b/web/modules/custom/default_content_config/content/taxonomy_term/7712d589-8810-410e-b508-33104dbb9393.yml new file mode 100644 index 00000000..a6dfb670 --- /dev/null +++ b/web/modules/custom/default_content_config/content/taxonomy_term/7712d589-8810-410e-b508-33104dbb9393.yml @@ -0,0 +1,24 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 7712d589-8810-410e-b508-33104dbb9393 + bundle: resource_topics + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Content & communication' + weight: + - + value: 0 + parent: + - + target_id: 0 + path: + - + alias: '' + langcode: en + pathauto: 0 diff --git a/web/modules/custom/default_content_config/content/taxonomy_term/888d7b2e-4872-4c90-a3e9-554cae9ce376.yml b/web/modules/custom/default_content_config/content/taxonomy_term/888d7b2e-4872-4c90-a3e9-554cae9ce376.yml new file mode 100644 index 00000000..aea7a5a2 --- /dev/null +++ b/web/modules/custom/default_content_config/content/taxonomy_term/888d7b2e-4872-4c90-a3e9-554cae9ce376.yml @@ -0,0 +1,24 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: 888d7b2e-4872-4c90-a3e9-554cae9ce376 + bundle: resource_topics + default_langcode: en +default: + status: + - + value: true + name: + - + value: Technology + weight: + - + value: 0 + parent: + - + target_id: 0 + path: + - + alias: '' + langcode: en + pathauto: 0 diff --git a/web/modules/custom/default_content_config/content/taxonomy_term/f8550cd7-fdea-4a8e-b1cf-6a3e2b4fa3aa.yml b/web/modules/custom/default_content_config/content/taxonomy_term/f8550cd7-fdea-4a8e-b1cf-6a3e2b4fa3aa.yml new file mode 100644 index 00000000..c763f093 --- /dev/null +++ b/web/modules/custom/default_content_config/content/taxonomy_term/f8550cd7-fdea-4a8e-b1cf-6a3e2b4fa3aa.yml @@ -0,0 +1,24 @@ +_meta: + version: '1.0' + entity_type: taxonomy_term + uuid: f8550cd7-fdea-4a8e-b1cf-6a3e2b4fa3aa + bundle: resource_topics + default_langcode: en +default: + status: + - + value: true + name: + - + value: 'Data & analysis' + weight: + - + value: 0 + parent: + - + target_id: 0 + path: + - + alias: '' + langcode: en + pathauto: 0 diff --git a/web/themes/custom/digital_gov/digital_gov.theme b/web/themes/custom/digital_gov/digital_gov.theme index 9fc670e7..418e8707 100644 --- a/web/themes/custom/digital_gov/digital_gov.theme +++ b/web/themes/custom/digital_gov/digital_gov.theme @@ -192,3 +192,20 @@ function digital_gov_theme_suggestions_node_alter(array &$suggestions, array $va break; } } + +/** + * Implements hook_theme_suggestions_user_alter(). + */ +function digital_gov_theme_suggestions_container_alter(array &$suggestions, array $variables) { + if (!isset($variables['element']['#name'])) { + return $suggestions; + } + // A list of view names in which to exclude the container markup. + $exclude_views = [ + 'resource_topics_list', + ]; + + if (in_array($variables['element']['#name'], $exclude_views)) { + $suggestions[] = 'container__no_wrapper'; + } +} diff --git a/web/themes/custom/digital_gov/templates/container--no-wrapper.html.twig b/web/themes/custom/digital_gov/templates/container--no-wrapper.html.twig new file mode 100644 index 00000000..ff50d3f4 --- /dev/null +++ b/web/themes/custom/digital_gov/templates/container--no-wrapper.html.twig @@ -0,0 +1,3 @@ +{# Template to remove the wrapper div around a view #} +{# See digital_gov_theme_suggestions_container_alter() #} +{{ children }} diff --git a/web/themes/custom/digital_gov/templates/node/node--landing-page--resources.html.twig b/web/themes/custom/digital_gov/templates/node/node--landing-page--resources.html.twig index ee1131e0..bc8665f5 100644 --- a/web/themes/custom/digital_gov/templates/node/node--landing-page--resources.html.twig +++ b/web/themes/custom/digital_gov/templates/node/node--landing-page--resources.html.twig @@ -62,7 +62,6 @@ * @ingroup themeable */ #} -