Skip to content

Commit

Permalink
lets see how this goes
Browse files Browse the repository at this point in the history
  • Loading branch information
basarat committed Nov 10, 2015
1 parent 2028e5f commit c5b4d7f
Show file tree
Hide file tree
Showing 13 changed files with 1,064 additions and 38 deletions.
39 changes: 39 additions & 0 deletions _config.yml
@@ -0,0 +1,39 @@
---

port: 4000
host: 0.0.0.0
safe: false


### site serving configuration ###
exclude: [CNAME, README.md, .gitignore]
permalink: / ## disables post output
timezone: null
lsi: false
markdown: kramdown
highlighter: pygments


### content configuration ###
title: "SinglePaged - Simple Jekyll template"
keywords: "SinglePaged, jekyll, template, github, blog, single page"
description: "A single-page template for Jekyll based blogs (like what you'd use on github pages!)"
source_link: "https://github.com/t413/SinglePaged"
favicon: "img/favicon.ico"
touch_icon: "img/apple-touch-icon.png"
google_analytics_key: UA-49607422-1 ## put YOUR key here to enable tracking! (blank to disable)


### template colors, used site-wide via css ###
colors:
black: '#111111'
white: '#f8f8f8'
blue: '#49a7e9'
green: '#9bcf2f'
purple: '#c869bf'
orange: '#fab125'
turquoise: '#0fbfcf'

kramdown:
auto_ids: false

15 changes: 15 additions & 0 deletions _includes/analytics.html
@@ -0,0 +1,15 @@
{% if site.google_analytics_key %}
<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', '{{ site.google_analytics_key }}']);
_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);
})();

</script>
{% endif %}

0 comments on commit c5b4d7f

Please sign in to comment.