Hyde is a brazen two-column Bartholomew based on the Jekyll/Zola theme of the same name that pairs a prominent sidebar with uncomplicated content.
project based on
First download this theme to your themes
directory:
cd themes
git clone https://github.com/jmu/hyde.git
and then enable it in your site.toml
:
theme = "hyde"
Set a field in extra
:
[extra]
version = "1.0"
copyright = "The Site Authors"
time = "2023"
github = "https://github.com/fermyon"
twitter = "https://twitter.com/fermyontech"
By default Hyde ships with a sidebar that affixes it's content to the bottom of the sidebar. You can optionally disable this by setting hyde_sticky
to false in your config.toml
.
Hyde ships with eight optional themes based on the base16 color scheme. Apply a theme to change the color scheme (mostly applies to sidebar and links).
There are eight themes available at this time.
To use a theme, set the hyde_theme
field in site.toml
to any of the themes name:
[extra]
hyde_theme = "theme-base-08"
To create your own theme, look to the Themes section of included CSS file. Copy any existing theme (they're only a few lines of CSS), rename it, and change the provided colors.
Hyde's page orientation can be reversed by setting hyde_reverse
to true
in the site.toml
. un-do reverse, you need comment out hyde_reverse
line.
This theme support Paging, open-box use. default page size is 6
, change it in scripts/blog_paging.rhai
Default showing Related-Post in bottom of every blog page.
example toml looks like this:
title = "Your Site Name"
# logo = "URL to logo"
base_url = "http://localhost:3000"
about = "This site is generated with <a href='https://bartholomew.fermyon.dev/' target='_blank'>Bartholomew</a>, the WebAssembly micro-CMS. And this message is in site.toml."
index_site_pages = ["main", "blog"]
theme = "hyde"
[extra]
version = "1.0"
copyright = "The Site Authors"
time = "2023"
github = "https://github.com/fermyon"
twitter = "https://twitter.com/fermyontech"
date_style = "%B %e, %Y"
hyde_sticky = "true"
#hyde_reverse = "false"
hyde_theme = ""
#hyde_theme = "theme-base-08"
generate_feed = "true"
more other spin/bart file need to config please visit Bartholomew Themes.