diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
new file mode 100644
index 0000000..bd0d3b8
--- /dev/null
+++ b/.github/FUNDING.yml
@@ -0,0 +1,12 @@
+# These are supported funding model platforms
+
+github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
+patreon: # Replace with a single Patreon username
+open_collective: # Replace with a single Open Collective username
+ko_fi: # Replace with a single Ko-fi username
+tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
+community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
+liberapay: # Replace with a single Liberapay username
+issuehunt: # Replace with a single IssueHunt username
+otechie: # Replace with a single Otechie username
+custom: https://www.alexandrevicenzi.com/donate
diff --git a/.gitignore b/.gitignore
index fa79f58..ffb41a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -57,3 +57,7 @@ venv
# NPM
node_modules
+
+# Pelican
+output
+plugins
diff --git a/.travis.yml b/.travis.yml
index abf93e3..1cf0993 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,13 +1,8 @@
language: python
python:
- - "2.7"
- - "3.4"
- - "3.5"
- "3.6"
install:
- - pip install pelican markdown
-before_script:
- - git clone https://github.com/getpelican/pelican-plugins plugins
-script: pelican -s tests/pelicanconf.py
+ - pip install -r docs/requirements.txt
+script: pelican -s docs/pelicanconf.py
notifications:
email: false
diff --git a/README.md b/README.md
index b5e5b5f..79e8433 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,10 @@
-# Flex [](https://travis-ci.org/alexandrevicenzi/Flex) [](https://david-dm.org/alexandrevicenzi/Flex) [](https://gitter.im/alexandre-vicenzi/flex?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
+# Flex [](https://travis-ci.org/alexandrevicenzi/Flex)
The minimalist [Pelican](http://blog.getpelican.com/) theme.
## Notes
-- **DO NOT** send any questions to my personal email, they are **IGNORED**. If you have questions open an issue.
+- If you have questions open an issue.
- This theme is not under development anymore, it's stable and has a lot of features. This means that new requests (not bug fixes) will be discussed and have lower priorities.
- If you want a version of this theme to Jekyll or Hugo open an issue and let's discuss it.
@@ -47,12 +47,6 @@ The best way to install is over [pelican-themes](https://github.com/getpelican/p
The alternative way is to clone this repository. The `master` branch is stable and is safe to checkout, but I would recommend you to checkout a tag branch.
-## Donate
-
-Are you using this theme? Support bug fixes and new features.
-
-[Click here](https://www.alexandrevicenzi.com/donate) to donate.
-
## Documentation
The documentation covers most of the settings available and how to use this theme.
@@ -78,8 +72,6 @@ As always, if you want something that only makes sense to you, fork Flex and cre
Translate this theme to new languages at [Transifex](https://www.transifex.com/alexandrevicenzi/flex-pelican/).
-
-
Read more about [Translation Support](https://github.com/alexandrevicenzi/Flex/wiki/Translations) in the Wiki.
## License
diff --git a/docs/Makefile b/docs/Makefile
new file mode 100644
index 0000000..cb70fa0
--- /dev/null
+++ b/docs/Makefile
@@ -0,0 +1,74 @@
+PY?=python3
+PELICAN?=pelican
+PELICANOPTS=
+
+BASEDIR=$(CURDIR)
+INPUTDIR=$(BASEDIR)/content
+OUTPUTDIR=$(BASEDIR)/blog
+CONFFILE=$(BASEDIR)/pelicanconf.py
+PUBLISHCONF=$(BASEDIR)/publishconf.py
+
+GITHUB_PAGES_BRANCH=gh-pages
+
+
+DEBUG ?= 0
+ifeq ($(DEBUG), 1)
+ PELICANOPTS += -D
+endif
+
+RELATIVE ?= 0
+ifeq ($(RELATIVE), 1)
+ PELICANOPTS += --relative-urls
+endif
+
+help:
+ @echo 'Makefile for a pelican Web site '
+ @echo ' '
+ @echo 'Usage: '
+ @echo ' make html (re)generate the web site '
+ @echo ' make clean remove the generated files '
+ @echo ' make regenerate regenerate files upon modification '
+ @echo ' make publish generate using production settings '
+ @echo ' make serve [PORT=8000] serve site at http://localhost:8000'
+ @echo ' make serve-global [SERVER=0.0.0.0] serve (as root) to $(SERVER):80 '
+ @echo ' make devserver [PORT=8000] serve and regenerate together '
+ @echo ' '
+ @echo 'Set the DEBUG variable to 1 to enable debugging, e.g. make DEBUG=1 html '
+ @echo 'Set the RELATIVE variable to 1 to enable relative urls '
+ @echo ' '
+
+html:
+ $(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)
+
+clean:
+ [ ! -d $(OUTPUTDIR) ] || rm -rf $(OUTPUTDIR)
+
+regenerate:
+ $(PELICAN) -r $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)
+
+serve:
+ifdef PORT
+ $(PELICAN) -l $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) -p $(PORT)
+else
+ $(PELICAN) -l $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)
+endif
+
+serve-global:
+ifdef SERVER
+ $(PELICAN) -l $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) -p $(PORT) -b $(SERVER)
+else
+ $(PELICAN) -l $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) -p $(PORT) -b 0.0.0.0
+endif
+
+
+devserver:
+ifdef PORT
+ $(PELICAN) -lr $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) -p $(PORT)
+else
+ $(PELICAN) -lr $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)
+endif
+
+publish:
+ $(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(PUBLISHCONF) $(PELICANOPTS)
+
+.PHONY: html help clean regenerate serve serve-global devserver publish
diff --git a/docs/README.md b/docs/README.md
index 296abc8..d140b91 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -1,9 +1,3 @@
# Flex Blog Example
-## Build
-
-`pelican -s pelicanconf.py`
-
-## Publish
-
-`pelican -s publishconf.py`
+Visit [http://flex.alxd.me/blog](http://flex.alxd.me/blog).
diff --git a/docs/blog/archives.html b/docs/blog/archives.html
index b25caf3..c6cc414 100644
--- a/docs/blog/archives.html
+++ b/docs/blog/archives.html
@@ -13,7 +13,9 @@
-
+
+
+
@@ -73,15 +75,24 @@