From 2a714fd46f852d34bdd0081146e9afc16aae78fa Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Fri, 18 Oct 2019 15:22:18 -0700 Subject: [PATCH] convert over to using hyde for templating... --- .gitignore | 3 +++ Makefile | 12 ++++++++++++ index.html => content/index.html | 0 requirements.txt | 1 + site.yaml | 4 ++++ 5 files changed, 20 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile rename index.html => content/index.html (100%) create mode 100644 requirements.txt create mode 100644 site.yaml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ddf52c7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +p +deploy +.hyde_deps diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..cb1747b --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +.PHONY: env + +env: + (virtualenv p && . ./p/bin/activate && pip install -r requirements.txt) + +.PHONY: deploy + +deploy: + (. ./p/bin/activate && \ + rm -rf deploy && \ + hyde gen \ + ) diff --git a/index.html b/content/index.html similarity index 100% rename from index.html rename to content/index.html diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..a03a9b6 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +git+git://github.com/jmgurney/hyde.git@c8a8aafe081ce7bf9ea90b7e260914522e546210 diff --git a/site.yaml b/site.yaml new file mode 100644 index 0000000..c91a9df --- /dev/null +++ b/site.yaml @@ -0,0 +1,4 @@ +mode: development +media_root: media # Relative path from content folder. +media_url: /media # URL where the media files are served from. +base_url: / # The base url for autogenerated links.