mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-09-02 01:37:33 -05:00
I am trying to make various templates and partials act more like self-contained components. This is in preparation for #113.
12 lines
216 B
HTML
12 lines
216 B
HTML
<div class="page-list">
|
|
{{ with . }}
|
|
{{ range . }}
|
|
{{ .Render "summary" }}
|
|
{{ end }}
|
|
{{ else }}
|
|
<div>
|
|
{{ i18n "no_posts" }}
|
|
</div>
|
|
{{ end }}
|
|
</div>
|