include hash in hashtag collection name

This commit is contained in:
Ted Unangst 2019-10-28 15:40:13 -04:00
parent d707dda73c
commit dd048cc9ba
2 changed files with 2 additions and 2 deletions

2
web.go
View File

@ -780,7 +780,7 @@ func showontology(w http.ResponseWriter, r *http.Request) {
j := junk.New() j := junk.New()
j["@context"] = itiswhatitis j["@context"] = itiswhatitis
j["id"] = fmt.Sprintf("https://%s/o/%s", serverName, name) j["id"] = fmt.Sprintf("https://%s/o/%s", serverName, name)
j["name"] = name j["name"] = "#" + name
j["attributedTo"] = user.URL j["attributedTo"] = user.URL
j["type"] = "OrderedCollection" j["type"] = "OrderedCollection"
j["totalItems"] = len(xids) j["totalItems"] = len(xids)