4 ms·
How I built my blog in one day: Sat down with Go, wrote a web handler (they already have http support). Added code to parse a tree of directories containing bl
by jff 15y ago
How I built my blog in one day:
Sat down with Go, wrote a web handler (they already have http support). Added code to parse a tree of directories containing blog posts. Write markdown code in individual files in those directories. Blog code reads the markdown, parses it, and inserts it into a template. Add Disqus to taste and serve.
Final step: don't submit it to hacker news, profit :)
- seclorum 15y agoI'd be interested in seeing that Go code ..
- jff 15y agoIt's only been tested on Plan 9, with an older version of Go, but you can check out the code at https://bitbucket.org/floren/goblog https://bitbucket.org/floren/goblog It's not as nice as it could be, but I'm pretty happy with how it works.
- seclorum 15y agoThanks for that - as a new learner of Go, its definitely nice to have something interesting to read. Oh, and the fact that you're a Plan9 user making use of Go: awesome! :)