Isotope Issues with Combination Filters and Hash State (solved) ('-' * 63)
Forked from Bud Parr's Pen Isotope Issues with Combination Filters and Hash State.
lib-cov | |
*.seed | |
*.log | |
*.csv | |
*.dat | |
*.out | |
*.pid | |
*.gz | |
.DS_Store | |
.sass-cache |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
{{ if raven:success }} | |
<h1>Thank You!</h1> | |
{{ first-name }} | |
{{ last-name }} | |
{{ from }} | |
{{ phone }} | |
{{ book-title }} | |
{{ book-publisher }} | |
{{ author-name }} |
# Location (from root) to save form submissions | |
submission_save_path: _content/_forms/ | |
# Prefix your files with a string which are saved in the format: | |
# YYYY-MM-DD-HH-MM-SS.yaml | |
file_prefix: book-awards | |
# Prefix your files with a string which are saved in the format: | |
# YYYY-MM-DD-HH-MM-SS.yaml | |
# file_suffix: - {{ name }} |
{% 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 I have a _config.yml with: | |
collections: | |
my_collection: | |
foo: bar | |
And a template with | |
``` | |
{% assign collectionName = 'my_collection' %} |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>D3 </title> | |
<style media="screen"> | |
svg { | |
border: 1px solid #f0f; | |
} |
{% for link_hash in page.links %} | |
{% for link in link_hash %} | |
<a href="{{ link[1] }}">{{ link[0] }}</a> | |
{% endfor %} | |
{% endfor %} |