diff --git a/MANIFEST.in b/MANIFEST.in index 747ba0e..3adf836 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,4 @@ recursive-include templates * recursive-include static * +recursive-include themes * include requirements.txt diff --git a/prosopopee/prosopopee.py b/prosopopee/prosopopee.py index 4dc876b..4021661 100644 --- a/prosopopee/prosopopee.py +++ b/prosopopee/prosopopee.py @@ -118,7 +118,16 @@ def main(): # XXX recursively merge directories if os.path.exists(os.path.join(os.getcwd(), "build", "static")): shutil.rmtree(os.path.join(os.getcwd(), "build", "static")) - if os.path.exists(os.path.join(os.getcwd(), "static")): + if settings.get("theme"): + if os.path.exists(os.path.join(os.getcwd(), "templates")): + shutil.rmtree(os.path.join(os.getcwd(), "templates")) + shutil.copytree(os.path.join(os.path.split(os.path.realpath(__file__))[0], "themes", settings.get("theme"), "static"), os.path.join(os.getcwd(), "build", "static")) + shutil.copytree(os.path.join(os.path.split(os.path.realpath(__file__))[0], "themes", settings.get("theme"), "templates"), os.path.join(os.getcwd(), "templates")) + templates = Environment(loader=FileSystemLoader([os.path.realpath(os.path.join(os.getcwd(), "templates")), os.path.join(os.path.split(os.path.realpath(__file__))[0], "templates")])) + index_template = templates.get_template("index.html") + gallery_index_template = templates.get_template("gallery-index.html") + page_template = templates.get_template("page.html") + elif os.path.exists(os.path.join(os.getcwd(), "static")): shutil.copytree(os.path.join(os.getcwd(), "static"), os.path.join(os.getcwd(), "build", "static")) else: shutil.copytree(os.path.join(os.path.split(os.path.realpath(__file__))[0], "static"), os.path.join(os.getcwd(), "build", "static")) diff --git a/themes/material/static/LICENSE b/prosopopee/themes/material/static/LICENSE similarity index 100% rename from themes/material/static/LICENSE rename to prosopopee/themes/material/static/LICENSE diff --git a/themes/material/static/README.md b/prosopopee/themes/material/static/README.md similarity index 100% rename from themes/material/static/README.md rename to prosopopee/themes/material/static/README.md diff --git a/themes/material/static/css/baguetteBox.min.css b/prosopopee/themes/material/static/css/baguetteBox.min.css similarity index 100% rename from themes/material/static/css/baguetteBox.min.css rename to prosopopee/themes/material/static/css/baguetteBox.min.css diff --git a/themes/material/static/css/fonts.css b/prosopopee/themes/material/static/css/fonts.css similarity index 100% rename from themes/material/static/css/fonts.css rename to prosopopee/themes/material/static/css/fonts.css diff --git a/themes/material/static/css/materialize.css b/prosopopee/themes/material/static/css/materialize.css similarity index 100% rename from themes/material/static/css/materialize.css rename to prosopopee/themes/material/static/css/materialize.css diff --git a/themes/material/static/css/panorama_viewer.css b/prosopopee/themes/material/static/css/panorama_viewer.css similarity index 100% rename from themes/material/static/css/panorama_viewer.css rename to prosopopee/themes/material/static/css/panorama_viewer.css diff --git a/themes/material/static/css/styles.css b/prosopopee/themes/material/static/css/styles.css similarity index 88% rename from themes/material/static/css/styles.css rename to prosopopee/themes/material/static/css/styles.css index cace9b7..1920adf 100644 --- a/themes/material/static/css/styles.css +++ b/prosopopee/themes/material/static/css/styles.css @@ -9,9 +9,10 @@ main { } .parallax-container { - height: 500px; + height: 800px; min-height: 250px; margin-bottom: 20px; + background-color: rgba(0, 0, 0, .4); } .parallax-container h1 { diff --git a/themes/material/static/fonts/LICENSE.txt b/prosopopee/themes/material/static/fonts/LICENSE.txt similarity index 100% rename from themes/material/static/fonts/LICENSE.txt rename to prosopopee/themes/material/static/fonts/LICENSE.txt diff --git a/themes/material/static/fonts/Material-Design-Icons.eot b/prosopopee/themes/material/static/fonts/Material-Design-Icons.eot similarity index 100% rename from themes/material/static/fonts/Material-Design-Icons.eot rename to prosopopee/themes/material/static/fonts/Material-Design-Icons.eot diff --git a/themes/material/static/fonts/Material-Design-Icons.svg b/prosopopee/themes/material/static/fonts/Material-Design-Icons.svg similarity index 100% rename from themes/material/static/fonts/Material-Design-Icons.svg rename to prosopopee/themes/material/static/fonts/Material-Design-Icons.svg diff --git a/themes/material/static/fonts/Material-Design-Icons.ttf b/prosopopee/themes/material/static/fonts/Material-Design-Icons.ttf similarity index 100% rename from themes/material/static/fonts/Material-Design-Icons.ttf rename to prosopopee/themes/material/static/fonts/Material-Design-Icons.ttf diff --git a/themes/material/static/fonts/Material-Design-Icons.woff b/prosopopee/themes/material/static/fonts/Material-Design-Icons.woff similarity index 100% rename from themes/material/static/fonts/Material-Design-Icons.woff rename to prosopopee/themes/material/static/fonts/Material-Design-Icons.woff diff --git a/themes/material/static/fonts/Material-Design-Icons.woff2 b/prosopopee/themes/material/static/fonts/Material-Design-Icons.woff2 similarity index 100% rename from themes/material/static/fonts/Material-Design-Icons.woff2 rename to prosopopee/themes/material/static/fonts/Material-Design-Icons.woff2 diff --git a/themes/material/static/fonts/Roboto-Bold.eot b/prosopopee/themes/material/static/fonts/Roboto-Bold.eot similarity index 100% rename from themes/material/static/fonts/Roboto-Bold.eot rename to prosopopee/themes/material/static/fonts/Roboto-Bold.eot diff --git a/themes/material/static/fonts/Roboto-Bold.ttf b/prosopopee/themes/material/static/fonts/Roboto-Bold.ttf similarity index 100% rename from themes/material/static/fonts/Roboto-Bold.ttf rename to prosopopee/themes/material/static/fonts/Roboto-Bold.ttf diff --git a/themes/material/static/fonts/Roboto-Bold.woff b/prosopopee/themes/material/static/fonts/Roboto-Bold.woff similarity index 100% rename from themes/material/static/fonts/Roboto-Bold.woff rename to prosopopee/themes/material/static/fonts/Roboto-Bold.woff diff --git a/themes/material/static/fonts/Roboto-Bold.woff2 b/prosopopee/themes/material/static/fonts/Roboto-Bold.woff2 similarity index 100% rename from themes/material/static/fonts/Roboto-Bold.woff2 rename to prosopopee/themes/material/static/fonts/Roboto-Bold.woff2 diff --git a/themes/material/static/fonts/Roboto-Light.eot b/prosopopee/themes/material/static/fonts/Roboto-Light.eot similarity index 100% rename from themes/material/static/fonts/Roboto-Light.eot rename to prosopopee/themes/material/static/fonts/Roboto-Light.eot diff --git a/themes/material/static/fonts/Roboto-Light.ttf b/prosopopee/themes/material/static/fonts/Roboto-Light.ttf similarity index 100% rename from themes/material/static/fonts/Roboto-Light.ttf rename to prosopopee/themes/material/static/fonts/Roboto-Light.ttf diff --git a/themes/material/static/fonts/Roboto-Light.woff b/prosopopee/themes/material/static/fonts/Roboto-Light.woff similarity index 100% rename from themes/material/static/fonts/Roboto-Light.woff rename to prosopopee/themes/material/static/fonts/Roboto-Light.woff diff --git a/themes/material/static/fonts/Roboto-Light.woff2 b/prosopopee/themes/material/static/fonts/Roboto-Light.woff2 similarity index 100% rename from themes/material/static/fonts/Roboto-Light.woff2 rename to prosopopee/themes/material/static/fonts/Roboto-Light.woff2 diff --git a/themes/material/static/fonts/Roboto-Medium.eot b/prosopopee/themes/material/static/fonts/Roboto-Medium.eot similarity index 100% rename from themes/material/static/fonts/Roboto-Medium.eot rename to prosopopee/themes/material/static/fonts/Roboto-Medium.eot diff --git a/themes/material/static/fonts/Roboto-Medium.ttf b/prosopopee/themes/material/static/fonts/Roboto-Medium.ttf similarity index 100% rename from themes/material/static/fonts/Roboto-Medium.ttf rename to prosopopee/themes/material/static/fonts/Roboto-Medium.ttf diff --git a/themes/material/static/fonts/Roboto-Medium.woff b/prosopopee/themes/material/static/fonts/Roboto-Medium.woff similarity index 100% rename from themes/material/static/fonts/Roboto-Medium.woff rename to prosopopee/themes/material/static/fonts/Roboto-Medium.woff diff --git a/themes/material/static/fonts/Roboto-Medium.woff2 b/prosopopee/themes/material/static/fonts/Roboto-Medium.woff2 similarity index 100% rename from themes/material/static/fonts/Roboto-Medium.woff2 rename to prosopopee/themes/material/static/fonts/Roboto-Medium.woff2 diff --git a/themes/material/static/fonts/Roboto-Regular.eot b/prosopopee/themes/material/static/fonts/Roboto-Regular.eot similarity index 100% rename from themes/material/static/fonts/Roboto-Regular.eot rename to prosopopee/themes/material/static/fonts/Roboto-Regular.eot diff --git a/themes/material/static/fonts/Roboto-Regular.ttf b/prosopopee/themes/material/static/fonts/Roboto-Regular.ttf similarity index 100% rename from themes/material/static/fonts/Roboto-Regular.ttf rename to prosopopee/themes/material/static/fonts/Roboto-Regular.ttf diff --git a/themes/material/static/fonts/Roboto-Regular.woff b/prosopopee/themes/material/static/fonts/Roboto-Regular.woff similarity index 100% rename from themes/material/static/fonts/Roboto-Regular.woff rename to prosopopee/themes/material/static/fonts/Roboto-Regular.woff diff --git a/themes/material/static/fonts/Roboto-Regular.woff2 b/prosopopee/themes/material/static/fonts/Roboto-Regular.woff2 similarity index 100% rename from themes/material/static/fonts/Roboto-Regular.woff2 rename to prosopopee/themes/material/static/fonts/Roboto-Regular.woff2 diff --git a/themes/material/static/fonts/Roboto-Thin.eot b/prosopopee/themes/material/static/fonts/Roboto-Thin.eot similarity index 100% rename from themes/material/static/fonts/Roboto-Thin.eot rename to prosopopee/themes/material/static/fonts/Roboto-Thin.eot diff --git a/themes/material/static/fonts/Roboto-Thin.ttf b/prosopopee/themes/material/static/fonts/Roboto-Thin.ttf similarity index 100% rename from themes/material/static/fonts/Roboto-Thin.ttf rename to prosopopee/themes/material/static/fonts/Roboto-Thin.ttf diff --git a/themes/material/static/fonts/Roboto-Thin.woff b/prosopopee/themes/material/static/fonts/Roboto-Thin.woff similarity index 100% rename from themes/material/static/fonts/Roboto-Thin.woff rename to prosopopee/themes/material/static/fonts/Roboto-Thin.woff diff --git a/themes/material/static/fonts/Roboto-Thin.woff2 b/prosopopee/themes/material/static/fonts/Roboto-Thin.woff2 similarity index 100% rename from themes/material/static/fonts/Roboto-Thin.woff2 rename to prosopopee/themes/material/static/fonts/Roboto-Thin.woff2 diff --git a/themes/material/static/fonts/crimsontext-bold-webfont.eot b/prosopopee/themes/material/static/fonts/crimsontext-bold-webfont.eot similarity index 100% rename from themes/material/static/fonts/crimsontext-bold-webfont.eot rename to prosopopee/themes/material/static/fonts/crimsontext-bold-webfont.eot diff --git a/themes/material/static/fonts/crimsontext-bold-webfont.svg b/prosopopee/themes/material/static/fonts/crimsontext-bold-webfont.svg similarity index 100% rename from themes/material/static/fonts/crimsontext-bold-webfont.svg rename to prosopopee/themes/material/static/fonts/crimsontext-bold-webfont.svg diff --git a/themes/material/static/fonts/crimsontext-bold-webfont.ttf b/prosopopee/themes/material/static/fonts/crimsontext-bold-webfont.ttf similarity index 100% rename from themes/material/static/fonts/crimsontext-bold-webfont.ttf rename to prosopopee/themes/material/static/fonts/crimsontext-bold-webfont.ttf diff --git a/themes/material/static/fonts/crimsontext-bold-webfont.woff b/prosopopee/themes/material/static/fonts/crimsontext-bold-webfont.woff similarity index 100% rename from themes/material/static/fonts/crimsontext-bold-webfont.woff rename to prosopopee/themes/material/static/fonts/crimsontext-bold-webfont.woff diff --git a/themes/material/static/fonts/crimsontext-bold-webfont.woff2 b/prosopopee/themes/material/static/fonts/crimsontext-bold-webfont.woff2 similarity index 100% rename from themes/material/static/fonts/crimsontext-bold-webfont.woff2 rename to prosopopee/themes/material/static/fonts/crimsontext-bold-webfont.woff2 diff --git a/themes/material/static/fonts/crimsontext-bolditalic-webfont.eot b/prosopopee/themes/material/static/fonts/crimsontext-bolditalic-webfont.eot similarity index 100% rename from themes/material/static/fonts/crimsontext-bolditalic-webfont.eot rename to prosopopee/themes/material/static/fonts/crimsontext-bolditalic-webfont.eot diff --git a/themes/material/static/fonts/crimsontext-bolditalic-webfont.svg b/prosopopee/themes/material/static/fonts/crimsontext-bolditalic-webfont.svg similarity index 100% rename from themes/material/static/fonts/crimsontext-bolditalic-webfont.svg rename to prosopopee/themes/material/static/fonts/crimsontext-bolditalic-webfont.svg diff --git a/themes/material/static/fonts/crimsontext-bolditalic-webfont.ttf b/prosopopee/themes/material/static/fonts/crimsontext-bolditalic-webfont.ttf similarity index 100% rename from themes/material/static/fonts/crimsontext-bolditalic-webfont.ttf rename to prosopopee/themes/material/static/fonts/crimsontext-bolditalic-webfont.ttf diff --git a/themes/material/static/fonts/crimsontext-bolditalic-webfont.woff b/prosopopee/themes/material/static/fonts/crimsontext-bolditalic-webfont.woff similarity index 100% rename from themes/material/static/fonts/crimsontext-bolditalic-webfont.woff rename to prosopopee/themes/material/static/fonts/crimsontext-bolditalic-webfont.woff diff --git a/themes/material/static/fonts/crimsontext-bolditalic-webfont.woff2 b/prosopopee/themes/material/static/fonts/crimsontext-bolditalic-webfont.woff2 similarity index 100% rename from themes/material/static/fonts/crimsontext-bolditalic-webfont.woff2 rename to prosopopee/themes/material/static/fonts/crimsontext-bolditalic-webfont.woff2 diff --git a/themes/material/static/fonts/crimsontext-italic-webfont.eot b/prosopopee/themes/material/static/fonts/crimsontext-italic-webfont.eot similarity index 100% rename from themes/material/static/fonts/crimsontext-italic-webfont.eot rename to prosopopee/themes/material/static/fonts/crimsontext-italic-webfont.eot diff --git a/themes/material/static/fonts/crimsontext-italic-webfont.svg b/prosopopee/themes/material/static/fonts/crimsontext-italic-webfont.svg similarity index 100% rename from themes/material/static/fonts/crimsontext-italic-webfont.svg rename to prosopopee/themes/material/static/fonts/crimsontext-italic-webfont.svg diff --git a/themes/material/static/fonts/crimsontext-italic-webfont.ttf b/prosopopee/themes/material/static/fonts/crimsontext-italic-webfont.ttf similarity index 100% rename from themes/material/static/fonts/crimsontext-italic-webfont.ttf rename to prosopopee/themes/material/static/fonts/crimsontext-italic-webfont.ttf diff --git a/themes/material/static/fonts/crimsontext-italic-webfont.woff b/prosopopee/themes/material/static/fonts/crimsontext-italic-webfont.woff similarity index 100% rename from themes/material/static/fonts/crimsontext-italic-webfont.woff rename to prosopopee/themes/material/static/fonts/crimsontext-italic-webfont.woff diff --git a/themes/material/static/fonts/crimsontext-italic-webfont.woff2 b/prosopopee/themes/material/static/fonts/crimsontext-italic-webfont.woff2 similarity index 100% rename from themes/material/static/fonts/crimsontext-italic-webfont.woff2 rename to prosopopee/themes/material/static/fonts/crimsontext-italic-webfont.woff2 diff --git a/themes/material/static/fonts/crimsontext-regular-webfont.eot b/prosopopee/themes/material/static/fonts/crimsontext-regular-webfont.eot similarity index 100% rename from themes/material/static/fonts/crimsontext-regular-webfont.eot rename to prosopopee/themes/material/static/fonts/crimsontext-regular-webfont.eot diff --git a/themes/material/static/fonts/crimsontext-regular-webfont.svg b/prosopopee/themes/material/static/fonts/crimsontext-regular-webfont.svg similarity index 100% rename from themes/material/static/fonts/crimsontext-regular-webfont.svg rename to prosopopee/themes/material/static/fonts/crimsontext-regular-webfont.svg diff --git a/themes/material/static/fonts/crimsontext-regular-webfont.ttf b/prosopopee/themes/material/static/fonts/crimsontext-regular-webfont.ttf similarity index 100% rename from themes/material/static/fonts/crimsontext-regular-webfont.ttf rename to prosopopee/themes/material/static/fonts/crimsontext-regular-webfont.ttf diff --git a/themes/material/static/fonts/crimsontext-regular-webfont.woff b/prosopopee/themes/material/static/fonts/crimsontext-regular-webfont.woff similarity index 100% rename from themes/material/static/fonts/crimsontext-regular-webfont.woff rename to prosopopee/themes/material/static/fonts/crimsontext-regular-webfont.woff diff --git a/themes/material/static/fonts/crimsontext-regular-webfont.woff2 b/prosopopee/themes/material/static/fonts/crimsontext-regular-webfont.woff2 similarity index 100% rename from themes/material/static/fonts/crimsontext-regular-webfont.woff2 rename to prosopopee/themes/material/static/fonts/crimsontext-regular-webfont.woff2 diff --git a/themes/material/static/fonts/crimsontext-semibold-webfont.eot b/prosopopee/themes/material/static/fonts/crimsontext-semibold-webfont.eot similarity index 100% rename from themes/material/static/fonts/crimsontext-semibold-webfont.eot rename to prosopopee/themes/material/static/fonts/crimsontext-semibold-webfont.eot diff --git a/themes/material/static/fonts/crimsontext-semibold-webfont.svg b/prosopopee/themes/material/static/fonts/crimsontext-semibold-webfont.svg similarity index 100% rename from themes/material/static/fonts/crimsontext-semibold-webfont.svg rename to prosopopee/themes/material/static/fonts/crimsontext-semibold-webfont.svg diff --git a/themes/material/static/fonts/crimsontext-semibold-webfont.ttf b/prosopopee/themes/material/static/fonts/crimsontext-semibold-webfont.ttf similarity index 100% rename from themes/material/static/fonts/crimsontext-semibold-webfont.ttf rename to prosopopee/themes/material/static/fonts/crimsontext-semibold-webfont.ttf diff --git a/themes/material/static/fonts/crimsontext-semibold-webfont.woff b/prosopopee/themes/material/static/fonts/crimsontext-semibold-webfont.woff similarity index 100% rename from themes/material/static/fonts/crimsontext-semibold-webfont.woff rename to prosopopee/themes/material/static/fonts/crimsontext-semibold-webfont.woff diff --git a/themes/material/static/fonts/crimsontext-semibold-webfont.woff2 b/prosopopee/themes/material/static/fonts/crimsontext-semibold-webfont.woff2 similarity index 100% rename from themes/material/static/fonts/crimsontext-semibold-webfont.woff2 rename to prosopopee/themes/material/static/fonts/crimsontext-semibold-webfont.woff2 diff --git a/themes/material/static/fonts/crimsontext-semibolditalic-webfont.eot b/prosopopee/themes/material/static/fonts/crimsontext-semibolditalic-webfont.eot similarity index 100% rename from themes/material/static/fonts/crimsontext-semibolditalic-webfont.eot rename to prosopopee/themes/material/static/fonts/crimsontext-semibolditalic-webfont.eot diff --git a/themes/material/static/fonts/crimsontext-semibolditalic-webfont.svg b/prosopopee/themes/material/static/fonts/crimsontext-semibolditalic-webfont.svg similarity index 100% rename from themes/material/static/fonts/crimsontext-semibolditalic-webfont.svg rename to prosopopee/themes/material/static/fonts/crimsontext-semibolditalic-webfont.svg diff --git a/themes/material/static/fonts/crimsontext-semibolditalic-webfont.ttf b/prosopopee/themes/material/static/fonts/crimsontext-semibolditalic-webfont.ttf similarity index 100% rename from themes/material/static/fonts/crimsontext-semibolditalic-webfont.ttf rename to prosopopee/themes/material/static/fonts/crimsontext-semibolditalic-webfont.ttf diff --git a/themes/material/static/fonts/crimsontext-semibolditalic-webfont.woff b/prosopopee/themes/material/static/fonts/crimsontext-semibolditalic-webfont.woff similarity index 100% rename from themes/material/static/fonts/crimsontext-semibolditalic-webfont.woff rename to prosopopee/themes/material/static/fonts/crimsontext-semibolditalic-webfont.woff diff --git a/themes/material/static/fonts/crimsontext-semibolditalic-webfont.woff2 b/prosopopee/themes/material/static/fonts/crimsontext-semibolditalic-webfont.woff2 similarity index 100% rename from themes/material/static/fonts/crimsontext-semibolditalic-webfont.woff2 rename to prosopopee/themes/material/static/fonts/crimsontext-semibolditalic-webfont.woff2 diff --git a/themes/material/static/fonts/montserrat-regular-webfont.eot b/prosopopee/themes/material/static/fonts/montserrat-regular-webfont.eot similarity index 100% rename from themes/material/static/fonts/montserrat-regular-webfont.eot rename to prosopopee/themes/material/static/fonts/montserrat-regular-webfont.eot diff --git a/themes/material/static/fonts/montserrat-regular-webfont.svg b/prosopopee/themes/material/static/fonts/montserrat-regular-webfont.svg similarity index 100% rename from themes/material/static/fonts/montserrat-regular-webfont.svg rename to prosopopee/themes/material/static/fonts/montserrat-regular-webfont.svg diff --git a/themes/material/static/fonts/montserrat-regular-webfont.ttf b/prosopopee/themes/material/static/fonts/montserrat-regular-webfont.ttf similarity index 100% rename from themes/material/static/fonts/montserrat-regular-webfont.ttf rename to prosopopee/themes/material/static/fonts/montserrat-regular-webfont.ttf diff --git a/themes/material/static/fonts/montserrat-regular-webfont.woff b/prosopopee/themes/material/static/fonts/montserrat-regular-webfont.woff similarity index 100% rename from themes/material/static/fonts/montserrat-regular-webfont.woff rename to prosopopee/themes/material/static/fonts/montserrat-regular-webfont.woff diff --git a/themes/material/static/fonts/montserrat-regular-webfont.woff2 b/prosopopee/themes/material/static/fonts/montserrat-regular-webfont.woff2 similarity index 100% rename from themes/material/static/fonts/montserrat-regular-webfont.woff2 rename to prosopopee/themes/material/static/fonts/montserrat-regular-webfont.woff2 diff --git a/themes/material/static/fonts/montserrat-semibold-webfont.eot b/prosopopee/themes/material/static/fonts/montserrat-semibold-webfont.eot similarity index 100% rename from themes/material/static/fonts/montserrat-semibold-webfont.eot rename to prosopopee/themes/material/static/fonts/montserrat-semibold-webfont.eot diff --git a/themes/material/static/fonts/montserrat-semibold-webfont.svg b/prosopopee/themes/material/static/fonts/montserrat-semibold-webfont.svg similarity index 100% rename from themes/material/static/fonts/montserrat-semibold-webfont.svg rename to prosopopee/themes/material/static/fonts/montserrat-semibold-webfont.svg diff --git a/themes/material/static/fonts/montserrat-semibold-webfont.ttf b/prosopopee/themes/material/static/fonts/montserrat-semibold-webfont.ttf similarity index 100% rename from themes/material/static/fonts/montserrat-semibold-webfont.ttf rename to prosopopee/themes/material/static/fonts/montserrat-semibold-webfont.ttf diff --git a/themes/material/static/fonts/montserrat-semibold-webfont.woff b/prosopopee/themes/material/static/fonts/montserrat-semibold-webfont.woff similarity index 100% rename from themes/material/static/fonts/montserrat-semibold-webfont.woff rename to prosopopee/themes/material/static/fonts/montserrat-semibold-webfont.woff diff --git a/themes/material/static/fonts/montserrat-semibold-webfont.woff2 b/prosopopee/themes/material/static/fonts/montserrat-semibold-webfont.woff2 similarity index 100% rename from themes/material/static/fonts/montserrat-semibold-webfont.woff2 rename to prosopopee/themes/material/static/fonts/montserrat-semibold-webfont.woff2 diff --git a/themes/material/static/img/logo.svg b/prosopopee/themes/material/static/img/logo.svg similarity index 100% rename from themes/material/static/img/logo.svg rename to prosopopee/themes/material/static/img/logo.svg diff --git a/themes/material/static/js/baguetteBox.min.js b/prosopopee/themes/material/static/js/baguetteBox.min.js similarity index 100% rename from themes/material/static/js/baguetteBox.min.js rename to prosopopee/themes/material/static/js/baguetteBox.min.js diff --git a/themes/material/static/js/jquery-2.1.4.min.js b/prosopopee/themes/material/static/js/jquery-2.1.4.min.js similarity index 100% rename from themes/material/static/js/jquery-2.1.4.min.js rename to prosopopee/themes/material/static/js/jquery-2.1.4.min.js diff --git a/themes/material/static/js/jquery.panorama_viewer.min.js b/prosopopee/themes/material/static/js/jquery.panorama_viewer.min.js similarity index 100% rename from themes/material/static/js/jquery.panorama_viewer.min.js rename to prosopopee/themes/material/static/js/jquery.panorama_viewer.min.js diff --git a/themes/material/static/js/materialize.min.js b/prosopopee/themes/material/static/js/materialize.min.js similarity index 100% rename from themes/material/static/js/materialize.min.js rename to prosopopee/themes/material/static/js/materialize.min.js diff --git a/themes/material/templates/.prosopopee_cache b/prosopopee/themes/material/templates/.prosopopee_cache similarity index 100% rename from themes/material/templates/.prosopopee_cache rename to prosopopee/themes/material/templates/.prosopopee_cache diff --git a/themes/material/templates/1-small.png b/prosopopee/themes/material/templates/1-small.png similarity index 100% rename from themes/material/templates/1-small.png rename to prosopopee/themes/material/templates/1-small.png diff --git a/themes/material/templates/1.png b/prosopopee/themes/material/templates/1.png similarity index 100% rename from themes/material/templates/1.png rename to prosopopee/themes/material/templates/1.png diff --git a/themes/material/templates/2-small.png b/prosopopee/themes/material/templates/2-small.png similarity index 100% rename from themes/material/templates/2-small.png rename to prosopopee/themes/material/templates/2-small.png diff --git a/themes/material/templates/2.png b/prosopopee/themes/material/templates/2.png similarity index 100% rename from themes/material/templates/2.png rename to prosopopee/themes/material/templates/2.png diff --git a/themes/material/templates/base.html b/prosopopee/themes/material/templates/base.html similarity index 100% rename from themes/material/templates/base.html rename to prosopopee/themes/material/templates/base.html diff --git a/themes/material/templates/example.html b/prosopopee/themes/material/templates/example.html similarity index 100% rename from themes/material/templates/example.html rename to prosopopee/themes/material/templates/example.html diff --git a/themes/material/templates/footer.html b/prosopopee/themes/material/templates/footer.html similarity index 100% rename from themes/material/templates/footer.html rename to prosopopee/themes/material/templates/footer.html diff --git a/themes/material/templates/gallery-index.html b/prosopopee/themes/material/templates/gallery-index.html similarity index 100% rename from themes/material/templates/gallery-index.html rename to prosopopee/themes/material/templates/gallery-index.html diff --git a/themes/material/templates/index.html b/prosopopee/themes/material/templates/index.html similarity index 100% rename from themes/material/templates/index.html rename to prosopopee/themes/material/templates/index.html diff --git a/themes/material/templates/menu.html b/prosopopee/themes/material/templates/menu.html similarity index 100% rename from themes/material/templates/menu.html rename to prosopopee/themes/material/templates/menu.html diff --git a/themes/material/templates/page-example.html b/prosopopee/themes/material/templates/page-example.html similarity index 100% rename from themes/material/templates/page-example.html rename to prosopopee/themes/material/templates/page-example.html diff --git a/themes/material/templates/page.html b/prosopopee/themes/material/templates/page.html similarity index 100% rename from themes/material/templates/page.html rename to prosopopee/themes/material/templates/page.html diff --git a/prosopopee/themes/material/templates/sections/bordered-picture.html b/prosopopee/themes/material/templates/sections/bordered-picture.html new file mode 100644 index 0000000..a93c129 --- /dev/null +++ b/prosopopee/themes/material/templates/sections/bordered-picture.html @@ -0,0 +1,14 @@ +
+ diff --git a/themes/material/templates/sections/full-picture.html b/prosopopee/themes/material/templates/sections/full-picture.html similarity index 69% rename from themes/material/templates/sections/full-picture.html rename to prosopopee/themes/material/templates/sections/full-picture.html index f20537b..33fc8bf 100644 --- a/themes/material/templates/sections/full-picture.html +++ b/prosopopee/themes/material/templates/sections/full-picture.html @@ -1,7 +1,8 @@ {% set image = Image(section.image) %} {{ image.copy() }}