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
<?php | |
$blog_uri = 'blog'; | |
$articles = $pages->find( $blog_uri )->children()->visible()->sortBy( $sort='date', $dir='desc' ); | |
$year = date( 'Y' ); | |
?> | |
<ul> | |
<?php | |
// loop through blog articles |
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
// ---- | |
// Sass (v3.3.0.rc.1) | |
// Compass (v0.13.alpha.10) | |
// ---- | |
@function ratio($numerator, $denominator) { | |
@return ($numerator / $denominator) * 100%; | |
} | |
@mixin grid($columns: 8) { |
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
$base-font-size: 16px; | |
/** | |
* Strips the unit from a given number-unit-combination and returns the number. | |
* @link: http://stackoverflow.com/a/12335841/1779999 | |
* @usage: parse-int(10px) => 10 | |
*/ | |
@function parse-int($number) { | |
@return $number / ($number * 0 + 1); |
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
// ---- | |
// Sass (v3.4.7) | |
// Compass (v1.0.1) | |
// ---- | |
$map: ( | |
main-key-1: ( | |
(key-1: value-1, key-2: value-2), | |
(key-1: value-3, key-2: value-4) | |
), |
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
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// ---- | |
/** | |
* Output the `@font-face` declarations. | |
* | |
* @param {Map} $fonts [$szfonts-registry] - The font registry. | |
* @param {List} $fileTypes ['eot' 'woff2' 'woff' 'otf'] – File types to output. |
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
{ | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/User/SublimeLinter/Monokai (SL).tmTheme", | |
"font_face": "Input Mono", | |
"font_options": "subpixel_antialias", | |
"font_size": 16, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, | |
"ignored_packages": | |
[ |