summaryrefslogtreecommitdiffstats
path: root/indieweb-micro/themes/MinIndie/layouts/shortcodes
diff options
context:
space:
mode:
Diffstat (limited to 'indieweb-micro/themes/MinIndie/layouts/shortcodes')
-rw-r--r--indieweb-micro/themes/MinIndie/layouts/shortcodes/follow.html12
-rw-r--r--indieweb-micro/themes/MinIndie/layouts/shortcodes/hashtag.html3
-rw-r--r--indieweb-micro/themes/MinIndie/layouts/shortcodes/mention.html8
3 files changed, 0 insertions, 23 deletions
diff --git a/indieweb-micro/themes/MinIndie/layouts/shortcodes/follow.html b/indieweb-micro/themes/MinIndie/layouts/shortcodes/follow.html
deleted file mode 100644
index a80b059..0000000
--- a/indieweb-micro/themes/MinIndie/layouts/shortcodes/follow.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{{ $url := .Get 0 }}
-{{ $date := .Get 1 }}
-
-<div class="follow-card">
- <a class="follow-target u-follow-of" href="{{ $url }}">
- {{ $url }}
- </a>
-
- <time class="follow-date dt-published" datetime="{{ $date }}T00:00:00Z">
- {{ $date }}
- </time>
-</div>
diff --git a/indieweb-micro/themes/MinIndie/layouts/shortcodes/hashtag.html b/indieweb-micro/themes/MinIndie/layouts/shortcodes/hashtag.html
deleted file mode 100644
index 5908132..0000000
--- a/indieweb-micro/themes/MinIndie/layouts/shortcodes/hashtag.html
+++ /dev/null
@@ -1,3 +0,0 @@
-{{ $tag := .Get 0 }}
-
-<a href="{{ .Site.BaseURL }}/tags/{{ strings.TrimPrefix "#" $tag | urlize }}" class="p-category">{{ if not (hasPrefix $tag "#") }}#{{ end }}{{ strings.TrimPrefix "#" $tag }}</a>
diff --git a/indieweb-micro/themes/MinIndie/layouts/shortcodes/mention.html b/indieweb-micro/themes/MinIndie/layouts/shortcodes/mention.html
deleted file mode 100644
index 13a5355..0000000
--- a/indieweb-micro/themes/MinIndie/layouts/shortcodes/mention.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{{ $username := .Get 0 }}
-{{ $url := .Get 1 }}
-
-{{ if not $url }}
- {{ errorf "mention shortcode requires both username and URL parameters. Usage: {{< mention \"username\" \"https://example.com/@username\" >}}" }}
-{{ end }}
-
-<a href="{{ $url }}" class="u-in-reply-to h-card">@{{ strings.TrimPrefix "@" $username }}</a>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage