summaryrefslogtreecommitdiff
path: root/lib/Hakyll/Web/Feed.hs
AgeCommit message (Collapse)AuthorFilesLines
2019-11-27Fix file path for compatibility with WindowsHexirp1-4/+9
2019-08-30Improve error messagesJasper Van der Jeugt1-31/+24
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.
2018-11-24Adds render{Rss,Atom}WithTemmplates function in the Web.Feed moduleAbhinav Sarkar1-6/+32
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-01-07decodeUtf8 over unsafe unpack for feed templatesJasper Van der Jeugt1-7/+12
2018-01-07Embed feed templates rather than using data-filesRoman Kuznetsov1-13/+28
2017-06-19Move src/ to lib/, put Init.hs in src/Jasper Van der Jeugt1-0/+135