aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicksphere.ch>2022-09-03 00:00:00 +0000
committerNicholas Johnson <nick@nicksphere.ch>2022-09-03 00:00:00 +0000
commit91d9491fb2b4c9c83c116f3703764b1a009c158be10427a8f10575c908661a4e (patch)
treeade0cf0b940307a76a75c9ced558a8247caea4c2e0700b6b7d7b6d1b1e155fc1 /layouts/_default
parentd8bd01dc55cb321ab7d227afcf1a2c637c4e56016b57e120513df5838a5173dc (diff)
downloadhugo-theme-journal-91d9491fb2b4c9c83c116f3703764b1a009c158be10427a8f10575c908661a4e.tar.gz
hugo-theme-journal-91d9491fb2b4c9c83c116f3703764b1a009c158be10427a8f10575c908661a4e.zip
Add link emoji to give links some style
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/_markup/render-link.html2
-rw-r--r--layouts/_default/single.gmi2
-rw-r--r--layouts/_default/single.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html
index 6f02037..9a14f8f 100644
--- a/layouts/_default/_markup/render-link.html
+++ b/layouts/_default/_markup/render-link.html
@@ -1 +1 @@
-<a href="{{ .Destination | safeURL }}" rel="noreferrer">{{ .Text | safeHTML }}</a>
+<a href="{{ .Destination | safeURL }}" rel="noreferrer">🔗 {{ .Text | safeHTML }}</a>
diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi
index 1347179..ae4fc3c 100644
--- a/layouts/_default/single.gmi
+++ b/layouts/_default/single.gmi
@@ -1,5 +1,5 @@
{{ define "main" }}
-=> ./{{ replaceRE ".+?/" "../" .RelPermalink | safeURL }} Return to homepage
+=> ./{{ replaceRE ".+?/" "../" .RelPermalink | safeURL }} 🔗 Return to homepage
{{ $content := .RawContent }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 2aab5a7..83ed937 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,6 +1,6 @@
{{ define "main" -}}
<nav>
- <p id="return"><a href="/" rel="noreferrer">Return to homepage</a></p>
+ <p id="return"><a href="/" rel="noreferrer">🔗 Return to homepage</a></p>
</nav>
<main>
{{ .Content -}}