Git Product home page Git Product logo

hyde's Introduction

hyde

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

Hyde screenshot

Contents

Installation

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"

Options

Sidebar menu

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"

Sticky sidebar content

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.

Themes

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).

Hyde in red

There are eight themes available at this time.

Hyde theme classes

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.

Reverse layout

Hyde with reverse layout

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.

Paging

This theme support Paging, open-box use. default page size is 6, change it in scripts/blog_paging.rhai

Related Post

Default showing Related-Post in bottom of every blog page.

Example site.toml

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.

hyde's People

Contributors

jmu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.