React = require 'react' Router = require 'react-router' {RouteHandler, Link} = Router sortBy = require 'lodash/collection/sortBy' {link} = require 'gatsby-helpers' module.exports = React.createClass statics: data: -> yo: true render: -> {rhythm} = @props.typography pageLinks = [] for page in sortBy(@props.pages, (page) -> page.data?.date).reverse() title = page.data?.title || page.path if page.path isnt link("/") and not page.data?.draft pageLinks.push (
Written by {@props.config.authorName} who lives and works in San Francisco building useful things. You should follow him on Twitter