From c1ab6d1bcecb5eb93b0bdf37d572d011d1169cf1 Mon Sep 17 00:00:00 2001 From: Bill Ewanick Date: Wed, 19 Apr 2023 18:42:09 -0400 Subject: [PATCH] minor updates --- .vscode/settings.json | 3 +++ README.md | 18 +----------------- flake.nix | 3 ++- 3 files changed, 6 insertions(+), 18 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index aaf8ddf..2cf55ee 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,14 +2,17 @@ "git.ignoreLimitWarning": true, "cSpell.words": [ "cutesealfanpage", + "Dhall", "Fanpage", "fmap", "Hakyll", "Lookie", "mappend", "Monoid", + "Namecheap", "NOINLINE", "pandoc", + "runghc", "uncurry", "unlines", "utct" diff --git a/README.md b/README.md index e7e051b..f540f19 100644 --- a/README.md +++ b/README.md @@ -20,25 +20,9 @@ seal-blog/ - newSealPost.sh - Script to be called daily by a cron job on the server. Generates the post for the day, builds and commits. -- dist/ - - Place for the Haskell build artifacts to go. - -- generate/ - - generateSealPosts.hs - - A Haskell script that checks the website/posts folder and creates a blog post for every day from 1998 until the current date. There you will find the adjective lists if you think of more words to describe seals. - - website/ - A basic Hakyll site, slightly modified to serve seals. Most of the site is generated from the `site.hs` file. Check the [Hakyll](https://jaspervdj.be/hakyll/) documentation for more info. -## These seals need more adjectives - -In [generate/generateSealPosts.hs](https://gitlab.com/billewanick/seal-blog/-/blob/master/generate/generateSealPosts.hs#L117-221) you'll find two lists of adjectives. Submit a pull request to add more. Or email me at admin AT cutesealfanpage.love - - - - - - ## Work to be done - The blog post generation and the hosting of the website are currently intertwined when they should be separated @@ -52,4 +36,4 @@ In [generate/generateSealPosts.hs](https://gitlab.com/billewanick/seal-blog/-/bl - Experiment with `*` A records - For the seal blog - Instead of having `www` and `git` and `...` subdomains spelled out in Namecheap - - Just have a `*` record and have caddy do the filtering + - Just have a `*` record and have caddy do the filtering diff --git a/flake.nix b/flake.nix index 4fec04b..97dd8a3 100644 --- a/flake.nix +++ b/flake.nix @@ -12,9 +12,9 @@ pkgs = nixpkgs.legacyPackages.${system}; ghc' = pkgs.haskellPackages.ghcWithHoogle (self: with self; [ + dhall hakyll neat-interpolation - parallel random split ]); @@ -27,6 +27,7 @@ [ ghc' hlint + haskell-language-server ]; }; });