summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-12-29Remove stupid nonsenseHEADmasterIgor Pashev1-3/+3
2021-07-17Merge branch 'master' of https://github.com/jaspervdj/hakyllIgor Pashev29-677/+1584
2021-07-16Supporting different field names for tags. (#862)Jim McStanton1-3/+9
* Supporting different field names for tags. * Removed buildTagsByField Removed to avoid exponential growth of helper functions. Renamed field parameter in getTagsByField to fieldName to avoid shadowing. * Drop obsolete export Co-authored-by: Alexander Batischev <eual.jp@gmail.com>
2021-07-15Avoid "Empty 'do' block" error in GitHub tutorial (#861)Alexander Batischev1-2/+1
Report and fix by @alexandroid000. Fixes #860.
2021-07-06update Github Actions (#859)Peter Becich1-9/+9
* update Github Actions https://github.com/actions/setup-haskell has been archived. I believe https://github.com/haskell/actions/tree/main/setup is current. * try to fix stalling CI job
2021-06-22add 'forceCompile' rules modifier (#857)Fraser Tweedale2-12/+48
Compilers that use data from sources other than local files may need to be recompiled, but Hakyll's file-based dependency checking does not handle this situation. Add a new kind of dependency called 'AlwaysOutOfDate'. If an item has this dependency, it will be unconditionally rebuilt. Also add the 'forceCompile' rule modifier, which is a user-friendly way to force recompilation of specific items. Example usage: forceCompile $ create ["foo"] $ do route $ idRoute compile $ unsafeCompiler $ doSomeIO
2021-06-06Allow demotion of headers by a given amount (#855)Logan McGrath2-3/+22
2021-06-02Bump some more dependencies (#853)Alexander Batischev1-3/+3
* Allow file-embed 0.0.14.0 * Allow time 1.11 * Allow template-haskell 2.17 (i.e. GHC 9)
2021-06-01Allow Pandoc 2.14 (#852)Laurent P. René de Cotret1-2/+2
* Bump allowed Pandoc version * Allow more recent version of Pandoc in hakyll-init exe
2021-05-30Async runtime with graph-based dependency cycle checks (#844)Laurent P. René de Cotret4-138/+216
* Async runtime * Activate multi-threading in template repo * Style changes after feedback * Limiting the number of concurrent tasks * Revert "Limiting the number of concurrent tasks" This reverts commit 38984f6f5332632be8c4cab3e29d37e318492d70.
2021-05-29Fix binary's name in the first tutorial (#849)Alexander Batischev1-2/+2
Fixes #847.
2021-05-26Docs: IRC channel moved from Freenode to Libera.Chat (#848)Alexander Batischev3-3/+5
There's no mention of this on the issue tracker, so here's my recap of what led to this change. There is some drama around Freenode. Their volunteer staff quit[1]. Then the new-ish management started enacting strange policy changes[2] and take over the channels[3]. On June 26th 2021 Freenode's bot tried to take over #hakyll, but failed; however, it did succeed in #haskell and many, many other channels. For the preceding week, me and IRC user henk were trying to move the channel off the Freenode, either to Libera.Chat or OFTC. Jasper, the founder of Hakyll, was absent from IRC and didn't respond to my emails. Me and henk are the most active IRC users on the channel. Also, I have Collaborator access to the repo, and henk has chanop access to the IRC channel. We believe that at this time, we're the ones who are the best positioned to execute the move, so we're doing it. We only considered Libera.Chat and OFTC. Libera.Chat was created a week earlier by the same staff who quit Freenode; I personally consider them to be a spiritual successor of Freenode. OFTC is a well-established network with good governance documentation. Both networks are FOSS-friendly. The choice wasn't obvious. Libera.Chat was picked because 10 users moved there (and 1 more did while I was typing this!), whereas only 2 joined OFTC (me and henk, and those weren't votes for OFTC — we were just ensuring that the channel is ours). Also, #haskell and #ghc are on Libera too, so it makes sense for a Haskell project such as Hakyll to be present on Libera. For posterity: <Minoru> info #hakyll -ChanServ(ChanServ@services.)- Information on #hakyll: -ChanServ(ChanServ@services.)- Founder : jaspervdj -ChanServ(ChanServ@services.)- Registered : Mar 01 13:29:17 2011 (10y 12w 5d ago) -ChanServ(ChanServ@services.)- Mode lock : +ntc-slk -ChanServ(ChanServ@services.)- *** End of Info *** 1. https://kline.sh 2. https://github.com/freenode/web-7.0/pull/513 3. https://www.devever.net/~hl/freenode_abuse
2021-04-15Remove dependency on cryptonite and memory (#843)Laurent P. René de Cotret3-32/+6
2021-03-29Allow pandoc 2.13 (#840)Nikolay Yakimov1-2/+2
2021-03-15Allow pandoc 2.12 (#839)Alexander Batischev1-2/+2
This passed on my machine: cabal test all -j --enable-tests --constrain 'pandoc == 2.12'
2021-03-15Update some bounds (#838)Felix Yan1-3/+3
All tests are passing here with the new versions.
2021-03-14Bump Stackage LTS to 17.5 (#837)Alexander Batischev2-102/+6
2021-03-14Bump version to 4.14.0.0Jasper Van der Jeugt2-1/+10
2021-03-14Revert "File.hs: +symlink-based static file compiler; for multi-gigabyte ↵Jasper Van der Jeugt1-16/+0
sites, this can be a major speedup (see #786) (#810)" This reverts commit 84157674d955778c806efdafda311b2732242b38.
2021-03-12add nliu.net to examples for shameless self-promotion (#836)Norman Liu1-0/+2
* added nliu.net to examples for shameless self-promotion * fixed comma formatting
2021-03-12Add `renderPandocWithTransform` and `renderPandocWithTransformM`Norman Liu1-3/+30
* added function that allows for pre-pandoc transformations * modified haddock docstring * refactoring to avoid importing the kleisli fish * Renamed `applyPandoc` to `renderPandocWithTransformM`, added non-monadic variant. Exported previous new functions that I forgot to export.
2021-03-06Add jeancharles.quillet.org to examples (#834)Jean-Charles Quillet1-0/+2
2020-12-30Revert "Fix golden test failing with pandoc >= 2.11.3 (#829)" (#830)Alexander Batischev4-24/+1
This reverts commit 87e93c6c95b86b435b532286e07b0a9b896aef8f. I screwed up with that one: the change in behaviour was a regression[1] in Pandoc, and I shouldn't have papered over it. It's fairly unlikely that someone would build Hakyll's test suite with one of the two Pandoc versions that regressed, so I simply revert my earlier commit. 1. https://github.com/jgm/pandoc/issues/6966
2020-12-30Fix golden test failing with pandoc >= 2.11.3 (#829)Alexander Batischev4-1/+24
The new version started wrapping Biblio references into <p> tags, so we now keep two different golden files for different Pandoc versions. I had to add Pandoc to dependencies of the test suite, otherwise GHC won't define `MIN_VERSION_pandoc` macro.
2020-12-29Add documentation for the pandocBiblioCompiler (#828)Chris Jensen1-0/+1
* Add documentation for pandoc * Fix grammar
2020-12-07Add golden test for Pandoc.Biblio (#827)Alexander Batischev8-0/+763
2020-12-06Pandoc 2.11 compatibility (#826)Jasper Van der Jeugt5-86/+123
* Pandoc 2.11 compatibility * Bump stack.yaml * Bump stack dependencies
2020-11-26Allow file-embed 0.0.13 (#824)erictapen1-1/+1
2020-11-23Issue #822: change tutorial to reflect recent GH Pages features (#823)Thomas Mahler1-92/+34
2020-11-19Update actions/setup-haskell to 1.1.4 (#820)Alexander Batischev1-5/+2
This removes the need for a workaround on Windows.
2020-11-17Update actions/setup-haskell to 1.1.3 (#818)Alexander Batischev1-2/+5
2020-11-16Derive Functor, Foldable and Traversable for Item (#815)Mario Lang1-17/+2
2020-11-15Bump Stackage LTS to 16.21 (#811)Liang-Ting Chen2-5/+5
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-11-12Bump pandoc version (#799)Yannik Sander1-2/+2
* Bump pandoc version * Bump Pandoc version for hakyll-website Co-authored-by: Alexander Batischev <eual.jp@gmail.com>
2020-11-12Make sure the initial project is writable (#804)Tobias Bora1-1/+6
2020-11-12Update a reference to Debian now that Hakyll is available in the Debian ↵Marko Dimjašević1-1/+1
stable release (#798)
2020-11-12Allow random 1.2 (#792)Felix Yan1-1/+1
Builds fine and all tests pass here.
2020-11-11Allow file-embed 0.0.12 (#774)Felix Yan1-1/+1
Builds fine and all tests pass here.
2020-09-30Bump version to 4.13.4.1Jasper Van der Jeugt2-1/+7
2020-09-30 Bump template-haskell and pandoc versions Jasper Van der Jeugt5-45/+147
* 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-08-30Add xvw.github.io to examplesJasper Van der Jeugt1-0/+2
2020-06-30Bump version to 4.13.4.0Jasper Van der Jeugt2-1/+7
2020-06-30Bump cryptonite upper bound to 0.28Felix Yan1-1/+1
2020-06-30Bump tasty upper bound to 1.4Jasper Van der Jeugt3-19/+3
2020-06-30 Continuous integration on Windows and LinuxLaurent P. René de Cotret3-11/+74
2020-06-10Let pandoc-types 1.21+ with new Block constructorsIgor Pashev2-6/+22
2020-06-10Support dd.mm.yyyy date formatIgor Pashev1-0/+3
2020-06-10Reformat hakyll.cabal with cabalIgor Pashev1-330/+298