# File lib/asciidoctor/backends/html5.rb, line 16
  def title_div(opts = {})
    if opts.has_key? :caption
      %q(<% if title? %><div class="title"><%= @caption %><%= title %></div><% end %>)
    else
      %q(<% if title? %><div class="title"><%= title %></div><% end %>)
    end
  end