initial import
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..7e8c0b6
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<html lang="{{ DEFAULT_LANG }}">
+
+<head>
+  <link rel="stylesheet/less" type="text/css" href="{{ SITEURL }}/theme/css/style.less">
+  <script src="{{ SITEURL }}/theme/js/less-1.3.3.min.js" type="text/javascript"></script>
+  <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/pygments.css">
+  <link href="http://fonts.googleapis.com/css?family=PT+Sans|PT+Serif|PT+Mono" rel="stylesheet" type="text/css">
+  {% if FEED_ALL_ATOM %}
+  <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
+  {% endif %}
+  {% if FEED_ALL_RSS %}
+  <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
+  {% endif %}
+
+  {% block head %}
+  <title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
+  <meta charset="utf-8" />
+  {% endblock %}
+</head>
+
+<body>
+  <section id="sidebar">
+    <figure>
+      <a href="{{ SITEURL }}"><img src="{{ SITEURL }}/theme/images/gravatar_to192.png" alt="logo"></a>
+    </figure>
+
+    <div id="user_meta">
+      <h1><a href="{{ SITEURL }}">{{ AUTHOR }}</a></h1>
+      <h2>{{ TAGLINE }}</h2>
+      <ul>
+        {% if DISPLAY_PAGES_ON_MENU %}
+        {% for p in pages %}
+          <li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
+        {% endfor %}
+        {% endif %}
+        {% for name, link in LINKS %}
+          <li><a href="{{ link }}">{{ name }}</a></li>
+        {% endfor %}
+        {% for name, link in SOCIAL %}
+          <li><a href="{{ link }}">{{ name }}</a></li>
+        {% endfor %}
+      </ul>
+    </div>
+  </section>
+
+  <section id="posts">
+    {% block content %}
+    {% endblock %}
+  </section>
+
+  {% include "analytics.html" %}
+</body>
+</html>