HtmlTitle.pm 450 B

1234567891011121314151617181920212223
  1. package Trog::Component::HtmlTitle;
  2. use v5.36;
  3. use re '/aa';
  4. use Trog::Component ();
  5. =head1 Trog::Component::HtmlTitle
  6. The site title, shown at the left of the top bar.
  7. =head1 FUNCTIONS
  8. =head2 render(%args) = STRING
  9. Render title.tx. Stock reads no variables; anything passed is handed to the
  10. template, so a theme's override is free to want some.
  11. =cut
  12. sub render (%args) { return Trog::Component::render_template( 'title.tx', \%args ) }
  13. 1;