File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 33<!-- Printing and PDF exports -->
44<!-- use Hugo to create the right path for the print stylesheet, then conditionally include it -->
55{{- $reveal_location := $.Param "reveal_hugo.reveal_cdn" | default "reveal-js" -}}
6- < a href ="{{ printf "%s /css/print/" $reveal_location | relURL }}" id="print-location " style ="display: none; "> </ a >
7- < script type ="text/javascript ">
8- var printLocationElement = document . getElementById ( 'print-location' ) ;
9- var link = document . createElement ( 'link' ) ;
10- link . rel = 'stylesheet' ;
11- link . type = 'text/css' ;
12- link . href = printLocationElement . href + ( window . location . search . match ( / p r i n t - p d f / gi) ? 'pdf.css' : 'paper.css' ) ;
13- document . getElementsByTagName ( 'head' ) [ 0 ] . appendChild ( link ) ;
14- </ script >
156
167<!-- load Reveal.js javascripts -->
178< script src ="{{ printf "%s /dist/reveal.js" $reveal_location | relURL }}"> </ script >
You can’t perform that action at this time.
0 commit comments