summaryrefslogtreecommitdiff
path: root/site/templates
diff options
context:
space:
mode:
Diffstat (limited to 'site/templates')
-rw-r--r--site/templates/blog.html22
-rw-r--r--site/templates/layout.html26
2 files changed, 41 insertions, 7 deletions
diff --git a/site/templates/blog.html b/site/templates/blog.html
new file mode 100644
index 00000000..b23b2f29
--- /dev/null
+++ b/site/templates/blog.html
@@ -0,0 +1,22 @@
+{% extends 'layout.html' %}
+
+{% block content %}
+ <section>
+ <h1>{{ metadata.title }}</h1>
+ <div class='meta'>
+ <div>
+ <div class='gray'>Posted</div>
+ <div>{{ metadata.date }}</div>
+ </div>
+ <div>
+ <div class='gray'>By</div>
+ <div>{{ metadata.author }}</div>
+ </div>
+ {% if metadata.datasets %}<div>
+ <div class='gray'>Datasets</div>
+ <div>{{ metadata.datasets }}</div>
+ </div>{% endif %}
+ </div>
+ </section>
+ {{ content }}
+{% endblock %}
diff --git a/site/templates/layout.html b/site/templates/layout.html
index c38948ef..304e804f 100644
--- a/site/templates/layout.html
+++ b/site/templates/layout.html
@@ -1,16 +1,19 @@
<!doctype html>
<html>
<head>
- <title>Megapixels</title>
+ <title>MegaPixels</title>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
+ <link rel='stylesheet' href='/assets/css/fonts.css' />
<link rel='stylesheet' href='/assets/css/css.css' />
</head>
<body>
<header>
- <h1>
- <div id="logo"></div>
- Megapixels
+ <a class='slogan' href="/">
+ <div class='logo'></div>
+ <div class='site_name'>MegaPixels</div>
<span class='sub'>The Darkside of Datasets</span>
- </h1>
+ </a>
<div class='links'>
<a href="/search">Face Search</a>
<a href="/datasets">Datasets</a>
@@ -22,8 +25,17 @@
{% block content %}{% endblock %}
</div>
<footer>
- <a href="/about">How to use MegaPixels</a>
- <a href="/pages/terms">Terms of Use & Privacy</a>
+ <div>
+ <a href="/">MegaPixels.cc</a>
+ <a href="/legal/terms/">Terms of Use</a>
+ <a href="/legal/privacy/">Privacy</a>
+ <a href="/about/">About</a>
+ <a href="/about/team/">Team</a>
+ </div>
+ <div>
+ MegaPixels &copy;2017-19 Adam R. Harvey / <a href="https://ahprojects.com">ahprojects.com</a>
+ </div>
</footer>
</body>
+<script src="/assets/js/app/site.js"></script>
</html> \ No newline at end of file