Skip to content

Commit

Permalink
change placeholder.it to dummyimage.com (#2575)
Browse files Browse the repository at this point in the history
change supplier for image placeholder since placeholder.it doesn't exist any longer.
related to issue #2540
#2540
  • Loading branch information
jbpfran committed Jan 3, 2023
1 parent 50f76c2 commit 7ca4c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleman-core/lib/middleman-core/extensions/lorem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def email
# @param [Hash] options
# @return [String]
def image(size, options_hash = ::Middleman::EMPTY_HASH)
domain = options_hash[:domain] || 'http://placehold.it'
domain = options_hash[:domain] || 'https://dummyimage.com'
src_array = ["#{domain}/#{size}"]
hex = %w[a b c d e f 0 1 2 3 4 5 6 7 8 9]
background_color = options_hash[:background_color]
Expand Down

0 comments on commit 7ca4c42

Please sign in to comment.