initial import

This commit is contained in:
2011-12-24 17:23:40 +00:00
commit 788d133ab0
12 changed files with 197 additions and 0 deletions

6
views/ga.coffee Normal file
View File

@@ -0,0 +1,6 @@
script '''
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
'''
script '''
try {var pageTracker = _gat._getTracker("UA-354018-12");pageTracker._trackPageview();} catch(err) {}
'''

5
views/index.coffee Normal file
View File

@@ -0,0 +1,5 @@
div id: 'logo'
div id: 'contact', ->
script '''
document.write("<n uers=\\"znvygb:pbagnpg\100urnego\056vg\\">pbagnpg\100urnego\056vg<\057n>".replace(/[a-zA-Z]/g, function(c){return String.fromCharCode((c<="Z"?90:122)>=(c=c.charCodeAt(0)+13)?c:c-26);}));
'''

11
views/layout.coffee Normal file
View File

@@ -0,0 +1,11 @@
doctype 5
html ->
head ->
meta charset: 'utf-8'
title 'heartb.it'
link rel: 'stylesheet', href: 'css/style.css'
body ->
@body
partial 'ga'