Skip to content

Commit

Permalink
IN-311 Add simple_sitemap configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
camilocodes committed Jan 3, 2024
1 parent f8236cd commit 7d50b65
Show file tree
Hide file tree
Showing 17 changed files with 145 additions and 10 deletions.
1 change: 1 addition & 0 deletions build/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
"drupal/health_check": "^1",
"drupal/quickedit": "^1",
"drupal/redis": "^1",
"drupal/simple_sitemap": "^4",
"drupal/rdf": "^2",
"jackmoore/colorbox": "^1",
"unb-libraries/composer-drupal-scaffold": "^10"
Expand Down
2 changes: 2 additions & 0 deletions configuration/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ module:
rdf: 0
redis: 0
search: 0
simple_sitemap: 0
simple_sitemap_views: 0
system: 0
taxonomy: 0
text: 0
Expand Down
1 change: 1 addition & 0 deletions configuration/field.field.node.basic_page.body.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ default_value_callback: ''
settings:
display_summary: true
required_summary: false
allowed_formats: { }
field_type: text_with_summary
7 changes: 7 additions & 0 deletions configuration/simple_sitemap.custom_links.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
_core:
default_config_hash: 25hWeYa4sasuJtHqKKcEN_nYiuEC1lMPYHsn5dawJEw
links:
-
path: /
priority: '1.0'
changefreq: daily
20 changes: 20 additions & 0 deletions configuration/simple_sitemap.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
_core:
default_config_hash: MUpaAk1hn-0Ph4OFw3DD_6gUF9KbGwxja9Y0qmampzo
max_links: 2000
cron_generate: true
cron_generate_interval: 0
generate_duration: 10000
entities_per_queue_item: 50
remove_duplicates: true
skip_untranslated: true
xsl: true
base_url: ''
default_variant: default
custom_links_include_images: false
disable_language_hreflang: false
hide_branding: false
excluded_languages: { }
enabled_entity_types:
- node
- taxonomy_term
- menu_link_content
13 changes: 13 additions & 0 deletions configuration/simple_sitemap.sitemap.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
uuid: d7a3704c-7c7e-4718-b394-95413e35b907
langcode: en
status: true
dependencies:
config:
- simple_sitemap.type.default_hreflang
_core:
default_config_hash: zHW-ZT11Lkf2zSRgisGKjgU7TzrNcT8_MwFeuVtl8O8
id: default
label: Default
description: 'The default hreflang sitemap - lists URLs to be indexed by modern search engines.'
type: default_hreflang
weight: 0
15 changes: 15 additions & 0 deletions configuration/simple_sitemap.type.default_hreflang.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
uuid: 96b380f4-400d-4dd2-9021-c2ab884000a1
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: pYORFuFzL0b2FKevz6fSag1wOUNTthFPPLxZ18JB1t0
id: default_hreflang
label: 'Default hreflang'
description: 'The default hreflang sitemap type. A sitemap of this type is understood by most modern search engines.'
sitemap_generator: default
url_generators:
- custom
- entity
- entity_menu_link_content
- arbitrary
12 changes: 12 additions & 0 deletions configuration/simple_sitemap.type.index.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
uuid: 58d6c54c-9dc6-4164-ae20-c2ac1530a2e8
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: pbgJrin6L7zsVEKS8oEDCYJPCzgu765iTGQh2GPX1no
id: index
label: 'Sitemap Index'
description: 'The sitemap index sitemap type. A sitemap of this type lists sitemaps of all other types.'
sitemap_generator: index
url_generators:
- index
2 changes: 1 addition & 1 deletion configuration/system.site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ _core:
default_config_hash: yXadRE77Va-G6dxhd2kPYapAvbnSvTF6hO4oXiOEynI
langcode: en
uuid: 5386f767-6440-4d7e-8eb2-5578c3ae27c0
name: 'Nature''s Bounty'
name: "Nature's Bounty"
mail: [email protected]
slogan: ''
page:
Expand Down
3 changes: 2 additions & 1 deletion configuration/views.settings.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
_core:
default_config_hash: RaRd9EIcwA4u3qCSRLL8EnCicbda1kV__ASmVbyehvQ
display_extenders: { }
display_extenders:
simple_sitemap_display_extender: simple_sitemap_display_extender
skip_cache: false
sql_signature: false
ui:
Expand Down
9 changes: 9 additions & 0 deletions configuration/views.view.block_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,15 @@ display:
date_format: short
custom_date_format: ''
timezone: ''
tooltip:
date_format: ''
custom_date_format: ''
time_diff:
enabled: false
future_format: '@interval hence'
past_format: '@interval ago'
granularity: 2
refresh: 60
operations:
id: operations
table: block_content
Expand Down
18 changes: 18 additions & 0 deletions configuration/views.view.comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,15 @@ display:
date_format: short
custom_date_format: ''
timezone: ''
tooltip:
date_format: ''
custom_date_format: ''
time_diff:
enabled: false
future_format: '@interval hence'
past_format: '@interval ago'
granularity: 2
refresh: 60
group_column: value
group_columns: { }
group_rows: true
Expand Down Expand Up @@ -1272,6 +1281,15 @@ display:
date_format: short
custom_date_format: ''
timezone: ''
tooltip:
date_format: ''
custom_date_format: ''
time_diff:
enabled: false
future_format: '@interval hence'
past_format: '@interval ago'
granularity: 2
refresh: 60
group_column: value
group_columns: { }
group_rows: true
Expand Down
9 changes: 9 additions & 0 deletions configuration/views.view.content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,15 @@ display:
date_format: short
custom_date_format: ''
timezone: ''
tooltip:
date_format: ''
custom_date_format: ''
time_diff:
enabled: false
future_format: '@interval hence'
past_format: '@interval ago'
granularity: 2
refresh: 60
operations:
id: operations
table: node
Expand Down
18 changes: 18 additions & 0 deletions configuration/views.view.files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,15 @@ display:
date_format: medium
custom_date_format: ''
timezone: ''
tooltip:
date_format: ''
custom_date_format: ''
time_diff:
enabled: false
future_format: '@interval hence'
past_format: '@interval ago'
granularity: 2
refresh: 60
changed:
id: changed
table: file_managed
Expand Down Expand Up @@ -391,6 +400,15 @@ display:
date_format: medium
custom_date_format: ''
timezone: ''
tooltip:
date_format: ''
custom_date_format: ''
time_diff:
enabled: false
future_format: '@interval hence'
past_format: '@interval ago'
granularity: 2
refresh: 60
count:
id: count
table: file_usage
Expand Down
9 changes: 9 additions & 0 deletions configuration/views.view.glossary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,15 @@ display:
date_format: long
custom_date_format: ''
timezone: ''
tooltip:
date_format: ''
custom_date_format: ''
time_diff:
enabled: false
future_format: '@interval hence'
past_format: '@interval ago'
granularity: 2
refresh: 60
pager:
type: mini
options:
Expand Down
8 changes: 4 additions & 4 deletions configuration/views.view.who_s_new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
_core:
default_config_hash: o_8fSWHZOVIbydZACGsSX09DtuJhqkRmNOzcVj-4bQI
id: who_s_new
label: 'Who''s new'
label: "Who's new"
module: user
description: 'Shows a list of the newest user accounts on the site.'
tag: default
Expand All @@ -20,7 +20,7 @@ display:
display_plugin: default
position: 0
display_options:
title: 'Who''s new'
title: "Who's new"
fields:
name:
id: name
Expand Down Expand Up @@ -180,13 +180,13 @@ display:
tags: { }
block_1:
id: block_1
display_title: 'Who''s new'
display_title: "Who's new"
display_plugin: block
position: 1
display_options:
display_description: 'A list of new users'
display_extenders: { }
block_description: 'Who''s new'
block_description: "Who's new"
block_category: User
cache_metadata:
max-age: -1
Expand Down
8 changes: 4 additions & 4 deletions configuration/views.view.who_s_online.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
_core:
default_config_hash: m0vmYmhrzMR6S_IC0UlK0Cl-q5lEvL8-EbxbbcDtk34
id: who_s_online
label: 'Who''s online block'
label: "Who's online block"
module: user
description: 'Shows the user names of the most recently active users, and the total number of active users.'
tag: default
Expand All @@ -20,7 +20,7 @@ display:
display_plugin: default
position: 0
display_options:
title: 'Who''s online'
title: "Who's online"
fields:
name:
id: name
Expand Down Expand Up @@ -210,13 +210,13 @@ display:
tags: { }
who_s_online_block:
id: who_s_online_block
display_title: 'Who''s online'
display_title: "Who's online"
display_plugin: block
position: 1
display_options:
display_description: 'A list of users that are currently logged in.'
display_extenders: { }
block_description: 'Who''s online'
block_description: "Who's online"
cache_metadata:
max-age: -1
contexts:
Expand Down

0 comments on commit 7d50b65

Please sign in to comment.