Icons, manifests and custom JS/CSS

Favicon

A custom favicon for your site can be specified by copying it to the static directory (see Adding images and other files). Neuron recognizes the following file names:

  • static/favicon.svg
  • static/favicon.png
  • static/favicon.ico
  • static/favicon.jpg
  • static/favicon.jpeg
  • static/apple-touch-icon.png

Web app manifest

If a web app manifest file named static/manifest.webmanifest exists, Neuron will automatically use it in generated pages.

Custom JavaScript / CSS

You can add custom JavaSript or CSS code to the <head> element of the generated pages by adding it to the head.html file under the notes directory. If this file does not exist, neuron will use its builtin one that embeds MathJax JavaScript (see Math support).