Use markdown emojify instead of dump emojify

This commit is contained in:
Zoe Roux
2024-05-31 12:37:29 +02:00
parent c03744bd54
commit 9dc7940718
31 changed files with 62 additions and 62 deletions
+2 -2
View File
@@ -9,8 +9,8 @@
"date" (.Date | time.Format (.Site.Language.Params.dateFormat | default ":date_long"))
"title" (.Title | emojify | safeJS)
"section" ($section.Title | emojify | safeJS)
"summary" (.Summary | emojify | safeJS)
"content" (.Plain | emojify | safeJS)
"summary" (.Summary | safeJS)
"content" (.Plain | safeJS)
"permalink" .RelPermalink
"externalUrl" .Params.externalUrl
"type" .Type
+1 -1
View File
@@ -49,7 +49,7 @@
</div>
{{ end }}
<div class="min-w-0 min-h-0 max-w-prose">
{{ .Content | emojify }}
{{ .Content }}
</div>
+1 -1
View File
@@ -9,7 +9,7 @@
</h1>
</header>
<section class="max-w-full mt-6 prose dark:prose-invert">
{{ .Content | emojify }}
{{ .Content }}
</section>
<footer class="pt-8">
{{ partial "sharing-links.html" . }}
+2 -2
View File
@@ -80,7 +80,7 @@
{{ partial "series/series.html" . }}
<div class="article-content max-w-prose mb-20">
{{ .Content | emojify }}
{{ .Content }}
</div>
{{ if (.Params.showAuthorBottom | default ( .Site.Params.article.showAuthorBottom | default false)) }}
@@ -147,4 +147,4 @@
{{ end }}
</footer>
</article>
{{ end }}
{{ end }}
+1 -1
View File
@@ -25,7 +25,7 @@
{{ if .Content }}
<section class="flex flex-col max-w-full mt-0 prose dark:prose-invert lg:flex-row">
<div class="min-w-0 min-h-0 max-w-prose">
{{ .Content | emojify }}
{{ .Content }}
</div>
</section>
{{ end }}
+2 -2
View File
@@ -24,7 +24,7 @@
<section class="flex flex-col max-w-full mt-0 mb-5 prose dark:prose-invert lg:flex-row">
{{ if .Content }}
<div class="min-w-0 min-h-0 max-w-prose">
{{ .Content | emojify }}
{{ .Content }}
</div>
{{ end }}
<script>
@@ -128,4 +128,4 @@
{{ partial "pagination.html" . }}
{{ end }}
{{ end }}