File tree Expand file tree Collapse file tree
source/_templates/sphinx_minoo_theme/includes Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525{% endif %}
2626
2727{% for cssfile in css_files %}
28- < link rel ="stylesheet " href ="{{ pathto(cssfile.filename, 1) }} " type ="text/css " />
28+ < link rel ="stylesheet " href ="{{ pathto(cssfile.filename if cssfile.filename is defined else cssfile , 1) }} " type ="text/css " />
2929{% endfor %}
3030{% for cssfile in extra_css_files %}
31- < link rel ="stylesheet " href ="{{ pathto(cssfile.filename, 1) }} " type ="text/css " />
31+ < link rel ="stylesheet " href ="{{ pathto(cssfile.filename if cssfile.filename is defined else cssfile , 1) }} " type ="text/css " />
3232{% endfor %}
3333
3434< link rel ="stylesheet " type =text/css href ="{{ pathto('_static/font-awesome.min.css', 1) }} ">
8383 {% set script_files = script_files + ['_static/searchtools.js'] %}
8484
8585 {%- for scriptfile in script_files %}
86- < script type ="text/javascript " src ="{{ pathto(scriptfile.filename, 1) }} "> </ script >
86+ < script type ="text/javascript " src ="{{ pathto(scriptfile.filename if scriptfile.filename is defined else scriptfile , 1) }} "> </ script >
8787 {%- endfor %}
8888{% endif %}
8989
You can’t perform that action at this time.
0 commit comments