Skip to content
Discussion options

You must be logged in to vote

Hello @kattni,
the styles block contains all of the styles, so you have to remember to add a {{ super() }} call to load the initial value and then add your own. Or use extrahead, which is empty by default, so it only contains the new values.

{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.7e37652d.min.css' | url }}">
{% if config.theme.palette %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.06af60db.min.css' | url }}">
{% endif %}
{% include "partials/icons.html" %}
{% endblock %}

As …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kattni
Comment options

Answer selected by kattni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants