wavefunk-ui 0.1.5

Askama and htmx UI component base for Wave Funk Rust applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<section class="mk-sect">
  <div class="mk-sect-head">
    <div>
      {%- match kicker -%}
      {%- when Some with (text) -%}
      <div class="mk-sect-kicker">{{ text }}</div>
      {%- when None -%}
      {%- endmatch -%}
      <h2 class="mk-sect-title">{{ title }}</h2>
    </div>
    {%- match subtitle -%}
    {%- when Some with (text) -%}
    <p class="mk-sect-sub">{{ text }}</p>
    {%- when None -%}
    {%- endmatch -%}
  </div>
  {{ content_html }}
</section>