feat: sitemap settings singleton with content types and additional addresses
- one settings tile opening the golem15.sitemap.settings singleton - Files tab (site address, file size, S1 files partial), Additional addresses repeater, Content types tab built from signpost at boot - golem15_sitemap_types; a type switched off leaves the files (reason type) - a save validates (errors.*) and dispatches a rebuild after commit
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
plugin:
|
||||
name: Sitemap
|
||||
description: Generate a sitemap.xml file for your website.
|
||||
description: XML sitemaps per content type, with stable files, real lastmod and hreflang.
|
||||
permissions:
|
||||
access_settings: Access sitemap configuration settings
|
||||
access_definitions: Access sitemap definitions page
|
||||
@@ -41,29 +41,80 @@ errors:
|
||||
url_scheme: Use a path such as /about, or a link that starts with http:// or https://.
|
||||
url_pattern: Use a path that starts with a single /, for example /blog/:slug.
|
||||
frontend_url: 'Use a full address that starts with http:// or https://, without spaces, quotes or the characters < > &. Leave it empty to keep the backend URL.'
|
||||
file_size: Enter a whole number from 1 to 50 000.
|
||||
slug: Use lowercase letters, digits and hyphens, e.g. posts.
|
||||
slug_taken: Another content type already uses this file name.
|
||||
html_path: Start the address with / and use a path only, e.g. /mapa-strony.
|
||||
page_size: Enter a whole number from 50 to 500.
|
||||
lastmod: 'Enter a date as YYYY-MM-DD, e.g. 2026-10-28, or leave it empty.'
|
||||
definition:
|
||||
not_found: No sitemap definition was found. Try creating one first.
|
||||
title: Sitemap definition
|
||||
view: View sitemap.xml
|
||||
settings:
|
||||
label: Sitemap settings
|
||||
description: Frontend URL, locale and priority options.
|
||||
label: Sitemaps
|
||||
description: XML sitemaps per content type, images, News, IndexNow and the HTML sitemap.
|
||||
category: CMS
|
||||
frontend_url: Frontend URL
|
||||
frontend_url_comment: The public URL of the frontend app (e.g. https://www.example.com). When set, sitemap URLs use this domain instead of the backend URL.
|
||||
frontend_default_locale: Frontend Default Locale
|
||||
frontend_default_locale_comment: The unprefixed locale on the frontend (e.g. pl for a prefix_except_default strategy). Other locales get a /{code}/ prefix in sitemap URLs.
|
||||
updates_manifest_path: Updates Manifest Path
|
||||
updates_manifest_path_comment: Absolute path to a JSON file mapping URL path => ISO 8601 last-modified date, produced by the frontend build. Used as the <lastmod> for URL items that have no date of their own (e.g. static pages). When empty or unreadable, those items omit <lastmod>. Dynamic sets keep their own dates.
|
||||
enable_priority_tiers: Enable Priority Tiers
|
||||
enable_priority_tiers_comment: When enabled, priorities are auto-assigned based on the URL path rules in the config, overriding per-item priorities. When disabled, per-item priorities are used.
|
||||
priority_homepage: Homepage Priority
|
||||
priority_homepage_comment: Used for URLs that match the homepage tier rules in the config. Default 1.0. Applies only when priority tiers are enabled.
|
||||
priority_services: Services & Work Priority
|
||||
priority_services_comment: Used for URLs that match the services tier rules in the config. Default 0.8. Applies only when priority tiers are enabled.
|
||||
priority_blog: Blog Posts Priority
|
||||
priority_blog_comment: Used for URLs that match the blog tier rules in the config. Default 0.6. Applies only when priority tiers are enabled.
|
||||
priority_categories: Categories & Hub Pages Priority
|
||||
priority_categories_comment: Used for URLs that match the categories tier rules in the config. Default 0.4. Applies only when priority tiers are enabled.
|
||||
priority_legal: Legal Pages Priority
|
||||
priority_legal_comment: Used for URLs that match the legal tier rules in the config. Default 0.2. Applies only when priority tiers are enabled.
|
||||
tab_files: Files
|
||||
tab_types: Content types
|
||||
tab_extra: Additional addresses
|
||||
tab_media: Images and News
|
||||
tab_indexnow: IndexNow
|
||||
tab_html: HTML sitemap
|
||||
site_url: Site address
|
||||
site_url_comment: The public address of the site, e.g. https://www.example.com. Every address in the sitemaps starts with it.
|
||||
file_size: Addresses per file
|
||||
file_size_comment: 1000 by default, at most 50 000. Smaller files are easier to monitor one by one in Google Search Console. A change renumbers every file.
|
||||
type_include: Include this content type in the sitemaps.
|
||||
type_slug: File name
|
||||
type_slug_comment: Files are named sitemap-<name>-1.xml, sitemap-<name>-2.xml and so on.
|
||||
type_title: Heading in the HTML sitemap
|
||||
extra_urls: Additional addresses
|
||||
extra_urls_add: Add address
|
||||
extra_urls_comment: Addresses that no content type lists, e.g. the site's static pages. They go into the sitemap-pages files.
|
||||
extra_url: Address
|
||||
extra_url_lastmod: Last modified
|
||||
extra_url_lastmod_comment: 'Optional, as YYYY-MM-DD, e.g. 2026-10-28.'
|
||||
images_enabled: Image sitemap
|
||||
images_enabled_comment: Lists the featured image and the images in the content of every listed page, in the sitemap-images files.
|
||||
news_enabled: Google News sitemap
|
||||
news_enabled_comment: Only for sites accepted in Google News. Lists articles published in the last two days.
|
||||
news_publication: Publication name
|
||||
news_publication_comment: 'As registered in Google News. Empty: the site name.'
|
||||
news_sources: Types and categories
|
||||
news_sources_comment: 'Articles of these types or categories go into the News sitemap. Empty: every article type.'
|
||||
indexnow_enabled: IndexNow
|
||||
indexnow_enabled_comment: Tells Bing, Yandex and other IndexNow engines about new, changed and deleted addresses right away. Google does not use IndexNow.
|
||||
indexnow_new_key: Generate a new key on save
|
||||
indexnow_new_key_comment: The old key file stops working at once. Use it only when the key leaked.
|
||||
html_enabled: HTML sitemap
|
||||
html_enabled_comment: A page for visitors that lists every indexable address, linked from the site footer.
|
||||
html_path: Address
|
||||
html_path_comment: The site's sitemap page uses this address. Change it in the site as well.
|
||||
html_page_size: Links per page
|
||||
html_page_size_comment: Larger groups are split into numbered pages. Default 150.
|
||||
files:
|
||||
label: Files
|
||||
file: File
|
||||
file_urls: Addresses
|
||||
file_lastmod: Last modified
|
||||
left_out: Left out of the sitemaps
|
||||
left_out_reason: Reason
|
||||
left_out_count: Addresses
|
||||
reason_noindex: noindex
|
||||
reason_canonical: Canonical URL points elsewhere
|
||||
reason_redirect: Address redirects
|
||||
reason_type: Content type turned off
|
||||
index_note: Search engines read the index at :url, and robots.txt points to it. The files are rebuilt after content changes and every night; saving this form rebuilds them now.
|
||||
empty: No files yet. They are built within a few minutes after the first save.
|
||||
building: Rebuilding now. Reload the page in a minute.
|
||||
indexnow:
|
||||
key: 'Key: :key, served at :url'
|
||||
no_key: A key is generated when you turn IndexNow on and save.
|
||||
last: 'Last notification: :time, :count addresses, answer :status.'
|
||||
never: No notification sent yet.
|
||||
err_key: The engines could not read the key file at :url. Check that the site serves it.
|
||||
err_host: The engines refused the addresses because they do not match the site address.
|
||||
err_rate: 'Too many notifications; the next attempt is at :time.'
|
||||
jobs:
|
||||
rebuild: Rebuild the sitemaps
|
||||
|
||||
Reference in New Issue
Block a user