Skip to content

Commit f645cab

Browse files
binford2kscotje
andauthored
Update lib/puppet-strings/markdown/templates/table_of_contents.erb
Co-Authored-By: Jesse Scott <[email protected]>
1 parent 9b42dd3 commit f645cab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet-strings/markdown/templates/table_of_contents.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ _Public <%= group_name %>_
66

77
<% group.each do |item| -%>
88
<% unless item[:private] -%>
9-
* [`<%= item[:name] %>`](#<%= item[:link] %>)<% unless item[:desc].empty? %>: <%= item[:desc] %><% end %>
9+
* [`<%= item[:name] %>`](#<%= item[:link] %>)<% unless item[:desc].nil? || item[:desc].empty? %>: <%= item[:desc] %><% end %>
1010
<% end -%>
1111
<% end -%>
1212

0 commit comments

Comments
 (0)