You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@petri.apache.org by wa...@apache.org on 2021/03/29 22:06:32 UTC

[petri-site] branch master updated: Try to fix sitemap bug

This is an automated email from the ASF dual-hosted git repository.

wave pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/petri-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 38528ff  Try to fix sitemap bug
38528ff is described below

commit 38528ff1676e679eebed8737c64bebba90be100f
Author: Dave Fisher <da...@comcast.net>
AuthorDate: Mon Mar 29 15:06:24 2021 -0700

    Try to fix sitemap bug
---
 pelicanconf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pelicanconf.py b/pelicanconf.py
index 9eeb209..032cf33 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -39,10 +39,10 @@ SITEURL = 'https://petri.apache.org'
 # Save pages using full directory preservation
 PAGES_PATHS = ['content']
 # PATH_METADATA= '(?P<path_no_ext>.*)\..*'
-# PAGE_SAVE_AS= '{path_no_ext}.html'
+PAGE_SAVE_AS= '{path_no_ext}.html'
 # PAGE_URL= '{path_no_ext}.html'
 SLUGIFY_SOURCE = 'basename'
-PAGE_SAVE_AS = '{slug}.html'
+# PAGE_SAVE_AS = '{slug}.html'
 
 # We want to serve info.yaml and petri.rdf in addition to any images
 STATIC_PATHS = ['.htaccess', 'info.yaml', 'petri.rdf', 'images']