Logo Configuration

The Ryder theme supports two logo styles: a text mark (the default) and a custom image. Both are configured entirely in hugo.toml — no template edits required.

Text logo (default)

The default logo renders two coloured words side-by-side. The first word is displayed in sky-blue and the second in lime-green.

[params]
  logo_firstWord = "my"
  logo_lastWord  = "site"
  logo_tagline   = "FOR HUGO WEBSITES"

If neither logo_firstWord nor logo_lastWord is set, the theme automatically splits title on the first space and uses those two words.

Optional text-logo params

ParamTypeDescription
logo_fontClassstringTailwind CSS font-family class applied to the logo text (e.g. "font-titillium")
logo_collapseboolWhen true the logo collapses to initials only on small screens
logo_taglinestringSmall all-caps label below the words
[params]
  logo_firstWord = "ryder"
  logo_lastWord  = "theme"
  logo_tagline   = "FOR HUGO WEBSITES"
  logo_fontClass = "font-titillium"
  logo_collapse  = true

To replace the text mark with your own image:

  1. Copy your logo file into your site’s static/images/ directory:

    your-sstiatteii/cm/agelsgo.png
  2. Add logo_png to [params] in config/_default/hugo.toml:

    [params]
      logo_png = "/images/logo.png"
    

The image is rendered at a maximum height of 4 rem; width scales automatically. Any web-safe format works — .png, .svg, .webp, .jpg.

Combining an image with a tagline

logo_tagline still appears below the image when logo_png is set:

[params]
  logo_png     = "/images/logo.svg"
  logo_tagline = "YOUR TAGLINE HERE"

Summary of logo params

ParamDefaultDescription
logo_firstWordfirst word of titleFirst word of the text mark
logo_lastWordsecond word of titleSecond word of the text mark
logo_tagline(none)Small label shown below words or image
logo_fontClass(none)Tailwind font class for the text mark
logo_collapsefalseCollapse text to initials on mobile
logo_png(none)Path to a logo image; hides the text mark when set