Skip to content
Create a gist now

Instantly share code, notes, and snippets.

PrintsOfWhales
def random_home_page_blurb (blurbs)
selected_blurb = blurbs.sample
output = "<span class='heading letterspaced txtshadow-light'>#{selected_blurb[:setup]}</span><br /><br />"
output << "<span class='subheading letterspaced txtshadow-light'>#{selected_blurb[:punchline]}<span>"
span.html_safe
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.