{%- if config.markdown.highlight_code and config.markdown.highlight_theme == "css" %} {%- if config.markdown.highlight_themes_css | length > 0 %} {%- else %} {%- endif %} {%- endif %} {%- set stylesheets = [ "style.css" ] %} {%- if config.extra.stylesheets %} {%- set stylesheets = stylesheets | concat(with=config.extra.stylesheets) %} {%- endif %} {%- if page.extra.stylesheets %} {%- set stylesheets = stylesheets | concat(with=page.extra.stylesheets) %} {%- elif section.extra.stylesheets %} {%- set stylesheets = stylesheets | concat(with=section.extra.stylesheets) %} {%- endif %} {%- for stylesheet in stylesheets %} {%- endfor %} {%- if config.extra.goatcounter %} {%- endif %} {%- if config.extra.show_copy_button %} {%- include "partials/copy_button.html" %} {%- endif %} {%- set scripts = [] %} {%- if config.extra.scripts %} {%- set scripts = config.extra.scripts %} {%- endif %} {%- if page.extra.scripts %} {%- set scripts = scripts | concat(with=page.extra.scripts) %} {%- elif section.extra.scripts %} {%- set scripts = scripts | concat(with=section.extra.scripts) %} {%- endif %} {%- if scripts | length > 0 %} {%- for script in scripts %} {%- endfor %} {%- endif %} {%- if config.extra.comments %} {%- endif %} {%- if config.extra.emoji_favicon %} {%- endif %} {%- if config.generate_feeds and config.feed_filenames %} {%- for feed in config.feed_filenames %} {%- endfor %} {%- elif config.generate_feeds and config.feed_filenames | length > 0 %} {%- endif %}