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'; module.exports = React.createClass({ statics: { data: function() { return { yo: true }; } }, render: function() { var i, len, page, pageLinks, ref, ref1, ref2, rhythm, title; rhythm = this.props.typography.rhythm; pageLinks = []; ref = sortBy(this.props.pages, function(page) { var 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 !== link("/") && !((ref2 = page.data) != null ? ref2.draft : void 0)) { pageLinks.push(
  • {title}
  • ); } } return (

    Written by {this.props.config.authorName} who lives and works in San Francisco building useful things. You should follow him on Twitter

    ); } });