diff options
author | Dessalines <tyhou13@gmx.com> | 2019-12-01 17:21:19 -0800 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-12-01 17:23:52 -0800 |
commit | 52ea7a32db439f9d9b0785ee132d312aa386b33e (patch) | |
tree | 95d8d160af95305a99b0ae122e12e2678c48841b /ui/src/components/user.tsx | |
parent | 8e5c02f96745d7c30d9636124bbd72dae2f31d4b (diff) |
Some RSS work.
- Display rss buttons on front end for user, /c/all, and community
pages. Fixes #348.
- Some clean up and additions to RSS feeds.
Diffstat (limited to 'ui/src/components/user.tsx')
-rw-r--r-- | ui/src/components/user.tsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/src/components/user.tsx b/ui/src/components/user.tsx index 84656ce7..6fff538f 100644 --- a/ui/src/components/user.tsx +++ b/ui/src/components/user.tsx @@ -249,6 +249,13 @@ export class User extends Component<any, UserState> { hideHot /> </span> + <a + href={`${document.location.origin}/feeds/u/${this.state.username}.xml`} + > + <svg class="icon mx-2 text-muted small"> + <use xlinkHref="#icon-rss">#</use> + </svg> + </a> </div> ); } |