Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a head block so people can easily extends the theme #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

irevoire
Copy link

@irevoire irevoire commented Jan 22, 2021

This would allow to extends the head parts of your theme easily.
Here is an example of index.html file we could put in templates/:

{% extends "sam/templates/index.html" %}
{% block head %}
        {{ super() }}
        <link rel="stylesheet" href="fenced_code_tab.css">
{% endblock head %}

bellackn added a commit to bellackn/zola-sam that referenced this pull request Jan 23, 2024
@bellackn
Copy link

hey @irevoire, seems like this repo isn't actively maintained anymore. fyi, i've created a fork and merged your proposed change there - bellackn@e688bcb

@irevoire
Copy link
Author

Nice!
Happy to hear it's useful for someone ahah

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants