jpescador / hugo-future-imperfect

A ported theme with some extras for the Hugo static website engine
MIT License
308 stars 227 forks source link

Fix featured `alt` text not being used. #154

Open jkrehm opened 5 years ago

jkrehm commented 5 years ago

Description

Fix featured alt text not being used.

Also:

Motivation and Context

The featured image alt text is not populated even though featuredalt has a value in my blog posts.

Also, the extra variables are confusing, as is the comment about title being an option for image path.

How Has This Been Tested?

I tested with my (very basic) site and with the example site that's bundled with the hugo-future-imperfect theme.

Someone with more Hugo experience (and especially with this template) will hopefully double-check with their site.

Hugo Version:

Hugo Static Site Generator v0.55.5-A83256B9 windows/amd64 BuildDate: 2019-05-02T13:04:07Z

Browser(s):

Firefox

Screenshots (if appropriate):

Types of changes

Checklist: