Ivan N. Veselov
9ad0d38f43
Added a comment explaining "teaserContext" function.
2013-05-04 17:48:51 +03:00
Ivan N. Veselov
2651627189
Added "teasers" support to be used in posts index.
...
Just add "<!-- teaser_end -->" to separate the teaser and the rest of the article and use "$teaser$" key in the template!
Closes issue #35 .
2013-05-04 17:26:22 +03:00
Jasper Van der Jeugt
ca80171caf
Minor style changes
2013-05-04 15:18:26 +02:00
noxx
f4ee3e7fcb
Created tests and fixed isMember function
2013-05-04 15:42:28 +03:00
noxx
0f779a8c53
Added isMember to load function
2013-05-04 13:05:47 +03:00
noxx
a3021bc703
Added isMember functions for Store
2013-05-04 12:51:58 +03:00
Jasper Van der Jeugt
4100083709
Style changes, move stuff to common parser module
2013-05-04 11:36:58 +02:00
Jasper Van der Jeugt
28bc3f1f3b
Merge remote-tracking branch 'sphynx/master'
2013-05-04 11:14:35 +02:00
Ivan N. Veselov
9c5300440e
Removed unnecessary import.
2013-05-03 19:28:19 +03:00
Ivan N. Veselov
f86b9c5b0c
Added support for "$if$" statement in templates.
2013-05-03 19:10:57 +03:00
Ivan N. Veselov
617322ae8c
Added MonadError's instance for Compiler.
2013-05-03 19:10:11 +03:00
Jasper Van der Jeugt
ec1f961c4e
Close open cache files as soon as possible
...
See #124
2013-05-03 16:21:14 +02:00
Jasper Van der Jeugt
8f534400be
More granular dependencies for routes
...
See #121
2013-05-03 11:03:49 +02:00
Jasper Van der Jeugt
553350a5c8
Merge pull request #138 from christopheryoung/master
...
Documentation tweaks: two small typos and $PATH variable documentation for OS X
2013-04-29 06:48:38 -07:00
Parnell Springmeyer
625c73feb2
Adding in the short form date parsing
2013-04-23 17:33:25 -05:00
Jasper Van der Jeugt
2895a05a19
Micro cleanup
2013-04-22 20:24:19 +02:00
Jasper Van der Jeugt
79215f71eb
Merge pull request #133 from simukis/scheme-relative
...
Account for scheme-relative URLs
2013-04-22 11:16:54 -07:00
Ian Ross
fa7f0fe001
Fix indent
2013-04-21 15:14:38 +02:00
Ian Ross
ef9c610d3c
Improve tag handling API
...
Expose function tagsFieldWith and renderTagCloudWith to provide more
flexible tag rendering APIs; add tagCloudField and tagCloudFieldWith
to provide context-based facility for tag cloud rendering.
2013-04-21 13:24:06 +02:00
Ian Ross
ce745bcfe4
Add "data" as a URL attribute
2013-04-21 13:20:13 +02:00
Christopher Young
8bbb8d4221
Fix typo
2013-04-12 07:22:43 -04:00
Simonas Kazlauskas
63a3000f9c
Account for scheme-relative URLs
...
http://url.spec.whatwg.org/#concept-scheme-relative-url
2013-04-04 13:29:57 +03:00
Jasper Van der Jeugt
cf98381508
Add event filtering based on pattern
2013-04-04 11:47:50 +02:00
Jasper Van der Jeugt
5f6035b8e9
Merge pull request #131 from simukis/fsnotify
...
Migrate to filesystem notification
2013-04-04 01:43:33 -07:00
Jasper Van der Jeugt
cbfc7c18e1
Debug info for Alternative instances
...
See #126
2013-04-04 00:26:05 +02:00
Simonas Kazlauskas
5a9a869e58
Update patch for 5e4adaecb
2013-04-03 13:31:27 +03:00
Simonas Kazlauskas
b5e34c64a7
Merge github.com:jaspervdj/hakyll into fsnotify
2013-04-03 13:11:15 +03:00
Jasper Van der Jeugt
c40cf286af
Add getResourceFilePath
...
See #130
2013-04-03 12:07:03 +02:00
Jasper Van der Jeugt
5e4adaecb2
Account for absolute paths in shouldIgnoreFile
2013-04-03 12:02:06 +02:00
Jasper Van der Jeugt
2cb444f250
Fix issue where: hasProtocol "foo" == True
...
See #129
2013-04-01 17:31:13 +02:00
Simonas Kazlauskas
128f10deb8
Properly implement protocol skipping in checker
...
Network.HTTP can only check if http:// and https:// links resolve,
however there is much more scheme names than just `mail:`, `http://` and
`https://`.
They would be handed off to internal URI checker and would fail.
2013-04-01 15:10:46 +03:00
Simonas Kazlauskas
259190e30b
Refine code
...
This patch includes several smaller changes, namely:
1. We don't use result of `update` function and likely never will, so
don't bother generating it.
2. Rename watch function to better reflect what it does.
3. Never exit preview server in case of failed update.
2013-03-31 14:47:47 +03:00
Simonas Kazlauskas
bcc0ef828e
Prefer relative directories instead of absolute
...
This allows us to fully utilise shouldIgnoreFile
2013-03-30 18:39:02 +02:00
Simonas Kazlauskas
7677bb4a77
Use shouldIgnoreFile
2013-03-30 18:07:16 +02:00
Simonas Kazlauskas
fdfbf3dd34
Run server in main thread
2013-03-30 17:48:36 +02:00
Simonas Kazlauskas
42cdd649db
Migrating from polling to notification: First shot
...
Using system file notification APIs it is much more efficient than
polling files every second.
2013-03-30 16:28:23 +02:00
Jasper Van der Jeugt
bf496c2f55
We'll do it ourselves
2013-03-30 11:31:14 +01:00
Jasper Van der Jeugt
5d7e252d27
UnixFilter improvements
...
Closes #128
2013-03-30 10:58:02 +01:00
Jasper Van der Jeugt
dbffc5ef10
Check for mailto: URLs
...
Closes #127
2013-03-27 14:02:56 +01:00
Samuel Tardieu
543cba90f6
Allow overriding the deploy
command with Haskell code
...
By overriding `deploySite` with a `Configuration -> IO ()` code,
the user can execute Haskell code to deploy the site rather than
shell code.
The default behaviour honors the `deployCommand` configuration
field and is backward compatible.
2013-03-24 21:52:21 +01:00
Jasper Van der Jeugt
6c8fda2c00
Fix issue in Compiler Alternative instance
2013-03-24 19:21:33 +01:00
Jasper Van der Jeugt
cce87f08e5
Merge pull request #123 from simukis/utc-update
...
Support timezones
2013-03-16 13:52:21 -07:00
Simonas Kazlauskas
cacc7a4f18
Support timezones as well
2013-03-16 13:02:41 +02:00
Simonas Kazlauskas
0c2b429ae0
renderDateField does not exist
2013-03-16 13:01:17 +02:00
Simonas Kazlauskas
4a3aac547a
chronological
docs update
...
`chronological` now respects metadata too and uses same method as
dateField to get date for sorting.
2013-03-16 12:53:54 +02:00
Jasper Van der Jeugt
d840363bf0
Merge remote-tracking branch 'piyush-kurur/master'
...
Conflicts:
hakyll.cabal
2013-03-11 15:53:00 +01:00
Jasper Van der Jeugt
5241e87f16
Make http-conduit dependency optional
2013-03-09 17:54:08 +01:00
Jasper Van der Jeugt
9b305229be
Use resourceFilePath for copyFileCompiler
...
Closes #117
2013-03-07 18:48:11 +01:00
Piyush P Kurur
d6f6657c28
refactored the Default instance of Configuration
2013-03-07 18:04:21 +05:30
Piyush P Kurur
7fc2f677d9
fixing the coding style
2013-03-07 17:56:56 +05:30