A "version" is described by the v2.0.0
specification found at
http://semver.org/.
A leading "="
or "v"
character is stripped off and ignored.
The following range styles are supported:
{% comment %} | |
items is a collection, though I think it coule be any content type | |
{% endcomment %} | |
{% comment %} Create the group. {% endcomment %} | |
{% assign items_grouped = site.items | group_by: 'category' | sort: 'name' | reverse %} | |
{% comment %} | |
The above returns, for example, which is why we sort by 'name' | |
{"name"=>"category1_value", "items"=>[#, #, #, #, #]}{"name"=>"category2_value", "items"=>[#, #, #, #]} | |
{% endcomment %} |
A "version" is described by the v2.0.0
specification found at
http://semver.org/.
A leading "="
or "v"
character is stripped off and ignored.
The following range styles are supported:
in _config.yml I put | |
google_analytics_id: YOURID | |
and likely you already have url: www.example.com | |
Include the code below in your site header before </head> | |
--- | |
{% if site.google_analytics_id %} | |
<script> | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
--- | |
layout: none | |
--- | |
{"events": [{% assign first = true %} | |
{% for post in site.data.events reversed %} | |
{% if first == false %},{% endif %} | |
{% if first == true %}{% assign first = false %}{% endif %} | |
{ | |
"name" : "{{ post.title }}", | |
"allday" : "{{ post.allday }}", |
- | |
title: | |
venue: | |
address: | |
city-state: | |
zip: | |
website: | |
allday: true | |
start: 2014-06-11 18:00:00 | |
end: 2014-06-11 19:30:00 |
this is now located at: https://github.com/budparr/jekyll-calendar | |
// REQUIRES MOMENT.JS AND UNDERSCORE.JS | |
// This still needs to be templated and cleaned up and commented. | |
// original idea came from (I think) seattlehacks.com | |
// you will need to add events via a JSON file | |
// OR use this YAML to have content people create lists of events https://gist.github.com/budparr/5b21dccf318e723834e9 | |
// use this JSON generator to create JSON for list below https://gist.github.com/budparr/ee901ba06f29cf1db637 | |
var timing = function(start, end) { |
<!-- TODO: add og, twitter card --> | |
{% comment %} | |
http://ogp.me/ | |
{% endcomment %} | |
<meta name="description" content="{% if page.tagline %}{{page.tagline}}{% endif %}"> | |
{% if page.categories %} | |
{% for category in page.categories limit:1 %} | |
<meta content="{{ category }}" property="article:section"> |
Link to paragraphs within a text, via https://github.com/benbalter/benbalter.github.com | |
//Include the following css: | |
.header-link { | |
position: absolute; | |
left: -0.5em; | |
opacity: 0; |
{% assign count = '0' %} | |
{% assign idx = '0' %} | |
{% for post in site.posts reversed %} | |
{% if post.series == page.series %} | |
{% capture count %}{{ count | plus: '1' }}{% endcapture %} | |
{% if post.url == page.url %} | |
{% capture idx %}{{count}}{% endcapture %} | |
{% endif %} | |
{% endif %} | |
{% endfor %} |
{{ if raven:success }} | |
<h1>Thank You!</h1> | |
{{ first-name }} | |
{{ last-name }} | |
{{ from }} | |
{{ phone }} | |
{{ book-title }} | |
{{ book-publisher }} | |
{{ author-name }} |