diff options
Diffstat (limited to 'project/templates')
-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 |
4 files changed, 46 insertions, 0 deletions
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 %} |