Pug caused no end of issues and is frankly far too heavy-weight for what I want. As it turns out, there are posthtml plugins to do everything pug did for me, so it's getting kicked out.
11 lines
273 B
HTML
11 lines
273 B
HTML
{{#if flash}}
|
|
<div
|
|
class="alert alert-{{flash.type}} alert-dismissible fade show"
|
|
role="alert"
|
|
>
|
|
{{ flash.message }}
|
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</div>
|
|
{{/if}}
|