File tree Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Original file line number Diff line number Diff line change 4444 < link rel ="icon " type ="image/png " href ="{{ site.url }}/images/favicons/favicon-128.png " sizes ="128x128 " />
4545 < link rel ="shortcut icon " type ="image/x-icon " href ="{{ site.url }}/favicon.ico ">
4646 < style > html { visibility : hidden; opacity : 0 ; }</ style >
47- < script >
48- { % if page . url == '/' % }
49- var links = [ "{{ site.url }}/css/main.css" ] ;
50- { % else % }
51- var links = [ "https://unpkg.com/flickity/dist/flickity.min.css" , "{{ site.url }}/css/main.css" ] ;
52- { % endif % }
53- links . forEach ( addLink )
54- function addLink ( value ) {
55- var link = document . createElement ( "link" ) ;
56- link . rel = "stylesheet" ;
57- link . type = "text/css" ;
58- link . href = value ;
59- document . getElementsByTagName ( 'HEAD' ) [ 0 ] . appendChild ( link ) ;
60- }
61- </ script >
47+ {% if page.url == '/' %}
48+ < link rel ="stylesheet " href ="{{ site.url }}/css/main.css " media ="print " onload ="this.media='all' ">
49+ {% else %}
50+ < link rel ="stylesheet " href ="{{ site.url }}/css/main.css " media ="print " onload ="this.media='all' ">
51+ < link rel ="stylesheet " href ="https://unpkg.com/flickity/dist/flickity.min.css " media ="print " onload ="this.media='all' ">
52+ {% endif %}
6253</ head >
6354
6455< body >
You can’t perform that action at this time.
0 commit comments