I hereby claim:
- I am budparr on github.
- I am budparr (https://keybase.io/budparr) on keybase.
- I have a public key whose fingerprint is 9DDE D468 81E7 3D62 C315 1F12 FFD4 EFBD AF91 5796
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
csplit -k -n 3 export.txt '/^@@@/' {'999'}; for i in xx*; do sed -i '' 's/@@@/---/g' $i; done; for i in xx*; do mv $i `egrep -m1 -e 'slug:.*' $i | sed -e s/[^\]\[A-Za-z0-9~.,_{}\(\)\'\-\+]/-/g -e s/slug--//`.md; done |
Add this to your config.yml file: | |
``` | |
include: | |
- _pages | |
``` | |
and then, if you want the filename to be your permalink (without the _pages in the url), do this: in config.yml, add this to your defaults: | |
``` | |
- scope: | |
path: '_pages' | |
values: |
<script type="text/javascript"> | |
function ISBN13toISBN10(isbn13) {var start = isbn13.substring(3, 12);var sum = 0;var mul = 10;var i;for(i = 0; i < 9; i++) {sum = sum + (mul * parseInt(start[i]));mul -= 1;}var checkDig = 11 - (sum % 11);if (checkDig == 10) {checkDig = "X";} else if (checkDig == 11) {checkDig = "0";}return start + checkDig;}document.getElementById("isbn10_{{ isbn }}").innerHTML='<a href="http://www.amazon.com/dp/' + ISBN13toISBN10("{{ isbn }}") +'" title="Amazon" target="_blank" >Amazon</a>'; | |
</script> |
--- | |
layout: null | |
permalink: robots.txt | |
--- | |
# filter pages and documents for the noindex key | |
{% assign noindexPages = site.pages | where: 'sitemap', false %} | |
{% assign noindexDocuments = site.documents | where: 'sitemap', false %} | |
User-agent: * | |
# robotstxt.org - if _config production variable is false robots will be disallowed. | |
{% if site.production != true %} |
Generating... | |
Liquid Exception: Liquid error (line 67): comparison of Jekyll::Document with Jekyll::Document failed in _layouts/case.html | |
/Users/budparr/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/liquid-3.0.6/lib/liquid/strainer.rb:56:in `rescue in invoke': Liquid error (line 67): comparison of Jekyll::Document with Jekyll::Document failed (Liquid::ArgumentError) | |
from /Users/budparr/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/liquid-3.0.6/lib/liquid/strainer.rb:50:in `invoke' | |
from /Users/budparr/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/liquid-3.0.6/lib/liquid/context.rb:95:in `invoke' | |
from /Users/budparr/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/liquid-3.0.6/lib/liquid/variable.rb:88:in `block in render' | |
from /Users/budparr/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/liquid-3.0.6/lib/liquid/variable.rb:86:in `each' | |
from /Users/budparr/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/liquid-3.0.6/lib/liquid/variable.rb:86:in `inject' | |
from /Users/budparr/.rbenv/versions/2.1.3/li |
{% for link_hash in page.links %} | |
{% for link in link_hash %} | |
<a href="{{ link[1] }}">{{ link[0] }}</a> | |
{% endfor %} | |
{% endfor %} |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>D3 </title> | |
<style media="screen"> | |
svg { | |
border: 1px solid #f0f; | |
} |
If I have a _config.yml with: | |
collections: | |
my_collection: | |
foo: bar | |
And a template with | |
``` | |
{% assign collectionName = 'my_collection' %} |