aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-context-menu.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-11-14 08:37:26 -0500
committertdro <tdro@noreply.example.com>2022-11-14 08:37:26 -0500
commitdb3820c0c5d84226e01d6f1dcef10929979935ba (patch)
tree5ca4d33841e518e2db1ace4c0486e46b1b907136 /themes/default/layouts/partials/meta-context-menu.html
parente8d6280abb4b7cdfc03bec80af6506399e5fdf51 (diff)
downloadcanory-db3820c0c5d84226e01d6f1dcef10929979935ba.tar.gz
canory-db3820c0c5d84226e01d6f1dcef10929979935ba.tar.bz2
canory-db3820c0c5d84226e01d6f1dcef10929979935ba.zip
themes/default/layouts/partials/meta: Remove dead logic
Feed data self and markdown may no longer be needed
Diffstat (limited to 'themes/default/layouts/partials/meta-context-menu.html')
-rw-r--r--themes/default/layouts/partials/meta-context-menu.html9
1 files changed, 2 insertions, 7 deletions
diff --git a/themes/default/layouts/partials/meta-context-menu.html b/themes/default/layouts/partials/meta-context-menu.html
index 26c3842..79ffacc 100644
--- a/themes/default/layouts/partials/meta-context-menu.html
+++ b/themes/default/layouts/partials/meta-context-menu.html
@@ -1,12 +1,7 @@
{{- $id := delimit (shuffle (seq 1 7)) "" -}}
{{- $author := partial "function-authors-data.html" . -}}
-{{- $href := print .Site.BaseURL "/" $author.user "/messages/" (path.Base .Permalink) "/" -}}
-{{- $plain := print .Site.BaseURL "/" $author.user "/messages/" (path.Base .Permalink) "/index.txt" -}}
-
-{{- with .Params.feed.self -}}
- {{- $href = print $.Site.BaseURL "/" $.Params.feed.self -}}
- {{- $plain = print $.Site.BaseURL "/" $.Params.feed.self "/index.txt" -}}
-{{- end -}}
+{{- $href := print .Permalink -}}
+{{- $plain := print $href "index.txt" -}}
<micro-metadata-menu>
<context-control>