Don't want banner images on news posts
parent
08bd6a303a
commit
04bf3891fb
|
|
@ -3,12 +3,6 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row justify-center">
|
<div class="row justify-center">
|
||||||
<article class="lg:col-10">
|
<article class="lg:col-10">
|
||||||
{{ $image:= .Params.image }}
|
|
||||||
{{ if $image }}
|
|
||||||
<div class="mb-10">
|
|
||||||
{{ partial "image" (dict "Src" $image "Context" .Page "Alt" .Title "Class" "w-full rounded") }}
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
<h1 class="h2 mb-4">
|
<h1 class="h2 mb-4">
|
||||||
{{ .Title }}
|
{{ .Title }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue