Skip to content

Theme how to / migrating a theme from neuron #116

Answered by srid
kierun asked this question in Q&A
Discussion options

You must be logged in to vote

You can add this to index.yaml, example: https://github.com/srid/www.srid.ca/blob/99f111faaa1bfd442e88d7a257e8ef2f429ff7d4/index.yaml#L4-L7


An alternative, but a more general (and global) approach would involve HTML templates and "layer" overriding.

I haven't gotten around to documenting HTML templates yet. In short, look up the relative path of a file under the default layer and create the same file in your zettelkasten to "override" it.

Templates have "hook" includes, and the one you need to include stuff in <head> is https://github.com/srid/emanote/blob/master/default/templates/hooks/more-head.tpl

So create a templates/hooks/more-head.tpl in your Zettelkasten, and write the HTML to in…

Replies: 1 comment 1 reply

Comment options

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

Answer selected by kierun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
HTML Templates Emanote's builtin HTML templates
2 participants