summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/source/css/tag.css24
-rw-r--r--web/template/tag.tmpl27
2 files changed, 51 insertions, 0 deletions
diff --git a/web/source/css/tag.css b/web/source/css/tag.css
new file mode 100644
index 000000000..98a129874
--- /dev/null
+++ b/web/source/css/tag.css
@@ -0,0 +1,24 @@
+/*
+ GoToSocial
+ Copyright (C) 2021-2023 GoToSocial Authors admin@gotosocial.org
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+.thread {
+ #tag-name {
+ /* Ensure ridiculous length tags get wrapped */
+ word-wrap: anywhere;
+ }
+}
diff --git a/web/template/tag.tmpl b/web/template/tag.tmpl
new file mode 100644
index 000000000..c84d7a1a4
--- /dev/null
+++ b/web/template/tag.tmpl
@@ -0,0 +1,27 @@
+{{- /*
+// GoToSocial
+// Copyright (C) GoToSocial Authors admin@gotosocial.org
+// SPDX-License-Identifier: AGPL-3.0-or-later
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/ -}}
+
+{{ template "header.tmpl" .}}
+
+<main class="thread">
+ <h2 id="tag-name" tabindex="-1">#{{.tagName}}</h2>
+ <p>There's nothing here yet!</p>
+</main>
+
+{{ template "footer.tmpl" .}} \ No newline at end of file