diff --git a/_includes/head.html b/_includes/head.html index 12adc96..b9c9380 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,30 +1,22 @@ + {% if post.title %}{{ post.title }} | {{ page.title }}{% else %}{{ site.title }}{% endif %} - - - - - + - + + + - - - + + - + - - + var link = document.createElement( 'link' ); + link.rel = 'stylesheet'; + link.type = 'text/css'; + link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'node_modules/reveal.js/css/print/paper.css'; + document.getElementsByTagName( 'head' )[0].appendChild( link ); + \ No newline at end of file diff --git a/_includes/script.html b/_includes/script.html index d911935..eb167a7 100644 --- a/_includes/script.html +++ b/_includes/script.html @@ -1,57 +1,16 @@ - - - - - - - - - - + + +