aboutsummaryrefslogtreecommitdiff
path: root/themes/classic/source/_layouts/default.html
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-06-07 16:12:46 -0400
committerBrandon Mathis <brandon@imathis.com>2011-06-07 16:12:46 -0400
commitaa230616241321ca9c4b8f4202d045c829527618 (patch)
treea3421f7253257f8644ff9adb956af3575a4eec9d /themes/classic/source/_layouts/default.html
parent6cba2145136309d2ac5202853b554f0471a67bf0 (diff)
downloadmy_new_personal_website-aa230616241321ca9c4b8f4202d045c829527618.tar.xz
my_new_personal_website-aa230616241321ca9c4b8f4202d045c829527618.zip
Added themes directory, improved javascript load and minification.
Diffstat (limited to 'themes/classic/source/_layouts/default.html')
-rw-r--r--themes/classic/source/_layouts/default.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/themes/classic/source/_layouts/default.html b/themes/classic/source/_layouts/default.html
new file mode 100644
index 00000000..dc69ef83
--- /dev/null
+++ b/themes/classic/source/_layouts/default.html
@@ -0,0 +1,26 @@
+{% include head.html %}
+<body {% if page.body_id %} id="{{ page.body_id }}" {% endif %} {% if page.sidebar == 'none' %} class="no-sidebar" {% endif %}>
+ <header>{% include header.html %}</header>
+ <nav>{% include navigation.html %}</nav>
+ <div>
+ <div>
+ <div id="articles">{{ content }}</div>
+ {% unless page.sidebar == 'none' %}
+ <aside>{% include sidebar.html %}</aside>
+ {% endunless %}
+ </div>
+ </div>
+ <footer>{% include footer.html %}</footer>
+ {% if site.twitter_follow_button or site.twitter_tweet_button %}
+ <script type="text/javascript">
+ (function(){
+ var twitterWidgets = document.createElement('script');
+ twitterWidgets.type = 'text/javascript';
+ twitterWidgets.async = true;
+ twitterWidgets.src = 'http://platform.twitter.com/widgets.js';
+ document.getElementsByTagName('head')[0].appendChild(twitterWidgets);
+ })();
+ </script>
+ {% endif %}
+</body>
+</html>