diff --git a/components/ReadNext.cjsx b/components/ReadNext.cjsx deleted file mode 100644 index 4d49aeb..0000000 --- a/components/ReadNext.cjsx +++ /dev/null @@ -1,50 +0,0 @@ -React = require 'react' -Router = require 'react-router' -{Link} = Router -prune = require 'underscore.string/prune' -includes = require 'underscore.string/include' -find = require 'lodash/collection/find' - -module.exports = React.createClass - - render: -> - {rhythm, fontSizeToMS} = @props.typography - readNext = @props.post.readNext - if readNext? - nextPost = find @props.pages, (page) -> includes page.path, readNext.slice(1, -1) - unless nextPost -