diff options
Diffstat (limited to 'project')
-rw-r--r-- | project/assets/css/default.css | 8 | ||||
-rw-r--r-- | project/complexity.yml | 14 | ||||
-rw-r--r-- | project/templates/about.html | 8 | ||||
-rw-r--r-- | project/templates/base.html | 22 | ||||
-rw-r--r-- | project/templates/git.html | 8 | ||||
-rw-r--r-- | project/templates/index.html | 8 |
6 files changed, 68 insertions, 0 deletions
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 %} + <p>Content for about page goes here</p> +{% 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 @@ +<!DOCTYPE html> +<html lang="en"> +<meta charset="utf-8"> +<head> + <title>Jed Barber - {% block title %}{% endblock %}</title> + <link href="/css/default.css" rel="stylesheet"> +</head> +<body> + <div class="navbar"> + <ul class="nav"> + <li><a href="/">Home</a></li> + <li><a href="/about.html">About</a></li> + <li><a href="/git.html">Git</a></li> + </ul> + </div> + <hr> + <div class="content"> + {% block content %} + {% endblock %} + </div> +</body> +</html> 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 %} + <p>Content for git page goes here</p> +{% 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 %} + <p>Content for index goes here</p> +{% endblock %} |