summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/waldo/asciidoc/render_templates.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/waldo/asciidoc/render_templates.rb b/lib/waldo/asciidoc/render_templates.rb
index 4bd7a2d1..ecd1959f 100644
--- a/lib/waldo/asciidoc/render_templates.rb
+++ b/lib/waldo/asciidoc/render_templates.rb
@@ -124,6 +124,9 @@ class SectionParagraphTemplate < BaseTemplate
def template
@template ||= ERB.new <<-EOF
<div class='paragraph'>
+ <% if !title.nil? %>
+ <div class='title'><%= title %></div>
+ <% end %>
<p><%= content %></p>
</div>
EOF