Introducing Hyde
Hyde is a brazen two-column Jekyll theme that pairs a prominent sidebar with uncomplicated content. It’s based on Poole, the Jekyll butler.
Built on Poole
Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by @mdo. Poole, and every theme built on it (like Hyde here) includes the following:
- Complete Jekyll setup included (layouts, config, 404, RSS feed, posts, and example page)
- Mobile friendly design and development
- Easily scalable text and component sizing with
rem
units in the CSS - Support for a wide gamut of HTML elements
- Related posts (time-based, because Jekyll) below each post
- Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)
Hyde features
In addition to the features of Poole, Hyde adds the following:
Layout: Author Override
Sites that may have content authored from various individuals can be accommodated by using data files.
To attribute an author to a post or page that is different from the site author specified in _config.yml
:
Step 1. Create _data/authors.yml
and add authors using the following format. Anything variables found under author
in _config.yml
can be used (e.g. name
, bio
, avatar
, author links
, etc.).
# /_data/authors.yml
Billy Rick:
name : "Billy Rick"
bio : "What do you want, jewels? I am a very extravagant man."
avatar : "/assets/images/bio-photo-2.jpg"
links:
- label: "Email"
icon: "fas fa-fw fa-envelope-square"
url: "mailto:billyrick@rick.com"
- label: "Website"
icon: "fas fa-fw fa-link"
url: "https://thewhip.com"
- label: "Twitter"
icon: "fab fa-fw fa-twitter-square"
url: "https://twitter.com/extravagantman"
Cornelius Fiddlebone:
name : "Cornelius Fiddlebone"
bio : "I ordered what?"
avatar : "/assets/images/bio-photo.jpg"
links:
- label: "Email"
icon: "fas fa-fw fa-envelope-square"
url: "mailto:cornelius@thewhip.com"
- label: "Twitter"
icon: "fab fa-fw fa-twitter-square"
url: "https://twitter.com/rhymeswithsackit"
Step 2. Assign one of the authors in authors.yml
to a post or page you wish to override the site.author
with.
Layout: Author Sidebar Disabled
This post has the author sidebar disabled.
To disable add author_profile: false
to YAML Front Matter.
Layout: Code Excerpt (Generated)
This is the post content with inline code, (e.g. <span style="color: red;">red</span>
. It should be displayed in place of the auto-generated excerpt in single-page views. Archive-index pages should display an auto-generated excerpt of this content.
Be sure to test the formatting of the auto-generated excerpt, to ensure that it doesn’t create any layout problems.
Layout: Comments Disabled
This post has its comments disabled.
There should be no comment form.
Layout: Comments Enabled
This post should display comments if a provider
is enabled.
Layout: Excerpt (Defined)
This is the post content. It should be displayed in place of the user-defined excerpt in archive-index pages.
This paragraph should be absent from an archive-index page where post.excerpt
is shown.
Layout: Excerpt (Generated)
This is the post content. Archive-index pages should display an auto-generated excerpt of this content.
Layout: Header Image (External URL)
This post should display a header image, if the theme supports it.
Featured image is an external asset and should load.
Layout: Header Image (Horizontal)
This post should display a header image, if the theme supports it.
Non-square images can provide some unique styling issues.
This post tests a horizontal header image.