update slugger in README

main
Robert Pearce 2021-09-25 23:56:13 +00:00 committed by GitHub
parent 1e8d228573
commit a8fb984ed6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 10 deletions

View File

@ -43,16 +43,8 @@
[hakyll]λ ghci
...
[1 of 2] Compiling Slug ( ssg/src/Slug.hs, interpreted )
[2 of 2] Compiling Main ( ssg/src/Main.hs, interpreted )
[1 of 1] Compiling Main ( ssg/src/Main.hs, interpreted )
...
λ > :type toSlug
toSlug :: T.Text -> T.Text
λ > import Data.Text (pack)
λ > toSlug (pack "What If I Told You...")
"what-if-i-told-you"
```
* Easily unbreak hakyll's nixpkgs distribution or change hakyll's compile flags
via the `./haskell-overlay.nix` and `hakyll.patch` files
@ -64,7 +56,7 @@ you:
* [pandoc](https://github.com/jgm/pandoc/) markdown customization to make it as
close to GitHub's markdown style as possible
* `Slug.hs` module that makes nice link URIs based on post titles
* [`slugger`](https://hackage.haskell.org/package/slugger) module is included that makes nice link URIs based on post titles
* RSS & Atom XML feed generation
* Sitemap generation
* Code syntax highlighting customization