aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-view.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/meta-view.html')
-rw-r--r--themes/default/layouts/partials/meta-view.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/themes/default/layouts/partials/meta-view.html b/themes/default/layouts/partials/meta-view.html
new file mode 100644
index 0000000..33aee6b
--- /dev/null
+++ b/themes/default/layouts/partials/meta-view.html
@@ -0,0 +1,12 @@
+{{- $href := or .Params.Feed.link .Permalink -}}
+
+<meta-view>
+{{- /* This comment removes trailing newlines and white spaces. */ -}}
+ <a href="{{ $href }}" title="{{- partial "meta-title.html" . -}}">
+ {{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/external-link.svg")) -}}
+ <span>view</span>
+{{- /* This comment removes trailing newlines and white spaces. */ -}}
+ </a>
+{{- /* This comment removes trailing newlines and white spaces. */ -}}
+</meta-view>
+{{- /* This comment removes trailing newlines and white spaces. */ -}}