🐛 add emojify for title on list page and browser / tab title

pull/84/head
Rishi Maharaj 2022-01-18 14:15:23 -08:00
parent e35733032c
commit 80533d8641
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
href="{{ . }}"
target="_blank"
rel="external"
>{{ $.Title }}</a
>{{ $.Title | emojify }}</a
>
<span
class="-mt-2 text-xs cursor-default text-neutral-400 dark:text-neutral-500"
@ -18,7 +18,7 @@
<a
class="hover:underline hover:underline-primary-500 hover:underline-offset-small text-neutral-800 dark:text-neutral"
href="{{ .RelPermalink }}"
>{{ .Title }}</a
>{{ .Title | emojify }}</a
>
{{ end }}
{{ if and .Draft .Site.Params.article.showDraftLabel }}

View File

@ -10,7 +10,7 @@
<title>{{ .Site.Title }}</title>
<meta name="title" content="{{ .Site.Title }}" />
{{- else -}}
<title>{{ .Title }} &middot; {{ .Site.Title }}</title>
<title>{{ .Title | emojify }} &middot; {{ .Site.Title }}</title>
<meta name="title" content="{{ .Title }} &middot; {{ .Site.Title }}" />
{{- end }}
{{/* Metadata */}}