mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
Merge pull request #2738 from schaerfo/fix/hero-content-dark-mode
🐛 fix: respect value of disableHeroImageFilter for content
This commit is contained in:
@@ -119,7 +119,11 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
{{ if not $disableHeroImageFilter }}
|
||||||
<section class="prose prose-invert w-full">{{ .Content }}</section>
|
<section class="prose prose-invert w-full">{{ .Content }}</section>
|
||||||
|
{{ else }}
|
||||||
|
<section class="prose dark:prose-invert w-full">{{ .Content }}</section>
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user