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
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
Jasper Van der Jeugt
27c3942369
Merge pull request #300 from ohbadiah/master
...
matchMetadata for examining metadata when defining rules
2015-01-06 13:42:08 +01:00
Daniel P. Wright
b36232e05e
Refactor match and matchMetadata code into matchInternal
...
As per jaspervdj's request in #300 , refactor the common code from
match and matchMetadata into a single, unexported function.
2015-01-03 22:55:51 +09:00
Jasper Van der Jeugt
f498a43c64
Fix dependency handling bug
...
Closes #321
2014-12-28 15:28:45 +01:00
Jasper Van der Jeugt
6f4ccbdc49
Fix dependency handling for snapshots
2014-12-12 16:33:50 +01:00
Jasper Van der Jeugt
2e23f373ed
Bump fsnotify, citeproc, poll changes
2014-11-03 11:38:51 +01:00
Jasper Van der Jeugt
76cfb53958
Add listFieldWith
2014-10-29 10:47:22 +01:00
Jasper Van der Jeugt
3c15d0fd34
Improve rulesExtraDependencies usage
2014-10-28 10:53:35 +01:00
Jasper Van der Jeugt
59b6f01218
Better functions in templates
2014-10-27 12:20:31 +01:00
Takayuki Muranushi
51b147bbe1
support parsing article date from directory names in addition to file name.
2014-10-07 11:26:48 +09:00
Nick McAvoy
d0af1024d0
matchMetadata for examining metadata when defining rules
2014-09-16 22:20:11 -04:00
Jan-Philip Loos
3008142e03
added binary instances for csl and pandoc, fix #174
2014-09-08 16:04:30 +02:00
Jasper Van der Jeugt
8d22340e7a
Don't have TagSoup decode any HTML entities
2014-08-25 11:16:46 +02:00
Rickard Nilsson
ac9b3d7d93
Fix compilation errors with pandoc-citeproc 0.4
2014-08-20 18:05:20 +02:00
Simonas Kazlauskas
261277dfc5
Fix build failure introduced by 3ee6f28
...
Fixes #270
2014-06-26 19:48:58 +03:00
Jasper Van der Jeugt
e6918c7253
Merge pull request #269 from co-dan/demoteheaders
...
Fix #223 : `demoteHeaders` should not modify anything in the document, apart from the headers
2014-06-13 19:35:55 +02:00
Simonas Kazlauskas
721bdc2950
Generate a cabal file for the initialised site
...
Fixes #267
2014-06-13 19:11:30 +03:00
Jasper Van der Jeugt
74daa49cd5
Draft pagination
2014-06-06 13:47:59 +02:00
Jasper Van der Jeugt
f9a0d37088
Fix issue in paginate dependencies
2014-05-20 09:29:56 +02:00
Albert Krewinkel
75b3bc0a16
Allow Emacs org-mode as markup-language in *.org files
...
This closes #231 .
2014-05-10 12:32:34 +02:00
Jasper Van der Jeugt
12dc25de17
Merge pull request #252 from blaenk/mod-time
...
save modification time with sub-second granularity
2014-05-09 11:51:56 +02:00
Jasper Van der Jeugt
0639a73c24
Merge branch 'master' of github.com:jaspervdj/hakyll
2014-05-09 11:51:12 +02:00
Jorge Israel Peña
d86b4753d4
save modification time with sub-second granularity
...
Some systems can get the file modification time with sub-second
granularity. However, Hakyll shaves off the sub-seconds, as defined in
the Binary instance of BinaryTime, which poses a problem because when a
file is checked to see if it was modified in `resourceModified`, it
still contains the sub-seconds. This results in a file (almost) always
being considered as having been modified.
Example:
1. First go around, modification time is 3:45.325. This time is saved
as 3:45.000 (i.e. sub-seconds are shaved off).
2. Second go around, modification time is again read as 3:45.325 and
compared against the stored time, 3:45.000. 3:45.325 is more recent
than 3:45.000, so the file is considered to have been modified.
This change prevents the shaving off of sub-seconds. This will naturally
work on systems that don't support sub-second granularity, as that
'field' will simply appear as all zeros.
Closes #250
2014-05-09 02:11:56 -07:00
Jorge Israel Peña
ca44e643a4
Minor refactor of PR #233
...
OS won't change mid-execution, so lets avoid the unnecessary
check each time `unixFilter` is run.
2014-04-27 15:55:33 -07:00
Izzy Cecil
19788ede4e
FIX: toSiteRoot
no considers "./" to not be relavent.
2014-04-19 17:24:27 -06:00
Jasper Van der Jeugt
8229765cbd
Fix tag dependency issue, slightly improve caching
2014-04-11 21:12:01 +02:00
Jasper Van der Jeugt
889e6f59f7
Fix compilation when disabling preview server
2014-04-07 19:49:17 +02:00
Dacto
3bb0919d25
Added imports that are missing when compiling under Windows.
2014-03-31 23:07:40 -07:00
Jasper Van der Jeugt
0b705d7db0
Micro cleanup of pull request #233
2014-03-26 12:09:35 +01:00
Jasper Van der Jeugt
87eafc752f
Revert "added gloabl metadata parsing"
...
This reverts commit e0f45b29b3
.
Conflicts:
src/Hakyll/Core/Provider/Metadata.hs
2014-03-26 12:05:38 +01:00
Jasper Van der Jeugt
157a81b413
Revert "Fix loadGlobalMetadata on Windows"
...
This reverts commit e71bbd90a8
.
2014-03-26 12:05:38 +01:00
Jasper Van der Jeugt
bc1cfc8d5a
Revert "Fix root directory in directory-wise metadata and beautify code"
...
This reverts commit a6ae4eb99d
.
2014-03-26 12:05:38 +01:00
Jasper Van der Jeugt
6552dd5bc0
Revert "Track metadata dependencies"
...
This reverts commit 712ffa39b5
.
Conflicts:
src/Hakyll/Core/Metadata.hs
src/Hakyll/Core/Rules/Default.hs
2014-03-26 12:05:38 +01:00
Jasper Van der Jeugt
e5446fd401
Revert "Added test case for global metadata"
...
This reverts commit 46b6f78da8
.
Conflicts:
tests/data/posts/metadata
2014-03-26 12:05:38 +01:00
Jasper Van der Jeugt
3db3933b0b
Revert "set internalRules last, so that it can be overrided by rules"
...
This reverts commit d406db44e3
.
2014-03-26 12:05:38 +01:00
Jasper Van der Jeugt
969f2351ef
Merge pull request #233 from rekahsoft/master
...
Fix unixFilter on Windows
2014-03-26 12:05:24 +01:00
chrisdotcode
c922ab57ac
"Serve on" should be "bind on".
2014-03-24 05:20:19 -04:00
chrisdotcode
5af08f807e
Add flag to bind on selected host.
2014-03-24 04:50:17 -04:00
Collin J. Doering
da7ae99b12
Fix unixFilter on Windows
...
On windows, the 'unixFilter' function used window's 'createProcess'
function to create the external process that will filter some String
input. The problem with this is that it is unable to execute batch
stubs (eg. anything created using 'gem install ...') even if its in
$PATH. Anyways a solution to this issue is to execute the batch file
explicitly using 'cmd /c batchfile' but there is no rational way to know
where said batchfile is on the system. My solution is to detect windows
using the System.Info module and then instead of using 'proc' to create
the function, use 'shell' instead which will be able to execute
everything 'proc' can + batch files.
Inspired by: http://www.blaenkdenum.com/posts/the-switch-to-hakyll/#scss
Signed-off-by: Collin J. Doering <rekahsoft@gmail.com>
2014-03-23 17:30:29 -04:00