site/controllers/resume.moon

17 lines
389 B
Plaintext
Raw Normal View History

2015-02-13 19:05:03 +00:00
discount = require "discount"
lapis = require "lapis"
oleg = require "lib/oleg"
class Projects extends lapis.Application
[resume: "/resume"]: =>
@title = "Resume"
2015-02-13 19:28:23 +00:00
@doc = oleg.cache "caches", "resume", ->
2015-02-13 19:05:03 +00:00
local data
with io.open "static/resume/min/resume.md", "r"
data = \read "*a"
2015-02-13 19:28:23 +00:00
discount data, "toc", "nopants", "autolink"
2015-02-13 19:05:03 +00:00
render: true