This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% assign items = site.collection | group_by: 'type' | sort: 'typeweight' %} | |
{% for item in items %} | |
{{item}} | |
{% endfor %} | |
Results in... | |
{"NAME"=>"ASIDES", "ITEMS"=>[#, #, #]} | |
{"NAME"=>"MASTHEAD", "ITEMS"=>[#]} | |
{"NAME"=>"CONTENT", "ITEMS"=>[#]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Web axioms to live by | |
1. if you can do it in HTML, don’t use CSS | |
2. if you can do it in CSS, don’t use JS | |
3. if all else fails use JS | |
https://twitter.com/johnallsopp/status/719755806594367494 | |
#WCAG 2.0 | |
##Understanding the Four Principles of Accessibility | |
http://www.w3.org/TR/UNDERSTANDING-WCAG20/intro.html#introduction-fourprincs-head |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Drupal Pagination Layout */ | |
.pager { | |
padding: 0; | |
position: relative; | |
} | |
.item-list .pager .pager-first, | |
.item-list .pager .pager-previous, | |
.item-list .pager .pager-next, |