diff --git a/pelicanconf.py b/pelicanconf.py index fb6f33e..ef5ebb9 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # from __future__ import unicode_literals - +from git import Repo import sys, os sys.path.insert(0, os.path.realpath('./plugins')) @@ -26,6 +26,7 @@ import links ACCOUNTS = links.accounts() FOOTER_LINKS = links.footer() INDEX_PROJECTS = links.index_projects() +REPO = Repo(search_parent_directories=True) # Disable some pages TAG_URL = False diff --git a/requirements.txt b/requirements.txt index 4a44c26..26d71d1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ flake8==2.5.0 fontawesome_markdown==0.2.5 -gitpython==2.0.3 +gitpython==2.0.7 iso8601==0.1.11 markdown==2.6.6 git+https://github.com/ryneeverett/python-markdown-comments.git