diff --git a/config/sync/core.entity_form_display.config_pages.stanford_basic_site_settings.default.yml b/config/sync/core.entity_form_display.config_pages.stanford_basic_site_settings.default.yml index 4ffcecd1c..9a7a7a4de 100644 --- a/config/sync/core.entity_form_display.config_pages.stanford_basic_site_settings.default.yml +++ b/config/sync/core.entity_form_display.config_pages.stanford_basic_site_settings.default.yml @@ -238,13 +238,16 @@ content: save_lineage: false force_deepest: false parent: null - level_labels: 'Org Code, Group' + level_labels: '' hierarchy_depth: 0 required_depth: 0 none_label: '- Please select -' third_party_settings: change_labels: + add_another: '' field_label_overwrite: '' + hide_add_another: 0 + force_single_cardinality: 0 su_site_owner_contact: type: email_default weight: 4 diff --git a/config/sync/core.entity_view_display.node.stanford_event.stanford_card.yml b/config/sync/core.entity_view_display.node.stanford_event.stanford_card.yml index 7eff3f11e..72a441209 100644 --- a/config/sync/core.entity_view_display.node.stanford_event.stanford_card.yml +++ b/config/sync/core.entity_view_display.node.stanford_event.stanford_card.yml @@ -48,13 +48,13 @@ third_party_settings: field_templates: only_content regions: start_month: - - 'dynamic_token_field:node-event_start_month' + - 'display_field_copy:node-event_date_time_1' start_date: - - 'dynamic_token_field:node-event_start_day' + - 'display_field_copy:node-event_date_time_2' end_month: - - 'dynamic_token_field:node-date_end_month' + - 'display_field_copy:node-event_date_time_3' end_date: - - 'dynamic_token_field:node-date_end_day' + - 'display_field_copy:node-event_date_time_4' event_type: - su_event_type headline: @@ -70,29 +70,97 @@ third_party_settings: address: - su_event_location fields: - 'dynamic_token_field:node-date_end_day': - plugin_id: 'dynamic_token_field:node-date_end_day' - weight: 3 + 'display_field_copy:node-event_date_time_1': + plugin_id: 'display_field_copy:node-event_date_time_1' + weight: 0 label: hidden - formatter: default - 'dynamic_token_field:node-date_end_month': - plugin_id: 'dynamic_token_field:node-date_end_month' - weight: 2 + formatter: smartdate_default + settings: + formatter: + parts: + start: start + end: 0 + duration: 0 + timezone_override: '' + format: short_month + duration: + separator: ' | ' + unit: '' + decimals: '2' + suffix: h + time_wrapper: '1' + force_chronological: 0 + add_classes: 0 + localize: 0 + 'display_field_copy:node-event_date_time_2': + plugin_id: 'display_field_copy:node-event_date_time_2' + weight: 0 label: hidden - formatter: default - 'dynamic_token_field:node-event_start_day': - plugin_id: 'dynamic_token_field:node-event_start_day' - weight: 1 + formatter: smartdate_default + settings: + formatter: + parts: + start: start + end: 0 + duration: 0 + timezone_override: '' + format: day + duration: + separator: ' | ' + unit: '' + decimals: '2' + suffix: h + time_wrapper: '1' + force_chronological: 0 + add_classes: 0 + localize: 0 + 'display_field_copy:node-event_date_time_3': + plugin_id: 'display_field_copy:node-event_date_time_3' + weight: 0 label: hidden - formatter: default - 'dynamic_token_field:node-event_start_month': - plugin_id: 'dynamic_token_field:node-event_start_month' + formatter: smartdate_default + settings: + formatter: + parts: + end: end + start: 0 + duration: 0 + timezone_override: '' + format: short_month + duration: + separator: ' | ' + unit: '' + decimals: '2' + suffix: h + time_wrapper: '1' + force_chronological: 0 + add_classes: 0 + localize: 0 + 'display_field_copy:node-event_date_time_4': + plugin_id: 'display_field_copy:node-event_date_time_4' weight: 0 label: hidden - formatter: default + formatter: smartdate_default + settings: + formatter: + parts: + end: end + start: 0 + duration: 0 + timezone_override: '' + format: day + duration: + separator: ' | ' + unit: '' + decimals: '2' + suffix: h + time_wrapper: '1' + force_chronological: 0 + add_classes: 0 + localize: 0 node_title: plugin_id: node_title - weight: 5 + weight: 6 label: hidden formatter: default settings: @@ -110,7 +178,7 @@ content: settings: link_to_entity: false third_party_settings: { } - weight: 9 + weight: 10 region: location su_event_date_time: type: smartdate_default @@ -122,17 +190,26 @@ content: force_chronological: false add_classes: false time_wrapper: true + localize: false + parts: + - start + - end + duration: + separator: ' | ' + unit: '' + decimals: 2 + suffix: h third_party_settings: field_formatter_class: class: '' - weight: 8 + weight: 9 region: date_time su_event_location: type: address_default label: hidden settings: { } third_party_settings: { } - weight: 10 + weight: 11 region: address su_event_source: type: link @@ -146,7 +223,7 @@ content: third_party_settings: field_formatter_class: class: '' - weight: 7 + weight: 8 region: url su_event_subheadline: type: string @@ -154,7 +231,7 @@ content: settings: link_to_entity: false third_party_settings: { } - weight: 6 + weight: 7 region: subheadline su_event_type: type: entity_reference_label @@ -166,7 +243,7 @@ content: class: '' ds: ds_limit: '1' - weight: 4 + weight: 5 region: event_type hidden: body: true diff --git a/config/sync/core.entity_view_display.node.stanford_event.teaser.yml b/config/sync/core.entity_view_display.node.stanford_event.teaser.yml index c371e07e6..5556aed26 100644 --- a/config/sync/core.entity_view_display.node.stanford_event.teaser.yml +++ b/config/sync/core.entity_view_display.node.stanford_event.teaser.yml @@ -49,13 +49,13 @@ third_party_settings: field_templates: only_content regions: start_month: - - 'dynamic_token_field:node-event_start_month' + - 'display_field_copy:node-event_date_time_1' start_date: - - 'dynamic_token_field:node-event_start_day' + - 'display_field_copy:node-event_date_time_2' end_month: - - 'dynamic_token_field:node-date_end_month' + - 'display_field_copy:node-event_date_time_3' end_date: - - 'dynamic_token_field:node-date_end_day' + - 'display_field_copy:node-event_date_time_4' event_type: - su_event_type headline: @@ -69,29 +69,97 @@ third_party_settings: date_time: - su_event_date_time location: - - su_event_location - su_event_alt_loc + - su_event_location fields: - 'dynamic_token_field:node-date_end_day': - plugin_id: 'dynamic_token_field:node-date_end_day' - weight: 3 + 'display_field_copy:node-event_date_time_1': + plugin_id: 'display_field_copy:node-event_date_time_1' + weight: 0 label: hidden - formatter: default - 'dynamic_token_field:node-date_end_month': - plugin_id: 'dynamic_token_field:node-date_end_month' - weight: 2 + formatter: smartdate_default + settings: + formatter: + parts: + start: start + end: 0 + duration: 0 + timezone_override: '' + format: short_month + duration: + separator: ' | ' + unit: '' + decimals: '2' + suffix: h + time_wrapper: '1' + force_chronological: 0 + add_classes: 0 + localize: 0 + 'display_field_copy:node-event_date_time_2': + plugin_id: 'display_field_copy:node-event_date_time_2' + weight: 0 label: hidden - formatter: default - 'dynamic_token_field:node-event_start_day': - plugin_id: 'dynamic_token_field:node-event_start_day' - weight: 1 + formatter: smartdate_default + settings: + formatter: + parts: + start: start + end: 0 + duration: 0 + timezone_override: '' + format: day + duration: + separator: ' | ' + unit: '' + decimals: '2' + suffix: h + time_wrapper: '1' + force_chronological: 0 + add_classes: 0 + localize: 0 + 'display_field_copy:node-event_date_time_3': + plugin_id: 'display_field_copy:node-event_date_time_3' + weight: 0 label: hidden - formatter: default - 'dynamic_token_field:node-event_start_month': - plugin_id: 'dynamic_token_field:node-event_start_month' + formatter: smartdate_default + settings: + formatter: + parts: + end: end + start: 0 + duration: 0 + timezone_override: '' + format: short_month + duration: + separator: ' | ' + unit: '' + decimals: '2' + suffix: h + time_wrapper: '1' + force_chronological: 0 + add_classes: 0 + localize: 0 + 'display_field_copy:node-event_date_time_4': + plugin_id: 'display_field_copy:node-event_date_time_4' weight: 0 label: hidden - formatter: default + formatter: smartdate_default + settings: + formatter: + parts: + end: end + start: 0 + duration: 0 + timezone_override: '' + format: day + duration: + separator: ' | ' + unit: '' + decimals: '2' + suffix: h + time_wrapper: '1' + force_chronological: 0 + add_classes: 0 + localize: 0 node_title: plugin_id: node_title weight: 5 @@ -122,6 +190,17 @@ content: format_type: medium format: stanford_events_long force_chronological: false + add_classes: false + time_wrapper: true + localize: false + parts: + - start + - end + duration: + separator: ' | ' + unit: '' + decimals: 2 + suffix: h third_party_settings: field_formatter_class: class: '' @@ -141,7 +220,7 @@ content: settings: { } third_party_settings: { } weight: 11 - region: address + region: location su_event_source: type: link label: hidden diff --git a/config/sync/ds.field.basic_page_type_content_url.yml b/config/sync/ds.field.basic_page_type_content_url.yml deleted file mode 100644 index 06b37d519..000000000 --- a/config/sync/ds.field.basic_page_type_content_url.yml +++ /dev/null @@ -1,11 +0,0 @@ -id: basic_page_type_content_url -label: 'Basic Page Type Content URL' -ui_limit: 'stanford_page|*' -type: token -type_label: 'Token field' -entities: - node: node -properties: - content: - value: "

[node:url]

\r\n" - format: stanford_minimal_html diff --git a/config/sync/ds.field.date_end_day.yml b/config/sync/ds.field.date_end_day.yml deleted file mode 100644 index 3156c33d0..000000000 --- a/config/sync/ds.field.date_end_day.yml +++ /dev/null @@ -1,11 +0,0 @@ -id: date_end_day -label: 'Date - End Day' -ui_limit: 'stanford_event|*' -type: token -type_label: 'Token field' -entities: - node: node -properties: - content: - value: '[node:su_event_date_time:end_value-custom:d]' - format: plain_text diff --git a/config/sync/ds.field.date_end_month.yml b/config/sync/ds.field.date_end_month.yml deleted file mode 100644 index 1f0bf0fd1..000000000 --- a/config/sync/ds.field.date_end_month.yml +++ /dev/null @@ -1,11 +0,0 @@ -id: date_end_month -label: 'Date - End Month' -ui_limit: 'stanford_event|*' -type: token -type_label: 'Token field' -entities: - node: node -properties: - content: - value: '[node:su_event_date_time:end_value-custom:M]' - format: plain_text diff --git a/config/sync/ds.field.event_date_time_1.yml b/config/sync/ds.field.event_date_time_1.yml new file mode 100644 index 000000000..4cd7619ea --- /dev/null +++ b/config/sync/ds.field.event_date_time_1.yml @@ -0,0 +1,9 @@ +id: event_date_time_1 +label: 'Date Time 1' +ui_limit: 'stanford_event|*' +type: display_field_copy +type_label: 'Copy field' +entities: + node: node +properties: + field_id: node.stanford_event.su_event_date_time diff --git a/config/sync/ds.field.event_date_time_2.yml b/config/sync/ds.field.event_date_time_2.yml new file mode 100644 index 000000000..1a0c75ccd --- /dev/null +++ b/config/sync/ds.field.event_date_time_2.yml @@ -0,0 +1,9 @@ +id: event_date_time_2 +label: 'Date Time 2' +ui_limit: 'stanford_event|*' +type: display_field_copy +type_label: 'Copy field' +entities: + node: node +properties: + field_id: node.stanford_event.su_event_date_time diff --git a/config/sync/ds.field.event_date_time_3.yml b/config/sync/ds.field.event_date_time_3.yml new file mode 100644 index 000000000..7975773f0 --- /dev/null +++ b/config/sync/ds.field.event_date_time_3.yml @@ -0,0 +1,9 @@ +id: event_date_time_3 +label: 'Date Time 3' +ui_limit: 'stanford_event|*' +type: display_field_copy +type_label: 'Copy field' +entities: + node: node +properties: + field_id: node.stanford_event.su_event_date_time diff --git a/config/sync/ds.field.event_date_time_4.yml b/config/sync/ds.field.event_date_time_4.yml new file mode 100644 index 000000000..1b2d0b145 --- /dev/null +++ b/config/sync/ds.field.event_date_time_4.yml @@ -0,0 +1,9 @@ +id: event_date_time_4 +label: 'Date Time 4' +ui_limit: 'stanford_event|*' +type: display_field_copy +type_label: 'Copy field' +entities: + node: node +properties: + field_id: node.stanford_event.su_event_date_time diff --git a/config/sync/ds.field.event_start_day.yml b/config/sync/ds.field.event_start_day.yml deleted file mode 100644 index b6d66454f..000000000 --- a/config/sync/ds.field.event_start_day.yml +++ /dev/null @@ -1,11 +0,0 @@ -id: event_start_day -label: 'Date - Start Day' -ui_limit: 'stanford_event|*' -type: token -type_label: 'Token field' -entities: - node: node -properties: - content: - value: '[node:su_event_date_time:value-custom:d]' - format: plain_text diff --git a/config/sync/ds.field.event_start_month.yml b/config/sync/ds.field.event_start_month.yml deleted file mode 100644 index ad194450c..000000000 --- a/config/sync/ds.field.event_start_month.yml +++ /dev/null @@ -1,11 +0,0 @@ -id: event_start_month -label: 'Date - Start Month' -ui_limit: 'stanford_event|*' -type: token -type_label: 'Token field' -entities: - node: node -properties: - content: - value: '[node:su_event_date_time:value-custom:M]' - format: plain_text diff --git a/config/sync/field.storage.config_pages.su_site_org.yml b/config/sync/field.storage.config_pages.su_site_org.yml index 3ab0f3fc4..a7ef34588 100644 --- a/config/sync/field.storage.config_pages.su_site_org.yml +++ b/config/sync/field.storage.config_pages.su_site_org.yml @@ -13,7 +13,7 @@ settings: target_type: taxonomy_term module: core locked: false -cardinality: 1 +cardinality: -1 translatable: true indexes: { } persist_with_no_fields: false diff --git a/config/sync/smart_date.smart_date_format.day.yml b/config/sync/smart_date.smart_date_format.day.yml new file mode 100644 index 000000000..eb88f8fa0 --- /dev/null +++ b/config/sync/smart_date.smart_date_format.day.yml @@ -0,0 +1,15 @@ +uuid: 8a731073-7673-4349-84d9-710af9c3cf32 +langcode: en +status: true +dependencies: { } +id: day +label: Day +date_format: j +time_format: '' +time_hour_format: '' +allday_label: '' +separator: ' - ' +join: ', ' +ampm_reduce: '1' +date_first: '1' +site_time_toggle: '1' diff --git a/config/sync/smart_date.smart_date_format.short_month.yml b/config/sync/smart_date.smart_date_format.short_month.yml new file mode 100644 index 000000000..7dc793d69 --- /dev/null +++ b/config/sync/smart_date.smart_date_format.short_month.yml @@ -0,0 +1,15 @@ +uuid: dadcc509-5bbe-4f59-8a3a-7b18f054d510 +langcode: en +status: true +dependencies: { } +id: short_month +label: 'Short Month' +date_format: M +time_format: '' +time_hour_format: '' +allday_label: '' +separator: ' - ' +join: ', ' +ampm_reduce: '1' +date_first: '1' +site_time_toggle: '1' diff --git a/content/taxonomy_term/0041f7fa-7608-4a39-9165-eb0fb9c592d5.yml b/content/taxonomy_term/0041f7fa-7608-4a39-9165-eb0fb9c592d5.yml index 17739c502..e054e4d1f 100644 --- a/content/taxonomy_term/0041f7fa-7608-4a39-9165-eb0fb9c592d5.yml +++ b/content/taxonomy_term/0041f7fa-7608-4a39-9165-eb0fb9c592d5.yml @@ -13,7 +13,7 @@ default: value: 'Vice Provost for Student Affairs (VPSA)' weight: - - value: 34 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/56' + href: 'http://local.cardinalsites.com/taxonomy/term/42' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/04a17e8e-a333-47ca-b5db-9d5989cbae8e.yml b/content/taxonomy_term/04a17e8e-a333-47ca-b5db-9d5989cbae8e.yml index a032bb6da..6f7645143 100644 --- a/content/taxonomy_term/04a17e8e-a333-47ca-b5db-9d5989cbae8e.yml +++ b/content/taxonomy_term/04a17e8e-a333-47ca-b5db-9d5989cbae8e.yml @@ -15,7 +15,7 @@ default: value: 'Registrars Office' weight: - - value: 1 + value: 0 parent: - entity: 0041f7fa-7608-4a39-9165-eb0fb9c592d5 @@ -32,7 +32,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/57' + href: 'http://local.cardinalsites.com/taxonomy/term/54' - tag: meta attributes: @@ -47,7 +47,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/1f588611-ddcd-4cca-b057-4cbcc1f791ae.yml b/content/taxonomy_term/1f588611-ddcd-4cca-b057-4cbcc1f791ae.yml index c6bc12164..4a1c257f7 100644 --- a/content/taxonomy_term/1f588611-ddcd-4cca-b057-4cbcc1f791ae.yml +++ b/content/taxonomy_term/1f588611-ddcd-4cca-b057-4cbcc1f791ae.yml @@ -13,7 +13,7 @@ default: value: 'Stanford Linear Accelerator (SLAC)' weight: - - value: 29 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/42' + href: 'http://local.cardinalsites.com/taxonomy/term/1' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/32028190-0690-423e-ba2a-723b0af0febb.yml b/content/taxonomy_term/32028190-0690-423e-ba2a-723b0af0febb.yml index db56de0b6..9cfb685c9 100644 --- a/content/taxonomy_term/32028190-0690-423e-ba2a-723b0af0febb.yml +++ b/content/taxonomy_term/32028190-0690-423e-ba2a-723b0af0febb.yml @@ -13,7 +13,7 @@ default: value: 'Residential & Dining Enterprises (R&DE)' weight: - - value: 19 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/54' + href: 'http://local.cardinalsites.com/taxonomy/term/47' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/33b947db-a1d0-4063-ba6a-bec47bc4e006.yml b/content/taxonomy_term/33b947db-a1d0-4063-ba6a-bec47bc4e006.yml index 16bae9e96..f0778957a 100644 --- a/content/taxonomy_term/33b947db-a1d0-4063-ba6a-bec47bc4e006.yml +++ b/content/taxonomy_term/33b947db-a1d0-4063-ba6a-bec47bc4e006.yml @@ -13,7 +13,7 @@ default: value: 'Stanford University Libraries (SUL)' weight: - - value: 31 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/60' + href: 'http://local.cardinalsites.com/taxonomy/term/30' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/35a291b2-8f74-4bb8-bc62-39e21c80e77c.yml b/content/taxonomy_term/35a291b2-8f74-4bb8-bc62-39e21c80e77c.yml index c36f316c2..48e3023b2 100644 --- a/content/taxonomy_term/35a291b2-8f74-4bb8-bc62-39e21c80e77c.yml +++ b/content/taxonomy_term/35a291b2-8f74-4bb8-bc62-39e21c80e77c.yml @@ -13,7 +13,7 @@ default: value: 'Offices of President and Provost (PPO)' weight: - - value: 18 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/38' + href: 'http://local.cardinalsites.com/taxonomy/term/26' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/3a4ad061-c28c-4125-9183-6ae995038f3f.yml b/content/taxonomy_term/3a4ad061-c28c-4125-9183-6ae995038f3f.yml index 5ac85be9e..89134904d 100644 --- a/content/taxonomy_term/3a4ad061-c28c-4125-9183-6ae995038f3f.yml +++ b/content/taxonomy_term/3a4ad061-c28c-4125-9183-6ae995038f3f.yml @@ -13,7 +13,7 @@ default: value: 'Stanford Center for Professional Development (SCPD)' weight: - - value: 25 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/73' + href: 'http://local.cardinalsites.com/taxonomy/term/21' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/46cb7fbc-27f1-483a-99b4-867600410138.yml b/content/taxonomy_term/46cb7fbc-27f1-483a-99b4-867600410138.yml index 215f459d8..2bbfdee43 100644 --- a/content/taxonomy_term/46cb7fbc-27f1-483a-99b4-867600410138.yml +++ b/content/taxonomy_term/46cb7fbc-27f1-483a-99b4-867600410138.yml @@ -13,7 +13,7 @@ default: value: 'Graduate School of Education (GSE)' weight: - - value: 12 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/66' + href: 'http://local.cardinalsites.com/taxonomy/term/17' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/495440e1-742e-445f-8b77-9a972ecb82ff.yml b/content/taxonomy_term/495440e1-742e-445f-8b77-9a972ecb82ff.yml index b01fe0bd2..2ca96d979 100644 --- a/content/taxonomy_term/495440e1-742e-445f-8b77-9a972ecb82ff.yml +++ b/content/taxonomy_term/495440e1-742e-445f-8b77-9a972ecb82ff.yml @@ -13,7 +13,7 @@ default: value: 'Staff Group/Community of Practice' weight: - - value: 23 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/72' + href: 'http://local.cardinalsites.com/taxonomy/term/41' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/55627a30-9032-44d6-aca9-aa43fc037c1e.yml b/content/taxonomy_term/55627a30-9032-44d6-aca9-aa43fc037c1e.yml index ed3708836..6e7181636 100644 --- a/content/taxonomy_term/55627a30-9032-44d6-aca9-aa43fc037c1e.yml +++ b/content/taxonomy_term/55627a30-9032-44d6-aca9-aa43fc037c1e.yml @@ -13,7 +13,7 @@ default: value: 'Office of General Counsel (OGC)' weight: - - value: 17 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/40' + href: 'http://local.cardinalsites.com/taxonomy/term/2' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/5d9e72d5-45b1-43ab-afae-f1e5bd55007f.yml b/content/taxonomy_term/5d9e72d5-45b1-43ab-afae-f1e5bd55007f.yml index fe5646a1a..cee9be65d 100644 --- a/content/taxonomy_term/5d9e72d5-45b1-43ab-afae-f1e5bd55007f.yml +++ b/content/taxonomy_term/5d9e72d5-45b1-43ab-afae-f1e5bd55007f.yml @@ -13,7 +13,7 @@ default: value: 'Stanford Doerr School of Sustainability (SDSS)' weight: - - value: 26 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/61' + href: 'http://local.cardinalsites.com/taxonomy/term/46' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/5e07046b-302f-45c7-a46d-17350cbe001d.yml b/content/taxonomy_term/5e07046b-302f-45c7-a46d-17350cbe001d.yml index 9d076776d..bb7b6f8e7 100644 --- a/content/taxonomy_term/5e07046b-302f-45c7-a46d-17350cbe001d.yml +++ b/content/taxonomy_term/5e07046b-302f-45c7-a46d-17350cbe001d.yml @@ -13,7 +13,7 @@ default: value: 'Dean of Research (DoR)' weight: - - value: 9 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/63' + href: 'http://local.cardinalsites.com/taxonomy/term/22' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/5f6ea0cd-520a-4c99-a826-592ea9c8330c.yml b/content/taxonomy_term/5f6ea0cd-520a-4c99-a826-592ea9c8330c.yml index 0602c847e..8cc9fbea6 100644 --- a/content/taxonomy_term/5f6ea0cd-520a-4c99-a826-592ea9c8330c.yml +++ b/content/taxonomy_term/5f6ea0cd-520a-4c99-a826-592ea9c8330c.yml @@ -15,7 +15,7 @@ default: value: 'Student Group' weight: - - value: 2 + value: 0 parent: - entity: 0041f7fa-7608-4a39-9165-eb0fb9c592d5 @@ -32,7 +32,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/59' + href: 'http://local.cardinalsites.com/taxonomy/term/67' - tag: meta attributes: @@ -47,7 +47,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/62bbda38-57a5-47e4-8c36-c70ea9f70f30.yml b/content/taxonomy_term/62bbda38-57a5-47e4-8c36-c70ea9f70f30.yml index 1ca38e380..add1dc7f6 100644 --- a/content/taxonomy_term/62bbda38-57a5-47e4-8c36-c70ea9f70f30.yml +++ b/content/taxonomy_term/62bbda38-57a5-47e4-8c36-c70ea9f70f30.yml @@ -13,7 +13,7 @@ default: value: 'Land, Building, and Real Estimate (LBRE)' weight: - - value: 15 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/55' + href: 'http://local.cardinalsites.com/taxonomy/term/50' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/62deaa58-ec4c-41e2-8681-d0e95965ea9d.yml b/content/taxonomy_term/62deaa58-ec4c-41e2-8681-d0e95965ea9d.yml index 019314fae..3862d4d9c 100644 --- a/content/taxonomy_term/62deaa58-ec4c-41e2-8681-d0e95965ea9d.yml +++ b/content/taxonomy_term/62deaa58-ec4c-41e2-8681-d0e95965ea9d.yml @@ -32,7 +32,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/44' + href: 'http://local.cardinalsites.com/taxonomy/term/55' - tag: meta attributes: @@ -47,7 +47,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/6940df7a-2ad4-4a64-93a8-8218a64e8169.yml b/content/taxonomy_term/6940df7a-2ad4-4a64-93a8-8218a64e8169.yml index a71f81566..56953afdd 100644 --- a/content/taxonomy_term/6940df7a-2ad4-4a64-93a8-8218a64e8169.yml +++ b/content/taxonomy_term/6940df7a-2ad4-4a64-93a8-8218a64e8169.yml @@ -32,7 +32,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/51' + href: 'http://local.cardinalsites.com/taxonomy/term/65' - tag: meta attributes: @@ -47,7 +47,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/6fa0ffd2-ceda-4598-80c0-ed01c53b0b94.yml b/content/taxonomy_term/6fa0ffd2-ceda-4598-80c0-ed01c53b0b94.yml index e83bd3870..91c2c5ded 100644 --- a/content/taxonomy_term/6fa0ffd2-ceda-4598-80c0-ed01c53b0b94.yml +++ b/content/taxonomy_term/6fa0ffd2-ceda-4598-80c0-ed01c53b0b94.yml @@ -13,7 +13,7 @@ default: value: 'School of Engineering (SoE)' weight: - - value: 20 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/65' + href: 'http://local.cardinalsites.com/taxonomy/term/7' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/72272279-9f82-476f-999e-ee008881723c.yml b/content/taxonomy_term/72272279-9f82-476f-999e-ee008881723c.yml index 6ecc6ed39..484903513 100644 --- a/content/taxonomy_term/72272279-9f82-476f-999e-ee008881723c.yml +++ b/content/taxonomy_term/72272279-9f82-476f-999e-ee008881723c.yml @@ -13,7 +13,7 @@ default: value: 'Office of External Relations (EXRE)' weight: - - value: 16 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/49' + href: 'http://local.cardinalsites.com/taxonomy/term/15' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/7888c194-dcee-4cbb-866d-b59f44113396.yml b/content/taxonomy_term/7888c194-dcee-4cbb-866d-b59f44113396.yml index 931e9fe2c..d81b47f11 100644 --- a/content/taxonomy_term/7888c194-dcee-4cbb-866d-b59f44113396.yml +++ b/content/taxonomy_term/7888c194-dcee-4cbb-866d-b59f44113396.yml @@ -13,7 +13,7 @@ default: value: 'Department of Athletics, Physical Education, and Recreation (DAPER)' weight: - - value: 10 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/62' + href: 'http://local.cardinalsites.com/taxonomy/term/52' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/87edc9eb-344d-4dde-8b8f-e78dff007eba.yml b/content/taxonomy_term/87edc9eb-344d-4dde-8b8f-e78dff007eba.yml index d1688970b..77236ea98 100644 --- a/content/taxonomy_term/87edc9eb-344d-4dde-8b8f-e78dff007eba.yml +++ b/content/taxonomy_term/87edc9eb-344d-4dde-8b8f-e78dff007eba.yml @@ -13,7 +13,7 @@ default: value: 'Vice Provost for Undergraduate Education (VPUE)' weight: - - value: 35 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/53' + href: 'http://local.cardinalsites.com/taxonomy/term/16' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/8ad381b4-5b30-4afe-83f9-32ab80d009f6.yml b/content/taxonomy_term/8ad381b4-5b30-4afe-83f9-32ab80d009f6.yml index 72500fb16..a447771cf 100644 --- a/content/taxonomy_term/8ad381b4-5b30-4afe-83f9-32ab80d009f6.yml +++ b/content/taxonomy_term/8ad381b4-5b30-4afe-83f9-32ab80d009f6.yml @@ -13,7 +13,7 @@ default: value: 'Stanford Law School (SLS)' weight: - - value: 28 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/67' + href: 'http://local.cardinalsites.com/taxonomy/term/40' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/8dfbbc5f-2bfb-46ae-b00f-1245a6ad6843.yml b/content/taxonomy_term/8dfbbc5f-2bfb-46ae-b00f-1245a6ad6843.yml index a900ab482..e972e28a8 100644 --- a/content/taxonomy_term/8dfbbc5f-2bfb-46ae-b00f-1245a6ad6843.yml +++ b/content/taxonomy_term/8dfbbc5f-2bfb-46ae-b00f-1245a6ad6843.yml @@ -13,7 +13,7 @@ default: value: 'Stanford Management Company' weight: - - value: 30 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/47' + href: 'http://local.cardinalsites.com/taxonomy/term/28' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/9856eb23-d550-4103-a078-18da2d414be9.yml b/content/taxonomy_term/9856eb23-d550-4103-a078-18da2d414be9.yml index bcdb10e3b..fbdbe1315 100644 --- a/content/taxonomy_term/9856eb23-d550-4103-a078-18da2d414be9.yml +++ b/content/taxonomy_term/9856eb23-d550-4103-a078-18da2d414be9.yml @@ -15,7 +15,7 @@ default: value: 'University Communications (UCOMM)' weight: - - value: 1 + value: 0 parent: - entity: 72272279-9f82-476f-999e-ee008881723c @@ -32,7 +32,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/50' + href: 'http://local.cardinalsites.com/taxonomy/term/58' - tag: meta attributes: @@ -47,7 +47,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/a464983f-65d2-4396-8db5-b64dc680818d.yml b/content/taxonomy_term/a464983f-65d2-4396-8db5-b64dc680818d.yml index 790f8a8b6..9cdd1b52b 100644 --- a/content/taxonomy_term/a464983f-65d2-4396-8db5-b64dc680818d.yml +++ b/content/taxonomy_term/a464983f-65d2-4396-8db5-b64dc680818d.yml @@ -13,7 +13,7 @@ default: value: 'Human Resources (HR)' weight: - - value: 14 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/45' + href: 'http://local.cardinalsites.com/taxonomy/term/35' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/a5ae8281-11c2-4f06-abc8-6b01d60b20a8.yml b/content/taxonomy_term/a5ae8281-11c2-4f06-abc8-6b01d60b20a8.yml index b16590c18..aef049a05 100644 --- a/content/taxonomy_term/a5ae8281-11c2-4f06-abc8-6b01d60b20a8.yml +++ b/content/taxonomy_term/a5ae8281-11c2-4f06-abc8-6b01d60b20a8.yml @@ -13,7 +13,7 @@ default: value: 'Hoover Institution' weight: - - value: 13 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/41' + href: 'http://local.cardinalsites.com/taxonomy/term/5' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/af0d33be-0896-4991-82f7-bdab3ef9ca57.yml b/content/taxonomy_term/af0d33be-0896-4991-82f7-bdab3ef9ca57.yml index 5a309a01b..ff1d902db 100644 --- a/content/taxonomy_term/af0d33be-0896-4991-82f7-bdab3ef9ca57.yml +++ b/content/taxonomy_term/af0d33be-0896-4991-82f7-bdab3ef9ca57.yml @@ -13,7 +13,7 @@ default: value: 'Vice President of the Arts (VPA)' weight: - - value: 32 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/39' + href: 'http://local.cardinalsites.com/taxonomy/term/38' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/b0efc5ea-fbf1-482d-9294-c298d76e2800.yml b/content/taxonomy_term/b0efc5ea-fbf1-482d-9294-c298d76e2800.yml index 187ee5b16..1f001d502 100644 --- a/content/taxonomy_term/b0efc5ea-fbf1-482d-9294-c298d76e2800.yml +++ b/content/taxonomy_term/b0efc5ea-fbf1-482d-9294-c298d76e2800.yml @@ -32,7 +32,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/58' + href: 'http://local.cardinalsites.com/taxonomy/term/62' - tag: meta attributes: @@ -47,7 +47,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/b6d9a5f0-96f1-4b79-8604-cdefd0bb424c.yml b/content/taxonomy_term/b6d9a5f0-96f1-4b79-8604-cdefd0bb424c.yml index afe3faf66..e17b2497a 100644 --- a/content/taxonomy_term/b6d9a5f0-96f1-4b79-8604-cdefd0bb424c.yml +++ b/content/taxonomy_term/b6d9a5f0-96f1-4b79-8604-cdefd0bb424c.yml @@ -13,7 +13,7 @@ default: value: 'Admissions & Financial Aid' weight: - - value: 6 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/52' + href: 'http://local.cardinalsites.com/taxonomy/term/23' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/d6389b12-e0b7-413a-a464-e9c2939b55aa.yml b/content/taxonomy_term/d6389b12-e0b7-413a-a464-e9c2939b55aa.yml index 6a94206d6..62bad6cd6 100644 --- a/content/taxonomy_term/d6389b12-e0b7-413a-a464-e9c2939b55aa.yml +++ b/content/taxonomy_term/d6389b12-e0b7-413a-a464-e9c2939b55aa.yml @@ -13,7 +13,7 @@ default: value: 'Graduate School of Business (GSB)' weight: - - value: 11 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/68' + href: 'http://local.cardinalsites.com/taxonomy/term/4' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/dc6ac0c7-4e4d-4cd1-966f-d03ec01d32f2.yml b/content/taxonomy_term/dc6ac0c7-4e4d-4cd1-966f-d03ec01d32f2.yml index 66abaaeaf..56a180d54 100644 --- a/content/taxonomy_term/dc6ac0c7-4e4d-4cd1-966f-d03ec01d32f2.yml +++ b/content/taxonomy_term/dc6ac0c7-4e4d-4cd1-966f-d03ec01d32f2.yml @@ -13,7 +13,7 @@ default: value: 'Stanford Alumni Association (SAA)' weight: - - value: 24 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/46' + href: 'http://local.cardinalsites.com/taxonomy/term/49' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/de0aa1c0-d860-4afb-b5e3-729542c9b773.yml b/content/taxonomy_term/de0aa1c0-d860-4afb-b5e3-729542c9b773.yml index 98da3077d..4b12c5275 100644 --- a/content/taxonomy_term/de0aa1c0-d860-4afb-b5e3-729542c9b773.yml +++ b/content/taxonomy_term/de0aa1c0-d860-4afb-b5e3-729542c9b773.yml @@ -13,7 +13,7 @@ default: value: 'School of Humanities and Sciences (H&S)' weight: - - value: 21 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/64' + href: 'http://local.cardinalsites.com/taxonomy/term/3' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/e27eaa81-11c6-4381-88df-0f567d5e9bde.yml b/content/taxonomy_term/e27eaa81-11c6-4381-88df-0f567d5e9bde.yml index 6a48015e8..146b62fc9 100644 --- a/content/taxonomy_term/e27eaa81-11c6-4381-88df-0f567d5e9bde.yml +++ b/content/taxonomy_term/e27eaa81-11c6-4381-88df-0f567d5e9bde.yml @@ -13,7 +13,7 @@ default: value: 'School of Medicine (SoM)' weight: - - value: 22 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/70' + href: 'http://local.cardinalsites.com/taxonomy/term/12' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/e30a5335-3d70-4064-b143-6ab375e0267a.yml b/content/taxonomy_term/e30a5335-3d70-4064-b143-6ab375e0267a.yml index c9fcc03a5..a136a48bc 100644 --- a/content/taxonomy_term/e30a5335-3d70-4064-b143-6ab375e0267a.yml +++ b/content/taxonomy_term/e30a5335-3d70-4064-b143-6ab375e0267a.yml @@ -13,7 +13,7 @@ default: value: 'Business Affairs (BA)' weight: - - value: 8 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/43' + href: 'http://local.cardinalsites.com/taxonomy/term/33' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/ee2dfea1-f772-46d9-8746-5958c0e0d94e.yml b/content/taxonomy_term/ee2dfea1-f772-46d9-8746-5958c0e0d94e.yml index 953fcc3e6..dc6c75632 100644 --- a/content/taxonomy_term/ee2dfea1-f772-46d9-8746-5958c0e0d94e.yml +++ b/content/taxonomy_term/ee2dfea1-f772-46d9-8746-5958c0e0d94e.yml @@ -13,7 +13,7 @@ default: value: 'Stanford Healthcare/ Stanford Medicine' weight: - - value: 27 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/71' + href: 'http://local.cardinalsites.com/taxonomy/term/9' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/ef8ea5fd-ef65-4565-8417-7331b048d464.yml b/content/taxonomy_term/ef8ea5fd-ef65-4565-8417-7331b048d464.yml index f2c83bf53..ce387f6b3 100644 --- a/content/taxonomy_term/ef8ea5fd-ef65-4565-8417-7331b048d464.yml +++ b/content/taxonomy_term/ef8ea5fd-ef65-4565-8417-7331b048d464.yml @@ -13,7 +13,7 @@ default: value: 'Board of Trustees' weight: - - value: 7 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/48' + href: 'http://local.cardinalsites.com/taxonomy/term/19' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/content/taxonomy_term/f1ea54b3-3c20-4cf4-8c4c-8fb741780bec.yml b/content/taxonomy_term/f1ea54b3-3c20-4cf4-8c4c-8fb741780bec.yml index dbb0c6d88..61b81a66f 100644 --- a/content/taxonomy_term/f1ea54b3-3c20-4cf4-8c4c-8fb741780bec.yml +++ b/content/taxonomy_term/f1ea54b3-3c20-4cf4-8c4c-8fb741780bec.yml @@ -13,7 +13,7 @@ default: value: 'Vice Provost for Graduate Education (VPGE)' weight: - - value: 33 + value: 0 parent: - target_id: 0 @@ -30,7 +30,7 @@ default: tag: link attributes: rel: canonical - href: 'http://default/taxonomy/term/69' + href: 'http://local.cardinalsites.com/taxonomy/term/39' - tag: meta attributes: @@ -45,7 +45,7 @@ default: tag: meta attributes: property: 'og:url' - content: 'http://default/home' + content: 'http://local.cardinalsites.com/home' path: - alias: '' diff --git a/tests/codeception/acceptance/Content/EventsCest.php b/tests/codeception/acceptance/Content/EventsCest.php index 14ae51730..38b84e94b 100644 --- a/tests/codeception/acceptance/Content/EventsCest.php +++ b/tests/codeception/acceptance/Content/EventsCest.php @@ -341,6 +341,37 @@ public function testClone(AcceptanceTester $I) { $I->assertEquals(6, round($diff / (60 * 60 * 24 * 30.5))); } + /** + * Test event card markup. + */ + public function testEventCard(AcceptanceTester $I) { + $event = $this->createEventNode($I); + $view_builder = \Drupal::entityTypeManager()->getViewBuilder('node'); + $pre_render = $view_builder->view($event, 'stanford_card'); + $render_output = \Drupal::service('renderer')->renderPlain($pre_render); + + libxml_use_internal_errors(TRUE); + $dom = new DOMDocument(); + $dom->loadHTML($render_output); + $xpath = new DOMXPath($dom); + + $month = $xpath->query('//span[@class="su-event-start-month"]'); + $I->assertNotEmpty($month); + $I->assertEquals(date('M', time()), $month->item(0)->nodeValue, 'Start Month does not match'); + + $day = $xpath->query('//span[@class="su-event-start-date"]'); + $I->assertNotEmpty($day); + $I->assertEquals(date('j', time()), $day->item(0)->nodeValue, 'Start Date does not match'); + + $month = $xpath->query('//span[@class="su-event-end-month"]'); + $I->assertNotEmpty($month); + $I->assertEquals(date('M', time() + (60 * 60 * 24)), $month->item(0)->nodeValue, 'End Month does not match'); + + $day = $xpath->query('//span[@class="su-event-end-date"]'); + $I->assertNotEmpty($day); + $I->assertEquals(date('j', time() + (60 * 60 * 24)), $day->item(0)->nodeValue, 'End Date does not match'); + } + /** * Create an Event Node. *