aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2017-05-20 15:06:30 -0700
committerChristine Dodrill <me@christine.website>2017-05-20 15:06:30 -0700
commit78f1dda4116fcfd7030d055c56f1f66184d52640 (patch)
treeb876bbb7b9b0e68af22b7e420e6f281a8d593fbf /templates/base.html
parent64fe5c582a2f93d6b4920eb820b4097993a63da8 (diff)
downloadxesite-78f1dda4116fcfd7030d055c56f1f66184d52640.tar.xz
xesite-78f1dda4116fcfd7030d055c56f1f66184d52640.zip
Reimplement most of my site's functionality
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..4099bcd
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,45 @@
+<html>
+ <head>
+ {{ template "title" . }}
+ <link rel="stylesheet" href="/static/css/hack.css" />
+ <link rel="stylesheet" href="/static/css/solarized-dark.css" />
+ <style>
+ .main {
+ padding: 20px 10px;
+ }
+
+ .hack h1 {
+ padding-top: 0;
+ }
+
+ footer.footer {
+ border-top: 1px solid #ccc;
+ margin-top: 80px;
+ margin-top: 5rem;
+ padding: 48px 0;
+ padding: 3rem 0;
+ }
+
+ img {
+ max-width: 100%;
+ max-height: 100%;
+ }
+ </style>
+ {{ template "styles" . }}
+ </head>
+ <body class="hack solarized-dark">
+ {{ template "scripts" . }}
+ <div class="container">
+ <header>
+ <p><a href="/">Christine Dodrill</a> - <a href="/blog">Blog</a> - <a href="/contact">Contact</a> - <a href="/resume">Resume</a></p>
+ </header>
+ {{ template "content" . }}
+ <footer>
+ <blockquote>Copyright 2017 Christine Dodrill. Any and all opinions listed here are my own and not representative of my employer.</blockquote>
+ </footer>
+ </div>
+ </body>
+</html>
+
+{{ define "scripts" }}{{ end }}
+{{ define "styles" }}{{ end }}