Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.
/ hugo-et-hd Public archive

Hugo ETHD is an accessibility-enhanced, micro-typography-focused, minimalist Hugo theme for enabling wider audience.

License

Notifications You must be signed in to change notification settings

foxihd/hugo-et-hd

Repository files navigation

About Hugo ET-HD

Edward Tufte × Humaniora Digital1

Hugo ET-HD is an accessibility-enhanced2, micro-typography-focused, minimalist Hugo theme for enabling wider audience.

Temporary unmantained for an unspecified time.

Design Philosophy

The main goals of the design is to be accessible, simplified and remain timeless. While accessibility features require JavaScript to work properly, the rendered website is pretty clean, printable and NoScript-friendly. Hugo ET-HD is designed to be served with minimal power requirements as sustainability act.

By using Hugo ET-HD you are responsible to plant one tree at minimum, for every 10.000 monthly page views. (source: Website Carbon)

The Origin

Hugo ET-HD is built upon,—the already awesome Tufte CSS, with some tuning to be (now) printable. The Hugo Tufte shortcodes minimally modified with basic WAI-ARIA attributes. Crimson replaces the primary serif typeface for MinionPro® look and feel. The split layout of landing page style is inspired by Revue Faire's homepage. While more simple feed options has LOW←TECH MAGAZINE influence. The chromastyle also inspired by Shikiori color palette. Yeah, that couldn't be more stealing.

Feature Highlights

various color scheme and contrast in split layout landing page

  • Improved HTML structure with WAI-ARIA attribute.
  • No-Script browser friendly in mind3.
  • Even more printable Edward Tufte Style CSS.
  • Automatic color scheme & contrast based on system preferences.
  • Legibility control
    • BionRead (experimental) -- Bionic Reading®--alike JavaScript implementation based on JS Bionic Reading.
    • OpenDyslexic Fonts.
    • Font scaling override.
    • Baseline height override.
    • Color scheme override.
    • Contrast override.
  • Automatic or manual post cover embedding[^4].
  • Automatic or manual audio article embedding[^5].
  • Task list with strike-through input.
  • Slider and split layout landing page options with customizable article feed listing.

Customizable Home Page

Setup your home page in config.toml with these parameters:

[params]
  [params.home]
    slider = true #or false
    layoutSplit = true #or false
  [params.feed]
    grid = true #or false
    cover = true #or false
    summary = true  #or false

see exampleSite's config.toml for more.

customizable landing page

customizable feed

Read Better

BionRead or OpenDyslexic? why don't we both?

Choose your fighter!

Automatic Cover & Audio embed

Define post cover by simply adding cover.*, or attach audio article in multiple format by audio.*, put the files in the same index.md folder.

content/
├─ en/
│  └─ post/
│      └─ post-1/
│        ├─ index.md
│        ├─ cover.jpg
│        ├─ audio.mp3
│        └─ audio.ogg
└─ id/
   └─ pos/
      └─ pos-2/
         ├─ index.md
         ├─ cover.png
         ├─ audio.opus
         └─ audio.wav

Special Thanks

This project could not be made, without a lot efforts of,—thank to:

Footnotes

  1. /Humaniora Digital/ is Indonesian for digital humanities.

  2. Accesibility is not tested by peer yet, I don't warrant the feature will function as intended.

  3. Legibility control features require JavaScript.

About

Hugo ETHD is an accessibility-enhanced, micro-typography-focused, minimalist Hugo theme for enabling wider audience.

Topics

Resources

License

Stars

Watchers

Forks