diff --git a/assets/js/page.js b/assets/js/page.js index 9a17510..5710b92 100644 --- a/assets/js/page.js +++ b/assets/js/page.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[4],[,function(e,t,o){"use strict";var n=Object.assign||function(e){for(var t,o=1;ov.scrollOffset&&setTimeout(u,150)}}),window.addEventListener("resize",u);var b={open:l,close:u,toggle:s,update:function(){var e=00}function c(e){return e.replace(/^\s+|\s+$/g,"")}e.exports=function(e,t){var o;t=t||{},o=e=e||"body","[object Object]"===Object.prototype.toString.call(o)&&(t=e,e="body"),t.ignore=t.ignore||"",t.players=t.players||"";var c=r(e);if(a(c)){var m;if(!document.getElementById("fit-vids-style"))(document.head||document.getElementsByTagName("head")[0]).appendChild(((m=document.createElement("div")).innerHTML='

x

",m.childNodes[1]));var l=d(t.players)||[],u=d(t.ignore)||[],s=n.filter(function(e){if(e.length<1)return function(){return!0};return function(t){return-1===e.indexOf(t)}}(u)).concat(l).join();a(s)&&c.forEach(function(e){r(e,s).forEach(function(e){!function(e){if(/fluid-width-video-wrapper/.test(e.parentNode.className))return;var t=parseInt(e.getAttribute("width"),10),o=parseInt(e.getAttribute("height"),10),n=isNaN(t)?e.clientWidth:t,i=(isNaN(o)?e.clientHeight:o)/n;e.removeAttribute("width"),e.removeAttribute("height");var r=document.createElement("div");e.parentNode.insertBefore(r,e),r.className="fluid-width-video-wrapper",r.style.paddingTop=100*i+"%",r.appendChild(e)}(e)})})}}},,,,,,,,,function(e,t,o){e.exports=o(12)},function(e,t,o){"use strict";o.r(t);var n=o(0),i=o.n(n),r=o(1),d=o(2),a=o.n(d);i()(document).ready(function(){a()(".js-post-content"),document.querySelectorAll(".kg-gallery-image img").forEach(function(e){var t=e.closest(".kg-gallery-image"),o=e.attributes.width.value/e.attributes.height.value;t.style.flex="".concat(o," 1 0%")}),i()(".js-post-content").find("figure img").each(function(){i()(this).addClass("js-zoomable")}),Object(r.a)(".js-zoomable")})}],[[11,0,1]]]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{2:function(e,t,o){"use strict";var n=Object.assign||function(e){for(var t,o=1;ov.scrollOffset&&setTimeout(u,150)}}),window.addEventListener("resize",u);var b={open:l,close:u,toggle:s,update:function(){var e=00}function c(e){return e.replace(/^\s+|\s+$/g,"")}e.exports=function(e,t){var o;t=t||{},o=e=e||"body","[object Object]"===Object.prototype.toString.call(o)&&(t=e,e="body"),t.ignore=t.ignore||"",t.players=t.players||"";var c=r(e);if(a(c)){var m;if(!document.getElementById("fit-vids-style"))(document.head||document.getElementsByTagName("head")[0]).appendChild(((m=document.createElement("div")).innerHTML='

x

",m.childNodes[1]));var l=d(t.players)||[],u=d(t.ignore)||[],s=n.filter(function(e){if(e.length<1)return function(){return!0};return function(t){return-1===e.indexOf(t)}}(u)).concat(l).join();a(s)&&c.forEach(function(e){r(e,s).forEach(function(e){!function(e){if(/fluid-width-video-wrapper/.test(e.parentNode.className))return;var t=parseInt(e.getAttribute("width"),10),o=parseInt(e.getAttribute("height"),10),n=isNaN(t)?e.clientWidth:t,i=(isNaN(o)?e.clientHeight:o)/n;e.removeAttribute("width"),e.removeAttribute("height");var r=document.createElement("div");e.parentNode.insertBefore(r,e),r.className="fluid-width-video-wrapper",r.style.paddingTop=100*i+"%",r.appendChild(e)}(e)})})}}},39:function(e,t,o){e.exports=o(40)},40:function(e,t,o){"use strict";o.r(t);var n=o(0),i=o.n(n),r=o(2),d=o(3),a=o.n(d);i()(document).ready(function(){a()(".js-post-content"),document.querySelectorAll(".kg-gallery-image img").forEach(function(e){var t=e.closest(".kg-gallery-image"),o=e.attributes.width.value/e.attributes.height.value;t.style.flex="".concat(o," 1 0%")}),i()(".js-post-content").find("figure img").each(function(){i()(this).addClass("js-zoomable")}),Object(r.a)(".js-zoomable")})}},[[39,0,1]]]); \ No newline at end of file diff --git a/page-authors.hbs b/page-authors.hbs index 081e132..f573bb0 100644 --- a/page-authors.hbs +++ b/page-authors.hbs @@ -5,8 +5,10 @@ {{> hero background=feature_image}}
-

{{title}}

-

{{excerpt}}

+

{{title}}

+ {{#if excerpt}} +

{{excerpt}}

+ {{/if}}
diff --git a/page.hbs b/page.hbs new file mode 100644 index 0000000..259e9a5 --- /dev/null +++ b/page.hbs @@ -0,0 +1,31 @@ +{{!< default}} + +{{#post}} + {{> header background=feature_image}} + + {{> hero background=feature_image}} +
+

{{title}}

+ {{#if excerpt}} +

{{excerpt}}

+ {{/if}} +
+ +
+
+
+
+
+
+ {{content}} +
+
+
+
+
+
+{{/post}} + +{{#contentFor "scripts"}} + +{{/contentFor}} diff --git a/tag.hbs b/tag.hbs index 8799499..565ba67 100644 --- a/tag.hbs +++ b/tag.hbs @@ -5,7 +5,7 @@ {{> hero background=feature_image}}
-

{{name}}

+

{{name}}

{{plural ../pagination.total empty="No posts" singular="% post" plural="% posts"}} with this tag