minor updates

main
Bill Ewanick 2023-04-19 18:42:09 -04:00
parent 46694dfaaa
commit c1ab6d1bce
3 changed files with 6 additions and 18 deletions

View File

@ -2,14 +2,17 @@
"git.ignoreLimitWarning": true, "git.ignoreLimitWarning": true,
"cSpell.words": [ "cSpell.words": [
"cutesealfanpage", "cutesealfanpage",
"Dhall",
"Fanpage", "Fanpage",
"fmap", "fmap",
"Hakyll", "Hakyll",
"Lookie", "Lookie",
"mappend", "mappend",
"Monoid", "Monoid",
"Namecheap",
"NOINLINE", "NOINLINE",
"pandoc", "pandoc",
"runghc",
"uncurry", "uncurry",
"unlines", "unlines",
"utct" "utct"

View File

@ -20,25 +20,9 @@ seal-blog/
- newSealPost.sh - newSealPost.sh
- Script to be called daily by a cron job on the server. Generates the post for the day, builds and commits. - 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/ - 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. - 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 ## Work to be done
- The blog post generation and the hosting of the website are currently intertwined when they should be separated - The blog post generation and the hosting of the website are currently intertwined when they should be separated

View File

@ -12,9 +12,9 @@
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
ghc' = pkgs.haskellPackages.ghcWithHoogle (self: with self; [ ghc' = pkgs.haskellPackages.ghcWithHoogle (self: with self; [
dhall
hakyll hakyll
neat-interpolation neat-interpolation
parallel
random random
split split
]); ]);
@ -27,6 +27,7 @@
[ [
ghc' ghc'
hlint hlint
haskell-language-server
]; ];
}; };
}); });