layouts: remove sponsors partial when serving locally
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
922e33b3b6
commit
cf9d76728a
|
@ -20,8 +20,8 @@
|
|||
</article>
|
||||
{{ partial "tags.html" .}}
|
||||
{{ partial "post-pagination.html" .}}
|
||||
{{ partial "sponsors.html" .}}
|
||||
{{ if or .Site.BuildDrafts .Site.IsServer -}}
|
||||
{{ if not .Site.IsServer -}}
|
||||
{{ partial "sponsors.html" .}}
|
||||
{{- end }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue