summaryrefslogtreecommitdiff
path: root/lib/Hakyll
AgeCommit message (Collapse)AuthorFilesLines
2020-11-16Derive Functor, Foldable and Traversable for Item (#815)Mario Lang1-17/+2
2020-11-12File.hs: +symlink-based static file compiler; for multi-gigabyte sites, this ↵Alexander Batischev1-0/+16
can be a major speedup (see #786) (#810) Co-authored-by: gwern <gwern@gwern.net>
2020-11-12Remove unnecessary conditional compilation for parseTimeM (#781)Liang-Ting Chen1-9/+1
2020-09-30 Bump template-haskell and pandoc versions Jasper Van der Jeugt1-0/+10
* Bumped bound for pandoc and add Binary-instances for new constructors that were added to pandoc-types * Support most recent template-haskell release * Set lower bound of pandoc to version 2.10 * Update CI configuration * Bump QuickCheck upper bound to 2.15 Co-authored-by: OC4 <oc4@protonmail.com>
2020-06-30 Continuous integration on Windows and LinuxLaurent P. René de Cotret1-1/+29
2020-05-30Miscellaneous Windows-specific fixes and CILaurent P. René de Cotret4-14/+24
2020-05-27Fix for filepath matching on WindowsLaurent P. René de Cotret2-16/+18
2020-04-11Fix MonadFail compilation issue on WindowsMartín Emanuel1-1/+1
See #764
2020-03-07Add MonadFail importsNikolay Yakimov4-0/+4
This fixes v4.13.1.0 on GHC 8.6.
2020-02-26Fix timezone parsing with time-1.9Jasper Van der Jeugt1-0/+3
2020-02-26Fix compilation issuesJasper Van der Jeugt1-1/+1
2020-02-26Use 'cryptonite' instead of 'cryptohash'Hexirp1-2/+16
'cryptohash' is deprecated. The package description says, "please use cryptonite for new projects and convert old one to use cryptonite."
2020-02-26Reorganize Hakyll.Main export listJasper Van der Jeugt1-6/+9
2020-02-26Expose CLI arg parser internalsJim McStanton1-5/+24
2020-02-26Support GHC-8.8Veronika Romashkina5-8/+14
Add MonadFail instances and constraints.
2019-11-27Fix file path for compatibility with WindowsHexirp2-6/+14
2019-11-27Flush log before starting web serverRobert1-0/+1
This fixes out of order console messaging in the case of errors binding to the configured address, though the message order is still a bit weird. Before: $ stack exec site watch Initialising... Creating store... site: Network.Socket.bind: resource busy (Address already in use) Creating provider... Listening on http://127.0.0.1:8000 After: $ stack exec site watch Listening on http://127.0.0.1:8000 Initialising... Creating store... Creating provider... site: Network.Socket.bind: resource busy (Address already in use)
2019-10-29Add titles to tag fieldsJasper Van der Jeugt1-2/+4
2019-10-10Fix a typo, t missing from the.Phil de Joux1-1/+1
2019-08-30Improve error messagesJasper Van der Jeugt12-192/+455
2019-08-25Add getCategory testsDavid Parrish1-1/+1
2019-05-25Add option to specify date in directory structureTaeer Bar-Yam1-2/+9
2019-05-09fixed: auto complete `published` overwrites user's contextncaq1-1/+1
I like following, has written a context to complement from the file name `published`. [www.ncaq.net/site.hs at d8b7eb3426eae36ee0ea5788f32306b9ffa6f9f2 · ncaq/www.ncaq.net](https://github.com/ncaq/www.ncaq.net/blob/d8b7eb3426eae36ee0ea5788f32306b9ffa6f9f2/site.hs#L120) Looking at feed today, I noticed that time is not reflected in `published`. This is because `getItemUTC` overwrites my `published`. Adding a format to `getItemUTC` was not a solution because I live with JST. Also, it is not realistic to write `published` in the yaml metadata of all files, and I think that you want to be delivered as JST as much as possible. Since `updated` does not overwrite the context, I tried to rewrite so that `published` does not overwrite the context. I have confirmed in the local environment that all things work well, is this the intended overwrite? If not, I think it is natural to prioritize the user's context.
2019-05-06Expose `getCategory` in Haskell.Web.TagsNg Wei En1-0/+1
`getCategory` functions similarly to `getTags` and is a pretty useful function to have. Hence, I see no reason why it shouldn't be exposed.
2019-03-10Added "srcset" to the list in `isUrlAttribute`.c50a3261-1/+1
2018-11-24Kill warningJasper Van der Jeugt1-1/+0
2018-11-24Adds render{Rss,Atom}WithTemmplates function in the Web.Feed moduleAbhinav Sarkar1-6/+32
2018-10-28Speed up hashing in cache0xd34df00d1-2/+6
2018-10-13Updated type of fromFilePath to use FilePath instead of StringJim McStanton1-1/+1
Resolves #661
2018-10-02Drop extension when parsing dates in filepathsGabriel Aumala1-2/+2
Drop the file extension when parsing the date from the filepath of a resource.
2018-06-10Use makeRelativeToProject with embedFile (for stack ghci)Michael Sloan1-6/+5
The 'makeRelativeToProject' allows usage of package relative filepaths, even if ghc's working dir is not the package directory. This enables me to have a locally modified version of hakyll as part of my stack project, and run "stack ghci" to load my hakyll project + hakyll all into one ghci session.
2018-05-29Bump tasty to 1.1, fsnotify to 0.3Jasper Van der Jeugt1-18/+8
2018-04-28Fix path resolution in Pandoc.Biblioknih1-5/+13
2018-03-20Make Pandoc dependency optionalBergi1-1/+0
2018-03-18Fix typo in modificationTimeField docstringIustin Pop1-1/+1
2018-03-13Bump dependenciesJasper Van der Jeugt1-0/+1
- Bump pandoc-citeproc to 0.14 - Bump resourcet to 1.2 - Bump time to 1.9 - Bump http-types to 0.12 - Bump http-conduit to 2.3 - Bump tasty-quickcheck to 0.10
2018-03-13Fix issue with CPP and /*Jasper Van der Jeugt2-83/+102
2018-03-13Add Semigroup instances for existing MonoidsChristian Barcenas6-0/+83
Ensures forwards compatibility with future Haskell/GHC releases as the Semigroup/Monoid Proposal is gradually implemented. Closes #525 and #536.
2018-03-07Optimise CSS compressionBergi2-63/+60
2018-01-31Add withTagListOleg Grenrus1-1/+5
2018-01-15Various dependency bumpsJasper Van der Jeugt1-1/+4
- Bump binary to 0.9 - Bump pandoc to 2.1 - Bump pandoc-citeproc to 0.13 - Bump http-types to 0.11 - Bump QuickCheck to 2.11 - Bump tasty to 1.0 - Bump tasty-hunit to 0.10 - Remove system-filepath dependency
2018-01-07decodeUtf8 over unsafe unpack for feed templatesJasper Van der Jeugt1-7/+12
2018-01-07Embed feed templates rather than using data-filesRoman Kuznetsov3-14/+30
2017-12-25 Extend capture with Regex handlingfrederik-h1-2/+4
2017-12-18Fix warnings and errorsJasper Van der Jeugt3-11/+8
2017-11-20Move to Pandoc 2Vaibhav Sagar1-8/+13
2017-11-17Fix compression of calc() in CSSKrzysztof Jurewicz1-0/+18
According to Mozilla Developer Network, “The + and - operators must always be surrounded by whitespace.”.
2017-11-17Make unixFilter output stderr when failingNick Boultbee1-1/+2
Fixes #581.
2017-11-17Export Check type from Hakyll.CommandsFuttetennista1-1/+3
2017-07-10Expose & document hakyllWithExitCodeAndArgs, Options, and CommandMichael Walker1-0/+15