aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/_markup/render-link.html2
-rw-r--r--layouts/_default/single.gmi1
-rw-r--r--layouts/index.gmi2
-rw-r--r--layouts/index.html2
-rw-r--r--layouts/partials/metadata.gmi5
-rw-r--r--layouts/partials/metadata.html2
-rw-r--r--layouts/partials/pageinfo2
7 files changed, 9 insertions, 7 deletions
diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html
index fb5a1e3..4d300ab 100644
--- a/layouts/_default/_markup/render-link.html
+++ b/layouts/_default/_markup/render-link.html
@@ -1,2 +1,2 @@
-{{ $emoji := cond (.Page.Params.nolinkemoji | default false) "" "🔗 " -}}
+{{ $emoji := cond (.Page.Params.nolinkemoji | default false) "" (emojify ":link: ") -}}
<a href="{{ .Destination | safeURL }}" rel="noreferrer">{{ $emoji }}{{ .Text | safeHTML }}</a>
diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi
index 5ff88c8..17d77bf 100644
--- a/layouts/_default/single.gmi
+++ b/layouts/_default/single.gmi
@@ -12,4 +12,5 @@
{{- $content = $content | replaceRE `\n\[(.+?)\]\((.+?)\)` (print "\n=> $2 " $emoji "$1") }}
{{- $content = $content | replaceRE `\*{3}(.+?)\*{3}|\*{2}(.+?)\*{2}|\*{1}(.+?)\*{1}` "$1$2$3$4$5$6" }}
{{- $content = $content | replaceRE `\n- ` "\n* " }}
+{{- $content = $content | emojify }}
{{- $content | safeHTML }}{{ end }}
diff --git a/layouts/index.gmi b/layouts/index.gmi
index b1b7720..8fc9349 100644
--- a/layouts/index.gmi
+++ b/layouts/index.gmi
@@ -4,7 +4,7 @@
## Navigation Links
{{ range .Site.Menus.main -}}
-=> .{{ .URL }} 🔗 {{ .Name | safeHTML }}
+=> .{{ .URL }} {{ emojify ":link:" }} {{ .Name | safeHTML }}
{{ end }}
## Journal Entries
{{ partial "metadata.gmi" . }}{{ end }}
diff --git a/layouts/index.html b/layouts/index.html
index 0ad05b1..a56996d 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -6,7 +6,7 @@
<nav>
<ul>
{{- range .Site.Menus.main }}
- <li class="navlink"><a href="{{ .URL }}" rel="noreferrer">🔗 {{ .Name }}</a></li>
+ <li class="navlink"><a href="{{ .URL }}" rel="noreferrer">{{ emojify ":link:" }} {{ .Name }}</a></li>
{{- end }}
</ul>
</nav>
diff --git a/layouts/partials/metadata.gmi b/layouts/partials/metadata.gmi
index 368c3d3..f175f9e 100644
--- a/layouts/partials/metadata.gmi
+++ b/layouts/partials/metadata.gmi
@@ -1,9 +1,10 @@
{{ $entriesMinusOne := sub (len (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse) 1 }}
{{- range first $entriesMinusOne (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse }}
{{- partial "pageinfo" . }}
-=> .{{ .RelPermalink }} 🔗 {{ .Title | safeHTML }}
+=> .{{ .RelPermalink }} {{ emojify ":link:" }} {{ .Title | safeHTML }}
{{ end }}
+
{{- range last 1 (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse }}
{{- partial "pageinfo" . }}
-=> .{{ .RelPermalink }} 🔗 {{ .Title | safeHTML }}{{ end }}
+=> .{{ .RelPermalink }} {{ emojify ":link:" }} {{ .Title | safeHTML }}{{ end }} \ No newline at end of file
diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html
index 844ea12..acfd2d7 100644
--- a/layouts/partials/metadata.html
+++ b/layouts/partials/metadata.html
@@ -2,7 +2,7 @@
<article>
<header>
<p>{{ partial "pageinfo" . }}<br>
- <a href="{{ .RelPermalink }}" rel="noreferrer">🔗 {{ .Title }}</a></p>
+ <a href="{{ .RelPermalink }}" rel="noreferrer">{{ emojify ":link:" }} {{ .Title }}</a></p>
</header>
</article>
{{ end }} \ No newline at end of file
diff --git a/layouts/partials/pageinfo b/layouts/partials/pageinfo
index c512b88..269b04e 100644
--- a/layouts/partials/pageinfo
+++ b/layouts/partials/pageinfo
@@ -1,2 +1,2 @@
{{ $dateFormat := .Site.Params.dateFormat | default "2 Jan 2006" -}}
-📆 {{ .Page.PublishDate.Format $dateFormat | safeHTML }} | ⏱️ {{ .Page.ReadingTime | safeHTML }} minute read \ No newline at end of file
+{{ emojify ":calendar:" }} {{ .Page.PublishDate.Format $dateFormat | safeHTML }} | {{ emojify ":stopwatch:" }} {{ .Page.ReadingTime | safeHTML }} minute read \ No newline at end of file