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

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

commit 1f9d0d1900dca4dacc940f522ebf91445b6b4447
Author: Greg Stein <[email protected]>
AuthorDate: Thu Nov 21 07:08:07 2019 -0600

    initial bits for the website
---
 .asf.yaml              |  6 ++++++
 .gitignore             |  2 ++
 content/pages/index.md |  3 +++
 pelicanconf.py         | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 66 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
new file mode 100644
index 0000000..de40dcf
--- /dev/null
+++ b/.asf.yaml
@@ -0,0 +1,6 @@
+pelican:
+  notify:         [email protected]
+  autobuild:      true
+  target:         asf-site
+
+staging: false
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c9b568f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+*.pyc
+*.swp
diff --git a/content/pages/index.md b/content/pages/index.md
new file mode 100644
index 0000000..dca62dc
--- /dev/null
+++ b/content/pages/index.md
@@ -0,0 +1,3 @@
+Title: Apache Petri
+
+Content goes here.
diff --git a/pelicanconf.py b/pelicanconf.py
new file mode 100644
index 0000000..bb1f262
--- /dev/null
+++ b/pelicanconf.py
@@ -0,0 +1,55 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*- #
+from __future__ import unicode_literals
+from datetime import date
+
+import sys
+import os
+
+
+AUTHOR = u'PetriCommunity'
+SITENAME = u'Apache Petri'
+SITEURL = ''
+CURRENTYEAR = date.today().year
+
+PATH = 'content'
+
+TIMEZONE = 'UTC'
+
+DEFAULT_LANG = u'en'
+SITEURL = 'https://petri.apache.org'
+
+# Save pages using full directory preservation
+PATH_METADATA= '(?P<path_no_ext>.*)\..*'
+PAGE_SAVE_AS= '{path_no_ext}.html'
+PAGE_URL= '{path_no_ext}.html'
+
+# Standard behavior:
+#PAGE_SAVE_AS = './{slug}.html'
+
+ARTICLE_SAVE_AS = 'news/{slug}.html'
+ARTICLE_URL = 'news/{slug}.html'
+
+# Sort news by date, descending, latest article first
+ARTICLE_ORDER_BY = 'reversed-date'
+
+# Feed generation is usually not desired when developing
+FEED_ALL_ATOM = None
+CATEGORY_FEED_ATOM = None
+TRANSLATION_FEED_ATOM = None
+AUTHOR_FEED_ATOM = None
+AUTHOR_FEED_RSS = None
+
+# TOC Generator
+PLUGIN_PATHS = ['./theme/plugins']
+PLUGINS = ['toc']
+TOC_HEADERS = r"h[1-6]"
+
+# Unused links
+LINKS = ( )
+SOCIAL = ( )
+
+DEFAULT_PAGINATION = False
+
+# Uncomment following line if you want document-relative URLs when developing
+#RELATIVE_URLS = True

Reply via email to