Files
v1.pivoine.art/_includes/base-classes
2025-10-25 12:39:30 +02:00

9 lines
441 B
Plaintext

{%- capture classes -%}
{% if site.pivoine.dark_mode.always %}dark-mode{% endif %}
{% if site.pivoine.no_toc %} no-toc{% endif %}
{% if site.pivoine.no_break_layout %} no-break-layout{% endif %}
{% if site.pivoine.no_large_headings %} no-large-headings{% endif %}
{% if site.pivoine.no_third_column %} no-third-column{% endif %}
{% if site.pivoine.no_drawer %} no-drawer{% endif %}
{%- endcapture -%}
{{- classes | strip_newlines | strip -}}