This file contains 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
# A simple function to create a new jekyll-post entry from terminal, | |
# insert some datas in the new file just created and then open it. | |
# | |
# Usage : $ post "My awesome title" "categoty1 category2 category3" | |
function post() { | |
title=$1 | |
category=$2 | |
lowercase=$( tr '[A-Z]' '[a-z]' <<< $title) | |
space=${lowercase// /-} |
This file contains 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
{% if page.paginator %} | |
{% assign paginator = page.paginator %} | |
{% endif %} | |
{% for post in paginator.posts %} | |
{% include blog/entry.html %} | |
{% endfor %} | |
{% if paginator.total_pages > 1 %} |
This file contains 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
.o-layout { | |
&-three-columns { | |
width: 33.333%; | |
} | |
} |
This file contains 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
.o-layout { | |
&-three-columns { | |
width: 33.333%; | |
float: left; | |
} | |
} | |
.layout-potatos { | |
&-three-columns { | |
@extend .o-layout-three-columns; |
This file contains 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
$icons: ( | |
--1: --a, | |
--2: --b, | |
--3: --c | |
); | |
.colors { | |
@each $name, $glyph in $icons { | |
#{$name}: #{$glyph}; | |
} |
This file contains 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
$colorsmap: ( | |
1: a, | |
2: b, | |
3: c | |
); | |
.colors { | |
@each $key, $value in $colorsmap { | |
--#{$key}: --#{$value}; | |
} |
This file contains 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
$colorsmap: ( | |
1: a, | |
2: b, | |
3: c | |
); | |
.colors { | |
@each $key, $value in $colorsmap { | |
--#{$key}: --#{$value}; | |
} |
This file contains 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
// ---- | |
// Compass (v1.0.1) | |
// ---- | |
// bemify | |
// https://gtihub.com/franzheidl/bemify | |
// Franz Heidl 2015 | |
// MIT License | |
This file contains 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
// ---- | |
// Compass (v1.0.1) | |
// ---- | |
// bemify | |
// https://gtihub.com/franzheidl/bemify | |
// Franz Heidl 2015 | |
// MIT License | |
This file contains 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
// ---- | |
// Compass (v1.0.1) | |
// ---- | |
// bemify | |
// https://gtihub.com/franzheidl/bemify | |
// Franz Heidl 2015 | |
// MIT License | |
OlderNewer