<commit_before>import React, { Component } from 'react';
import Link from 'gatsby-link';
import Chip from 'react-md/lib/Chips';
import './PostTags.scss';

class PostTags extends Component {
  render() {
    const { tags } = this.props;
    return (
      <div>
        {
            tags && tags.map(tag =>
              <Link key={tag} style={{ textDecoration: 'none' }} to={'/tags/'}>
                <Chip label={tag} className="post-preview-tags" />
              </Link>)
        }
      </div>

    );
  }
}

export default PostTags;<commit_msg>Tag chips now point to their respective tag pages.<commit_after>import React, { Component } from 'react';
import _ from 'lodash';
import Link from 'gatsby-link';
import Chip from 'react-md/lib/Chips';
import './PostTags.scss';

class PostTags extends Component {
  render() {
    const { tags } = this.props;
    return (
      <div>
        {
          tags && tags.map(tag =>
          (<Link key={tag} style={{ textDecoration: 'none' }} to={`/tags/${_.kebabCase(tag)}`}>
            <Chip label={tag} className="post-preview-tags" />
          </Link>))
        }
      </div>

    );
  }
}

export default PostTags;
{'fraction_non_alphanumeric': 0.1606837606837607, 'fraction_numerical': 0.0, 'mean_word_length': 2.31728045325779, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7572243', 'n_tokens_mistral': 371, 'n_tokens_neox': 363, 'n_words': 92}