Commit graph

636 commits

Author SHA1 Message Date
Arguggi
c4216c15fc Switch preview server from Snap to Warp 2016-07-22 12:43:14 +02:00
Luca Molteni
c0a4f3f055 Fixes https://github.com/jaspervdj/hakyll/issues/323 we have less compression but we preserve correct CSS semantic 2016-07-22 12:10:07 +02:00
Jan Tojnar
164a7dc7ee
Make errors in Check less verbose 2016-06-25 23:02:18 +02:00
Jasper Van der Jeugt
b1be76da5b Read .metadata files using bytestring 2016-05-17 10:53:11 -04:00
Sergei Trofimovich
e13c1f2af9 src/Hakyll/Web/Paginate.hs: Fix build failure
The code tried to generate Show instance for a function.
I don't know where it used to come from but it's not there
anymore. Build fails as:

  [48 of 49] Compiling Hakyll.Web.Paginate ( src/Hakyll/Web/Paginate.hs, dist/build/Hakyll/Web/Paginate.o )

  src/Hakyll/Web/Paginate.hs:40:17:
    No instance for (Show (PageNumber -> Identifier))
      (maybe you haven't applied enough arguments to a function?)
      arising from the second field of ‘Paginate’
        (type ‘PageNumber -> Identifier’)
    Possible fix:
      use a standalone 'deriving instance' declaration,
        so you can specify the instance context yourself
    When deriving the instance for (Show Paginate)

Change drops Show instance as it's not very useful.

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
2016-04-29 09:38:55 +01:00
Jasper Van der Jeugt
14dcd1657f Remove Show instance for Tags
Fixes #420
2016-04-28 21:58:07 +02:00
Jasper Van der Jeugt
314473e21a Import catchIOError from System.IO.Error 2016-04-27 12:42:46 +02:00
Jasper Van der Jeugt
b5e95b61ab Fix import errors on windows 2016-04-26 17:53:00 +02:00
Jasper Van der Jeugt
3ebdc76a55 Merge pull request #402 from Nicowcow/snippet-include
Add Snippet expression for snippet includes
2016-04-07 08:47:09 +01:00
Nicolas Mattia
8bb89a83b2 Add Snippet expression for snippet includes 2016-04-06 21:32:15 +01:00
Jasper Van der Jeugt
b810fe38cf Clean warnings 2016-04-06 17:16:33 +02:00
Jasper Van der Jeugt
292385b7e5 Hint for weird yaml error 2016-04-06 15:03:54 +02:00
Jasper Van der Jeugt
b903bd3014 Better errors for yaml parsing 2016-04-06 14:54:53 +02:00
Jasper Van der Jeugt
e81468e0f6 Initial YAML support
See #225
2016-04-06 14:26:46 +02:00
Richard Cook
270c99b9d2 Fixes #408: Documentation for "unixFilter" now compiles 2016-03-14 19:12:19 -07:00
Jasper Van der Jeugt
6eb19c9eaa Merge pull request #385 from bergus/template
templateCompiler compiles resource body only
2016-01-31 17:26:49 +01:00
Yuriy Syrovetskiy
dccef0759e Item context has precedence before feed context 2015-11-20 15:50:14 +03:00
Bergi
5a4ae41473 templateBodyCompiler compiles resource body only
and becomes the new default, instead of templateCompiler

fixes #378
2015-10-24 20:29:10 +02:00
Jasper Van der Jeugt
0bfa763dc6 Export getModificationTime 2015-10-24 11:42:25 +02:00
Javran Cheng
9c9fe95a35 guard explained 2015-09-25 07:28:53 -04:00
Javran Cheng
5b36fea95c prevent "-h" or "--help" from generating dir
assume user in general is not expecting "--something" directory
to be generated.
2015-09-24 15:26:01 -04:00
Duncan
e77564f1b2 Add "poster" as a URL attribute 2015-08-16 15:49:56 +12:00
Adam Bergmark
11bd56b316 Allow time 1.4.* 2015-08-01 16:27:38 +02:00
Jasper Van der Jeugt
df2bc9fa9e Bump fsnotify to 0.2 2015-08-01 10:15:03 +02:00
Jasper Van der Jeugt
f9872ba1bb Allow empty template, fix some import warnings
Closes #355
2015-06-30 11:51:53 +02:00
Matthias C. M. Troffaes
578c5ca77b Improve documentation of getResourceBody, getResourceString, and getResourceLBS.
See issue #228.
2015-06-24 10:17:29 +01:00
Jasper Van der Jeugt
b034bcea95 Drop old-time, old-locale, time-locale-compat deps 2015-06-23 14:01:13 +02:00
Jasper Van der Jeugt
a43b4ee90f Merge pull request #327 from mcmtroffaes/patch-1
Add convenience function pandocBiblioCompiler.
2015-06-23 11:06:08 +02:00
80x24
4412807ffd add support for mediawiki 2015-06-14 20:19:56 +08:00
Jasper Van der Jeugt
eb4ea434a6 Update to use Pandoc 1.14 2015-05-29 11:52:36 +02:00
Erik Dominikus
0eb8a8b4ff Let caller decide exit 2015-04-30 17:16:45 +02:00
Jasper Van der Jeugt
297a6e7687 Merge pull request #344 from cstrahan/ghc710fix
fix building on GHC 7.10
2015-04-08 00:21:06 +02:00
Charles Strahan
d6e68fc317 fix building on GHC 7.10
closes #343
2015-04-07 10:22:29 -04:00
Jasper Van der Jeugt
2819aebaf7 Fix typos in "separator"
See #342
2015-04-03 16:51:11 +02:00
Jasper Van der Jeugt
9fa80ad38c Merge pull request #342 from NorfairKing/general-teaser-seperator
Added support for a custom teaser separator
2015-04-03 16:48:36 +02:00
Joshua Simmons
1ba78f4e0d change file extension to .dbk for docbook 2015-03-30 13:24:30 -07:00
Tom Sydney Kerckhove
8323f784b8 Added support for a custom teaser separator
This way you don't need to use the <!--more--> separator.
You can define your own.
2015-03-30 19:18:09 +02:00
Joshua Simmons
6a4b09e1c2 let pandoc handle DocBook files 2015-03-23 10:08:45 -07:00
Hans-Peter Deifel
5fdaba6f29 Don't add .cabal extension twice in init
Previously, hakyll-init would create the cabal file with a name like
name.cabal.cabal.
2015-02-24 17:41:18 +01:00
Jasper Van der Jeugt
31b2294b10 Merge pull request #332 from cpennington/author-name-rss
Add author name by default to RSS feeds
2015-02-22 12:38:39 +01:00
Magnus Therning
a9183ac8e8 Fix a typo in disabled preview server function.
Signed-off-by: Magnus Therning <magnus@therning.org>
2015-02-22 00:20:53 +01:00
Calen Pennington
ac0fc618ff Add author name by default to RSS feeds 2015-02-20 15:02:42 -05:00
Ferenc Wágner
26b2ee3b94 Add boolField 2015-01-13 09:33:58 +01:00
Jasper Van der Jeugt
9307ec5263 Ensure "Listening on 0.0.0.0:8000" message is not garbled 2015-01-10 22:16:05 +01:00
Matthias C. M. Troffaes
be151b94a4 fix typo 2015-01-09 15:29:20 +00:00
Matthias C. M. Troffaes
285b3c4af0 add horizontal rule before function 2015-01-09 15:29:01 +00:00
Matthias C. M. Troffaes
2663c24807 add missing export 2015-01-09 15:25:12 +00:00
Matthias C. M. Troffaes
e7c077de2f add convenience function pandocBiblioCompiler 2015-01-09 15:07:20 +00:00
Jasper Van der Jeugt
fee73b93ad Fix another dependency cycle issue
Closes #326
2015-01-09 13:14:04 +01:00
Jasper Van der Jeugt
66cb964224 Clean up hakyll-init a little
Closes #325
2015-01-06 14:11:20 +01:00