When using a path element to generate a page title, replace '[a-z]-[a-z]' with '[a-z] [a-z]', this allows us to use dashes in paths that are more SEO-friendly than underscores.
This commit is contained in:
parent
0062873b2b
commit
4345888b7f
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ fn werc_exec_request {
|
|||
perm_redirect $req_path^'/'
|
||||
|
||||
if(! ~ $#args 0)
|
||||
pageTitle=`{ echo $args|sed -e 's/ / - /g' -e 's/_/ /g' }
|
||||
pageTitle=`{ echo $args|sed -e 's/([a-z])-([a-z])/\1 \2/g' -e 's/ / - /g' -e 's/_/ /g' }
|
||||
|
||||
cd $sitedir
|
||||
req_paths_list='/' # Note: req_paths_list doesn't include 'stnythetic' dirs.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue