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:
parent
2e3bb0435f
commit
6108f8df01
3 changed files with 16 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue