Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix featured alt text not being used. #154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jkrehm
Copy link

@jkrehm jkrehm commented May 7, 2019

Description

Fix featured alt text not being used.

Also:

  • Remove comment about old title option for image paths
  • Remove unused variables

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

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

Also:
- Remove comment about old `title` option for image paths
- Remove unused variables
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant