1
0
mirror of https://github.com/mgerb/classic-wow-forums synced 2026-01-12 01:52:49 +00:00

trying to improve seo

This commit is contained in:
2018-02-07 13:54:09 -06:00
parent 5972d2f8c6
commit dedd77fb7d
11 changed files with 53 additions and 13 deletions

View File

@@ -68,6 +68,7 @@ export class Thread extends React.Component<Props, State> {
}
private processReplies(thread: ThreadModel, props: Props = this.props) {
document.title = get(thread, 'title');
thread.replies = chain(thread.replies)
.orderBy(['inserted_at'], ['asc'])
.map((r, i) => { r.index = i; return r; })