newsbot-portal/components/bulma/layout/section.templ

10 lines
245 B
Plaintext
Raw Normal View History

2024-07-14 09:07:53 -07:00
package layout
2024-07-13 10:35:36 -07:00
// Creates a <section> object thats good to break up a page of content.
templ Section(title, subtitle string) {
<section class="section">
<h1 class="title">{ title }</h1>
<h2 class="subtitle">{ subtitle }</h2>
</section>
}