Prefer hugo for blog.wpcarro.dev

Instead of creating my own static website generator, I'm trying Hugo. Huge is a
newer alternative to Jekyll. So far, I like what I see.

- Ignoring /blog/public since this is where `huge -D` generates the static
  assets.
- Using a TailwindCSS theme.
- Creating a dumby post about Emacs to test deployments.
- Deleting all Common Lisp and Nix code that powered my previous, half-baked
  blog.
This commit is contained in:
William Carroll 2020-03-09 13:27:35 +00:00
parent 2e0ad09a02
commit d206a2812f
9 changed files with 46 additions and 104 deletions

View file

@ -1,21 +0,0 @@
{ pkgs, depot, briefcase, ... }:
let
injections = pkgs.writeText "injections.lisp" ''
(in-package #:server)
(setq *path-to-posts* "${./posts}")
(setq *pandoc-bin* "${pkgs.pandoc}/bin/pandoc")
(setq *html-template* "${./src/index.html}")
'';
in depot.nix.buildLisp.program {
name = "server";
deps = with depot.third_party.lisp; with briefcase.third_party.lisp; [
hunchentoot
cl-arrows
cl-ppcre
];
srcs = [
./src/server.lisp
injections
];
}