-
I have been using a CSS theme stored in The documentation on how to do a migration, or have a new theme is unclear. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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 So create a |
Beta Was this translation helpful? Give feedback.
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.tplSo create a
templates/hooks/more-head.tpl
in your Zettelkasten, and write the HTML to in…