zola/docs/content/themes/neovim-theme/index.md

1.4 KiB

+++ title = "neovim" description = "A only keyboard theme with tabs and file browser" template = "theme.html" date = 2024-09-02T05:58:27Z

[extra] created = 2024-09-02T05:58:27Z updated = 2024-09-02T05:58:27Z repository = "https://github.com/Super-Botman/neovim-theme.git" homepage = "https://github.com/super-botman/zola-theme" minimum_version = "0.4" license = "MIT" demo = "https://super-botman.github.io"

[extra.author] name = "0xb0tm4n" homepage = "https://super-botman.github.io" +++

Neovim like theme

Neovim theme is a neovim like theme for zola.

screenshot

exemple: https://super-botman.github.io

Instalation

cd themes
git clone https://github.com/Super-Botman/neovim-theme.git

then enable it in your config

theme = "neovim-theme"

Config

You can setup the blog name with config file in extra

[extra]
blog_name = "name"

Customisation

JS

You can add some custom javascript function with this parameter:

[extra]
custom_script = "<path>.js" 

then you just add a file static/js/custom_script.js and define your custom functions like this:

// add special commands
function custom_commands(command, args){
   ...
}

// add special init routine
function custom_init(){
    ...
}

CSS

And for css

[extra]
custom_css = "<path>.css"