actually wire up auto alt tags. Finally fixes #782
This commit is contained in:
parent
238f992551
commit
b813db397f
2 changed files with 6 additions and 33 deletions
|
@ -87,4 +87,9 @@ require "middleman-more/extensions/lorem"
|
|||
# and automatically adds width and height attributes to their HTML
|
||||
# elements.
|
||||
require "middleman-more/extensions/automatic_image_sizes"
|
||||
Middleman::Extensions::AutomaticImageSizes.register
|
||||
Middleman::Extensions::AutomaticImageSizes.register
|
||||
|
||||
# AutomaticAltTags uses the file name of the `image_tag` to generate
|
||||
# a default `:alt` value.
|
||||
require "middleman-more/extensions/automatic_alt_tags"
|
||||
Middleman::Extensions::AutomaticAltTags.register
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue