aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-source.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/meta-source.html')
-rw-r--r--themes/default/layouts/partials/meta-source.html22
1 files changed, 0 insertions, 22 deletions
diff --git a/themes/default/layouts/partials/meta-source.html b/themes/default/layouts/partials/meta-source.html
deleted file mode 100644
index 4a1dbc6..0000000
--- a/themes/default/layouts/partials/meta-source.html
+++ /dev/null
@@ -1,22 +0,0 @@
-{{- if not .ExpiryDate -}}
-{{- $author := index .Site.Data ((or .Params.author .Site.Author.default.user) | default "default") -}}
-{{- $source := print $author.user "/messages/" .File.LogicalName -}}
-
- <micro-metadata-source>
- {{- safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/code.svg")) -}}
- <cite>
- {{- with .Params.feed.raw -}}
- <a title="{{ $.Site.BaseURL }}/{{ . }}" href="{{ $.Site.BaseURL }}/{{ . }}">
- {{- else -}}
- <a
- href="{{ .Site.BaseURL }}/{{ partial "function-paths.html" "markdown" }}/{{ $source }}"
- title="{{ .Site.BaseURL }}/{{ partial "function-paths.html" "markdown" }}/{{ $source }}">
- {{- end -}}
- raw
-{{- /* This comment removes trailing newlines and white spaces. */ -}}
- </a>
-{{- /* This comment removes trailing newlines and white spaces. */ -}}
- </cite>
-{{- /* This comment removes trailing newlines and white spaces. */ -}}
- </micro-metadata-source>
-{{- end -}}