Personal hugo theme
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sheychen e5d353f641 Fix: wrong alpha on sidebar color 2 weeks ago
archetypes Initial commit 2 months ago
assets Fix: wrong alpha on sidebar color 2 weeks ago
layouts Sections 2 months ago
static Initial commit 2 months ago
LICENSE.md Initial commit 2 months ago
README.md Sections 2 months ago
theme.toml Initial commit 2 months ago

README.md

Hydden

Hydden is a brazen two-column hugo theme based on the Jekyll theme Hyde. It pairs a prominent sidebar with uncomplicated content.

Contents

Installation

To install Hydden as your default theme, first install this repository in the themes/ directory:

$ cd themes/
$ git clone <here>

Second, specify hydden as your default theme in the config.toml file. Just add the line

theme = "hydden"

at the top of the file.

Options

Hyde includes some customizable options, typically applied via classes on the <body> element.

Create a list of nav links in the sidebar by assigning “menu=main” in the front matter.

By default Hyde ships with a sidebar that affixes it’s content to the bottom of the sidebar. You can optionally disabled this by removing the .sidebar-sticky class from the sidebar’s .container. Sidebar content will then normally flow from top to bottom.

<!-- Default sidebar -->
<div class="sidebar">
  <div class="container sidebar-sticky">
    ...
  </div>
</div>

<!-- Modified sidebar -->
<div class="sidebar">
  <div class="container">
    ...
  </div>
</div>

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

There are eight themes available at this time.

To use a theme, add the themeColor variable under params, like so:

YAML

theme: "hydden"

params:
  themeColor: "theme-base-09"

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

To reverse page orientation, add the layoutReverse variable under params, like so:

theme: "hydden"

params:
  layoutReverse: true

Comtodon

A minimal commenting system for static blogs using external Mastodon or API compatible server. Open-source and available on My Git. It can be enabled by adding your mastodon server domain in the config file:

params:
  comtodon:
    domain: mastodon.social
    # moderator: 358957

Authors

Original By

Mark Otto

Ported By

Steve Francia

Edited By

Maelys Bois

License

Open sourced under the MIT license.

<3