Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
* 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>
|
|
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
|
|
|
|
* 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.
|
|
|
|
sites, this can be a major speedup (see #786) (#810)"
This reverts commit 84157674d955778c806efdafda311b2732242b38.
|
|
* 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.
|
|
* Add documentation for pandoc
* Fix grammar
|
|
* Pandoc 2.11 compatibility
* Bump stack.yaml
* Bump stack dependencies
|
|
|
|
can be a major speedup (see #786) (#810)
Co-authored-by: gwern <gwern@gwern.net>
|
|
|
|
* 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>
|
|
|
|
|
|
|
|
In addition to parsing metadata header & metadata files it will
allow any custom routine to extract metadata from the resource files,
for example with Pandoc
|
|
|
|
|
|
|
|
See #764
|
|
This fixes v4.13.1.0 on GHC 8.6.
|
|
|
|
|
|
'cryptohash' is deprecated. The package description says, "please use
cryptonite for new projects and convert old one to use cryptonite."
|
|
|
|
|
|
Add MonadFail instances and constraints.
|
|
|
|
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)
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
`getCategory` functions similarly to `getTags` and is a pretty useful function to have. Hence, I see no reason why it shouldn't be exposed.
|
|
|
|
|
|
|
|
|
|
Resolves #661
|
|
Drop the file extension when parsing the date from the filepath of a
resource.
|
|
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.
|
|
|
|
|
|
|
|
|
|
- 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
|