Ind.ie is now Small Technology Foundation.
Commit 260f53a6 authored by Aral Balkan's avatar Aral Balkan

Dependency: removed depracated ghm, replaced with marked. Activated inactive readme route.

parent f01b8fdb
......@@ -16,8 +16,8 @@
"coffee-script": "1.10.0",
"express": "4.13.3",
"forever": "0.15.1",
"ghm": "1.0.0-3",
"jsdom": "7.0.2",
"marked": "0.3.5",
"superagent": "0.12.4"
},
"devDependencies": {
......
......@@ -9,7 +9,7 @@
################################################################################
githubFlavouredMarkdown = require 'ghm'
marked = require 'marked'
fs = require 'fs'
exports.route = (request, response) ->
......@@ -21,7 +21,7 @@ exports.route = (request, response) ->
data.title = 'Could not find the readme.md file.'
data.error = yes
else
readme = githubFlavouredMarkdown.parse(markdown)
readme = marked markdown
data.title = 'Read me!'
data.readme = readme
......
......@@ -47,7 +47,7 @@ createRoute '/posts-client-side-updates'
createRoute '/profile'
# A route to render the readme.md file
# createRoute '/readme'
createRoute '/readme'
# If /js/set.js is requested, get it from the lib folder
# (so I don’t have to keep remembering to deploy it to the client)
......
......@@ -42,11 +42,9 @@
</nav>
<div class='main' role='main'>
<a href='./'><h1><img id='set-logo' src='images/set-logo.svg' alt='Set logo'></h1></a>
<a href='./'><h1><img id='set-logo' src='images/set-logo.svg' alt='Set logo'></h1></a>
<p id='short-description'>Set is a simple, unobtrusive, design‐led JavaScript template engine for Node.js and browsers.</p>
<p id='alpha-notice'><strong>Currently in alpha and under heavy development.</strong> Feel free to take a peek and play around with it but there is very little documentation, things may look a little rough on this site, and there may be slight API changes.</p>
<p id='short-description'>Set is a simple, unobtrusive, design‐led JavaScript template engine for Node.js and browsers.</p>
<h2>How is Set different?</h2>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment