[gimp-web/migrate/py3] Add pelicanconf.static.py config file
- From: Michael Schumacher <schumaml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/migrate/py3] Add pelicanconf.static.py config file
- Date: Sat, 18 Apr 2020 20:31:35 +0000 (UTC)
commit 0d3e3184d91c66a9a19a15c8a70954e89e713b71
Author: Michael Schumacher <schumaml gmx de>
Date: Sat Apr 18 22:31:15 2020 +0200
Add pelicanconf.static.py config file
pelicanconf.static.py | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/pelicanconf.static.py b/pelicanconf.static.py
new file mode 100644
index 00000000..a2dcd3f1
--- /dev/null
+++ b/pelicanconf.static.py
@@ -0,0 +1,12 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*- #
+
+# make sure the current path is searched for imports
+import sys
+import os
+
+sys.path.append(os.path.abspath(os.path.dirname(__file__)))
+
+# Import everything to the global scope.
+from pelicanconf_common import *
+customize_environment('static')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]