Demo announcement πŸŽ‰
Table of contents

HotDocs: Announcement Bar

An announcement, like the one at the top of this page, can be configured as follows:

<%= content_for(:announcement, '<div class="announcement">Demo announcement πŸŽ‰</div>'.html_safe) %>

Or in hotdocs_helper.rb like:

<%= content_for(:announcement) do %>
  <div class="announcement">Demo announcement πŸŽ‰</div>
<% end %>

Built with Rails & HotDocs