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 c40359b Add STATIC_PATHS
c40359b is described below
commit c40359ba1ab2b5ba0a6a964993a27f13ce261d68
Author: Dave Fisher <[email protected]>
AuthorDate: Sat Mar 13 11:07:00 2021 -0800
Add STATIC_PATHS
---
pelicanconf.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/pelicanconf.py b/pelicanconf.py
index 84efb17..e23b14e 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -46,6 +46,9 @@ PAGES_PATHS = [ 'content' ]
SLUGIFY_SOURCE = 'basename'
PAGE_SAVE_AS = '{slug}.html'
+# We want to serve info.yaml in addition to any images
+STATIC_PATHS = [ 'info.yaml', 'images' ]
+
# We don't use articles, but we don't want pelican to think
# that content/ contains articles.
ARTICLE_PATHS = [ 'articles' ]