Personal hugo theme
 
 
Go to file
sheychen 00a58e7e22 Fix: List regular pages not sections on home page 2019-11-03 21:20:45 +01:00
archetypes Initial commit 2019-06-10 21:35:13 +02:00
assets Fix: wrong alpha on sidebar color 2019-08-10 14:27:47 +02:00
layouts Fix: List regular pages not sections on home page 2019-11-03 21:20:45 +01:00
static Initial commit 2019-06-10 21:35:13 +02:00
LICENSE.md Initial commit 2019-06-10 21:35:13 +02:00
README.md Sections 2019-06-10 22:01:30 +02:00
theme.toml Initial commit 2019-06-10 21:35:13 +02:00

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.

Sidebar menu

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

Sticky sidebar content

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