Support proof-of-concept blog

After some toil, I have a working proof-of-concept blog. The idea is simple:
write blog posts in markdown and store the posts in the `./posts`
directory. Then use the server and `pandoc` to convert these markdown files into
HTML at request time. I'm using nix to package everything together. It's far
from perfect, but it works at the moment, which is encouraging.
This commit is contained in:
William Carroll 2020-01-23 21:58:31 +00:00
parent 2e3bb0435f
commit 6108f8df01
3 changed files with 16 additions and 10 deletions

View file

@ -15,8 +15,11 @@ let
readTree' = import /home/wpcarro/depot/nix/readTree {};
# TODO: Find a better way to expose entire monorepo without introducing
# "infinite recursion".
localPkgs = readTree: {
third_party = readTree ./third_party;
blog = readTree ./blog;
third_party = readTree ./third_party;
};
in fix(self: {
config = config self;