From 1ded97cca520f8cddf0f61dad76298243156639f Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Fri, 30 Dec 2016 22:42:39 +1100 Subject: Initial commit --- project/assets/css/default.css | 8 ++++++++ project/complexity.yml | 14 ++++++++++++++ project/templates/about.html | 8 ++++++++ project/templates/base.html | 22 ++++++++++++++++++++++ project/templates/git.html | 8 ++++++++ project/templates/index.html | 8 ++++++++ 6 files changed, 68 insertions(+) create mode 100644 project/assets/css/default.css create mode 100644 project/complexity.yml create mode 100644 project/templates/about.html create mode 100644 project/templates/base.html create mode 100644 project/templates/git.html create mode 100644 project/templates/index.html (limited to 'project') diff --git a/project/assets/css/default.css b/project/assets/css/default.css new file mode 100644 index 0000000..a56111e --- /dev/null +++ b/project/assets/css/default.css @@ -0,0 +1,8 @@ + + +body { + margin:1em auto; + max-width:40em; + font:1.2em/1.62em sans-serif; +} + diff --git a/project/complexity.yml b/project/complexity.yml new file mode 100644 index 0000000..a9a19d0 --- /dev/null +++ b/project/complexity.yml @@ -0,0 +1,14 @@ + + +# default directory names are fine too +templates_dir: "templates" +assets_dir: "assets" +context_dir: "context" +output_dir: "../www" + + +# I don't know why the hell anyone thought hiding the .html was a good idea +unexpanded_templates: + - "about.html" + - "git.html" + diff --git a/project/templates/about.html b/project/templates/about.html new file mode 100644 index 0000000..df4d00d --- /dev/null +++ b/project/templates/about.html @@ -0,0 +1,8 @@ + +{% extends "base.html" %} + +{% block title %}About{% endblock %} + +{% block content %} +

Content for about page goes here

+{% endblock %} diff --git a/project/templates/base.html b/project/templates/base.html new file mode 100644 index 0000000..d8d7322 --- /dev/null +++ b/project/templates/base.html @@ -0,0 +1,22 @@ + + + + + Jed Barber - {% block title %}{% endblock %} + + + + +
+
+ {% block content %} + {% endblock %} +
+ + diff --git a/project/templates/git.html b/project/templates/git.html new file mode 100644 index 0000000..02cc3de --- /dev/null +++ b/project/templates/git.html @@ -0,0 +1,8 @@ + +{% extends "base.html" %} + +{% block title %}Git{% endblock %} + +{% block content %} +

Content for git page goes here

+{% endblock %} diff --git a/project/templates/index.html b/project/templates/index.html new file mode 100644 index 0000000..14b9c97 --- /dev/null +++ b/project/templates/index.html @@ -0,0 +1,8 @@ + +{% extends "base.html" %} + +{% block title %}Index{% endblock %} + +{% block content %} +

Content for index goes here

+{% endblock %} -- cgit