Allow framed styling of index content on non-main sections

Signed-off-by: Ben Krieger <ben.krieger@intel.com>
This commit is contained in:
Ben Krieger 2023-05-14 23:38:09 -04:00
parent 9726b8d806
commit 8dcca4124c

View File

@ -1,7 +1,7 @@
{{ define "main" }}
{{ with .Content }}
<div class="index-content">
{{ . }}
{{ if .Content }}
<div class="index-content {{ if .Params.framed -}}framed{{- end -}}">
{{ .Content }}
</div>
{{ end }}
<div class="posts">