From 2020dfd3b6cd911aa84bdc3b7891f15fb0c6e3f4 Mon Sep 17 00:00:00 2001 From: Duncan Davidson Date: Wed, 9 Jul 2025 15:12:52 +0100 Subject: [PATCH 1/2] add default pathauto config with modified ignore_words --- config/install/pathauto.settings.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 config/install/pathauto.settings.yml diff --git a/config/install/pathauto.settings.yml b/config/install/pathauto.settings.yml new file mode 100644 index 0000000..f9d3952 --- /dev/null +++ b/config/install/pathauto.settings.yml @@ -0,0 +1,20 @@ +enabled_entity_types: + - user +punctuation: + hyphen: 1 +verbose : FALSE +separator : '-' +max_length : 100 +max_component_length: 100 +transliterate : TRUE +reduce_ascii : FALSE +case : TRUE +ignore_words: 'a, an, and, are, as, at, before, but, by, for, from, get, if, is, in, into, it, like, of, off, on, onto, or, per, since, so, than, the, this, that, to, up, via, when, where, with, you' +update_action : 2 +safe_tokens: + - alias + - path + - join-path + - login-url + - url + - url-brief From 56aea6bd2c535089f8935b9c343d7c6e9a072a77 Mon Sep 17 00:00:00 2001 From: Duncan Davidson Date: Wed, 9 Jul 2025 15:21:24 +0100 Subject: [PATCH 2/2] Coding standards --- config/install/pathauto.settings.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/install/pathauto.settings.yml b/config/install/pathauto.settings.yml index f9d3952..26fd2a6 100644 --- a/config/install/pathauto.settings.yml +++ b/config/install/pathauto.settings.yml @@ -12,9 +12,9 @@ case : TRUE ignore_words: 'a, an, and, are, as, at, before, but, by, for, from, get, if, is, in, into, it, like, of, off, on, onto, or, per, since, so, than, the, this, that, to, up, via, when, where, with, you' update_action : 2 safe_tokens: - - alias - - path - - join-path - - login-url - - url - - url-brief + - alias + - path + - join-path + - login-url + - url + - url-brief