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

View File

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