diff --git a/Gruntfile.js b/Gruntfile.js index 97bfc6b3..a027f26e 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -66,13 +66,14 @@ module.exports = function(grunt){ stylus: { compile: { options: { - include css: true - } + 'include css': true, + compress: false + }, files: { '<%= config.site %>/<%= config.assets.css %>/kremalicious3.min.css' : '<%= config.src %>/<%= config.assets.stylus %>/kremalicious3.styl', '<%= config.site %>/<%= config.assets.css %>/poststyle-2300.min.css' : '<%= config.src %>/<%= config.assets.stylus %>/poststyle-2300.styl' - }, - }, + } + } }, // combine css media queries @@ -167,7 +168,7 @@ module.exports = function(grunt){ }, stylus: { files: ['<%= config.src %>/<%= config.assets.stylus %>/*.styl'], - tasks: ['stylus','cmq','cssmin'] + tasks: ['stylus', 'cmq', 'cssmin'] }, js: { files: ['<%= config.src %>/<%= config.assets.js %>/*.js'], diff --git a/_config.yml b/_config.yml index 295cd82c..181abe6b 100644 --- a/_config.yml +++ b/_config.yml @@ -68,10 +68,10 @@ picture: width: "480" source_default: width: "320" - sticky: + featured: ppi: [1, 2] attr: - class: "sticky-image" + class: "featured-image" itemprop: "image" source_default: width: "190" \ No newline at end of file diff --git a/_src/_includes/articles.html b/_src/_includes/articles.html index 3a2bb875..9489a6a7 100644 --- a/_src/_includes/articles.html +++ b/_src/_includes/articles.html @@ -5,7 +5,7 @@

- {{ post.title | titlecase }} + {{ post.title | titlecase }} {{ post.linkurl | remove:'http://' | remove:'https://' | remove:'www.' | split:'/' | first }}

@@ -14,7 +14,7 @@
{{ post.content | markdownify }}

- Go to source + Go to source

@@ -26,58 +26,58 @@
- + {% picture {{ post.image }} %} - +
{{ post.title | titlecase }}
-{% else %} - +{% else %} +

{{ post.title | titlecase }}

- + {% if post.image %} {% picture {{ post.image }} class="teaser" %} {% endif %} - + {% capture has_more %}{{ post.content | has_more }}{% endcapture %} - + {% if has_more == 'true' %} - {{ post.content | post.excerpt | excerpt | markdownify }} + {{ post.content | post.excerpt | excerpt | markdownify }} {% else %} {% unless post.categories contains "goodies" and page.path contains "goodies" %} {{ post.excerpt | markdownify }} {% endunless %} {% endif %} - + {% if post.categories contains "goodies" and page.path contains "goodies" %} {% endif %} - + {% unless page.path contains "goodies" %} - Continue reading + Continue reading {% endunless %}
diff --git a/_src/_includes/comments.html b/_src/_includes/comments.html index cb5a96da..ed924a9e 100644 --- a/_src/_includes/comments.html +++ b/_src/_includes/comments.html @@ -2,6 +2,6 @@ \ No newline at end of file diff --git a/_src/_includes/featured.html b/_src/_includes/featured.html new file mode 100644 index 00000000..9a49a0f7 --- /dev/null +++ b/_src/_includes/featured.html @@ -0,0 +1,13 @@ + + \ No newline at end of file diff --git a/_src/_includes/footer.html b/_src/_includes/footer.html index efa91d73..c48c128b 100644 --- a/_src/_includes/footer.html +++ b/_src/_includes/footer.html @@ -1,7 +1,7 @@