mirror of
https://github.com/kogakure/website-11ty-hamburg.stefanimhoff.de.git
synced 2026-02-03 12:15:28 +00:00
28 lines
690 B
Plaintext
28 lines
690 B
Plaintext
{% if site.isProduction %}
|
|
{% set criticalCSS %}
|
|
{% include "critical/base.css" %}
|
|
{% if css %}
|
|
{% include "critical/" + css %}
|
|
{% endif %}
|
|
{% endset %}
|
|
|
|
<style>
|
|
{{criticalCSS | safe}}
|
|
</style>
|
|
|
|
{% else %}
|
|
|
|
<link rel="stylesheet" href="{{ '/assets/styles/base.css' | url }}"/>
|
|
{% if css %}
|
|
<link rel="stylesheet" href="{{ '/assets/styles/' + css | url }}"/>
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
<link rel="stylesheet" href="{{ '/assets/styles/main.css' | url }}" media="print" onload="this.media='all'"/>
|
|
<link rel="stylesheet" href="{{ '/assets/styles/print.css' | url }}" media="print"/>
|
|
|
|
<noscript>
|
|
<link rel="stylesheet" href="{{ '/assets/styles/main.css' | url }}"/>
|
|
</noscript>
|