import React from 'react'; import { RouteHandler, Link } from 'react-router'; import sortBy from 'lodash/collection/sortBy'; import DocumentTitle from 'react-document-title'; import { link } from 'gatsby-helpers'; import { rhythm, fontSizeToMS } from 'utils/typography' export default class extends React.Component { static data() { return { yo: true } } render() { let i, len, page, pageLinks, ref, ref1, ref2, title; pageLinks = []; ref = sortBy(this.props.pages, (page) => { let ref; return (ref = page.data) != null ? ref.date : void 0; }).reverse(); for (i = 0, len = ref.length; i < len; i++) { page = ref[i]; title = ((ref1 = page.data) != null ? ref1.title : void 0) || page.path; if (page.path && page.path !== "/" && !((ref2 = page.data) != null ? ref2.draft : void 0)) { pageLinks.push(
Written by {this.props.config.authorName} who lives and works in San Francisco building useful things. You should follow him on Twitter