### ----------------------------------------------------
### -- Rakuast::RakuDoc::Render
### -- Licenses: Artistic-2.0
### -- Authors: Richard Hainsworth
### -- File: lib/RakuDoc/To/HTML.rakumod
### ----------------------------------------------------
### -- Chunk 2 of 2
Str ~ "\n" ~
                ( %prm<rendered-index> if %prm<rendered-index> )
            },
            #| the last section of body
            footer => -> %prm, $tmpl {
                qq:to/FOOTER/;
                \n<div class="footer">
                    Rendered from<span class="footer-field">&nbsp;{%prm<source-data><path>}/{%prm<source-data><name>}</span>
                <span class="footer-field">{sprintf( "&nbsp;at %02d:%02d UTC on %s", .hour, .minute, .yyyy-mm-dd) with %prm<modified>.DateTime }</span>
                <span class="footer-line">Source last modified {(sprintf( "at %02d:%02d UTC on %s", .hour, .minute, .yyyy-mm-dd) with %prm<source-data><modified>.DateTime)}</span>
                { qq[<div class="warnings">%prm<warnings>\</div>] if %prm<warnings> }
                </div>
                FOOTER
            },
        ); # END OF TEMPLATES (this comment is to simplify documentation generation)
    }
}


