[guadec-web] Added documents folder for serving files statically
- From: Oliver Gutiérrez <ogutierrez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [guadec-web] Added documents folder for serving files statically
- Date: Thu, 21 Jun 2018 11:15:10 +0000 (UTC)
commit 4a5fccab7cef818e527b35dab48a5063696e1a83
Author: Oliver Gutierrez <ogutsua gmail com>
Date: Thu Jun 21 12:14:53 2018 +0100
Added documents folder for serving files statically
content/documents/index.html | 1 +
pelicanconf.py | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/content/documents/index.html b/content/documents/index.html
new file mode 100644
index 0000000..0e3620d
--- /dev/null
+++ b/content/documents/index.html
@@ -0,0 +1 @@
+Nosy people not allowed :P
diff --git a/pelicanconf.py b/pelicanconf.py
index 1f65d19..618ac81 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -130,7 +130,8 @@ DEFAULT_LANG = u'en'
THEME = 'themes/website'
DEFAULT_PAGINATION = False
DISPLAY_PAGES_ON_MENU = False
-
+STATIC_PATHS = ['images', 'documents']
+ARTICLE_EXCLUDES = ['images', 'documents']
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]