Init
This commit is contained in:
commit
72067ba038
19 changed files with 7758 additions and 0 deletions
6
layouts/default.slim
Normal file
6
layouts/default.slim
Normal file
|
@ -0,0 +1,6 @@
|
|||
doctype html
|
||||
html lang='en'
|
||||
head == render 'head'
|
||||
body
|
||||
#container
|
||||
== yield
|
17
layouts/head.slim
Normal file
17
layouts/head.slim
Normal file
|
@ -0,0 +1,17 @@
|
|||
meta name="viewport" content='width=device-width, initial-scale=1.0'
|
||||
title = "#{@item[:title] + ' · ' if @item[:title]}Tent"
|
||||
link href='/assets/css/bootstrap.css' rel='stylesheet' type='text/css' media='screen'
|
||||
link href='/assets/css/bootstrap-responsive.css' rel='stylesheet' type='text/css' media='screen'
|
||||
link href='/assets/css/style.css' rel='stylesheet' type='text/css' media='screen'
|
||||
link rel='alternate' type='application/atom+xml' title='Atom feed' href="#{@site.config[:base_url]}/posts.xml"
|
||||
javascript:
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', '#{@site.config[:google_analytics_id]}']);
|
||||
_gaq.push(['_setSiteSpeedSampleRate', 50]);
|
||||
_gaq.push(['_trackPageview']);
|
||||
|
||||
(function() {
|
||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue