This is an automated email from the ASF dual-hosted git repository. grobmeier pushed a commit to branch ms12_conversion_of_md_files in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit cccb0b7d4e6ba170d8548f895264453393925459 Author: Christian Grobmeier <[email protected]> AuthorDate: Sat Feb 24 14:52:06 2024 +0100 removed author information, as we don't use this kind of information in public --- src/asciidoc/templates/document.html.erb | 39 ++++---------------------------- 1 file changed, 4 insertions(+), 35 deletions(-) diff --git a/src/asciidoc/templates/document.html.erb b/src/asciidoc/templates/document.html.erb index db04a0de91..bd19cb6fa1 100644 --- a/src/asciidoc/templates/document.html.erb +++ b/src/asciidoc/templates/document.html.erb @@ -49,48 +49,17 @@ <%= (docinfo_content = docinfo).empty? ? nil : %(#{docinfo_content}) %> </head> <body<%= @id && %( id="#{@id}") %> class="<%= [(attr :doctype),((attr? 'toc-class') && (attr? :toc) && (attr? 'toc-placement', 'auto') ? %(#{attr 'toc-class'} toc-#{attr 'toc-position', 'left'}) : nil)].compact * ' ' %>"<%= (attr? 'max-width') ? %( style="max-width: #{attr 'max-width'};") : nil %>> -<div id="header"><% - if has_header? - unless notitle %> - <h1><%= @header.title %></h1><% - end - if (attr? :author) || (attr? :revnumber) || (attr? :revdate) || (attr? :revremark) %> - <div class="details"><% - if attr? :author %> - <span id="author" class="author"><%= attr :author %></span><br><% - if attr? :email %> - <span id="email" class="email"><%= sub_macros(attr :email) %></span><br><% - end - if (authorcount = (attr :authorcount).to_i) > 1 - (2..authorcount).each do |idx| %> - <span id="author<%= idx %>" class="author"><%= attr %(author_#{idx}) %></span><br><% - if attr? %(email_#{idx}) %> - <span id="email<%= idx %>" class="email"><%= sub_macros(attr %(email_#{idx})) %></span><br><% - end - end - end - end - if attr? :revnumber %> - <span id="revnumber"><%= ((attr 'version-label') || '').downcase %> <%= attr :revnumber %><%= attr?(:revdate) ? ',' : '' %></span><% - end - if attr? :revdate %> - <span id="revdate"><%= attr :revdate %></span><% - end - if attr? :revremark %> - <br> - <span id="revremark"><%= attr :revremark %></span><% - end %> - </div><% - end - end +<div id="header"> + <h1><%= @header.title %></h1> + <% if (attr? :toc) && (attr? 'toc-placement', 'auto') %> <div id="toc" class="<%= attr 'toc-class', 'toc' %>"> <div id="toctitle"><%= attr 'toc-title' %></div> - Hello world <%= converter.convert self, 'outline' %> </div><% end %> +</div> <div id="content"> <%= content %>
