personal-website/templates/blog-viewer/app.tmpl

26 lines
920 B
Cheetah
Raw Normal View History

2023-04-14 15:53:23 +00:00
{{ define "blog-viewer/app.tmpl" }}
<div id="TestWindowHeader" class="WindowFrameTopBar">
<button id="closeWindowButton" class="WindowFrameTopBarButton" title="Close Window"></button>
<div id="Drag" class="WindowDragArea"></div>
<div class="WindowFrameTitle">
2023-04-29 13:58:39 +00:00
{{.header}}
2023-04-14 15:53:23 +00:00
</div>
<div id="Drag" class="WindowDragArea"></div>
</div>
<div class="ContentBorder">
2023-04-29 14:26:07 +00:00
<div class="blog-viewer ScrollContent">
2023-04-29 13:58:39 +00:00
{{ range $block := .blocks }}
2023-04-29 14:26:07 +00:00
<div class="{{$block.Type}}" >
2023-04-29 13:58:39 +00:00
{{ range $data := $block.Data }}
2023-04-29 14:26:07 +00:00
<div style="font-size: inherit;">
2023-04-29 13:58:39 +00:00
{{$data}}
</div>
{{ end }}
</div>
{{ end }}
2023-04-14 15:53:23 +00:00
</div>
{{template "wde-widgets/scrollbar.tmpl" .}}
</div>
{{ end }}