mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
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>
|
</article>
|
||||||
{{ partial "tags.html" .}}
|
{{ partial "tags.html" .}}
|
||||||
{{ partial "post-pagination.html" .}}
|
{{ partial "post-pagination.html" .}}
|
||||||
{{ partial "sponsors.html" .}}
|
{{ if not .Site.IsServer -}}
|
||||||
{{ if or .Site.BuildDrafts .Site.IsServer -}}
|
{{ partial "sponsors.html" .}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user