From 3d77bf97764f8bf99ad9a7d8e16c47d23277101d Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Mon, 13 Jul 2020 10:14:02 -0400 Subject: [PATCH] fix hashtags --- templates/gallerypost.rs.html | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/templates/gallerypost.rs.html b/templates/gallerypost.rs.html index b3719f7..eaedefb 100644 --- a/templates/gallerypost.rs.html +++ b/templates/gallerypost.rs.html @@ -100,14 +100,10 @@ function share_on_mastodon() @{ localStorage['mastodon_instance'] = instance; // Hashtags - var hashtags = "#blogpost"; - - @if post.front_matter.series.is_some() { - hashtags += "#@post.front_matter.series.as_ref().unwrap()"; - } + var hashtags = "#art"; @if post.front_matter.tags.is_some() { - hashtags += "@for tag in post.front_matter.tags.as_ref().unwrap() { #@tag }"; + hashtags += "@for tag in post.front_matter.tags.as_ref().unwrap() { #@tag}"; } // Tagging users, such as offical accounts or the author of the post