Commit graph

1625 commits

Author SHA1 Message Date
Jasper Van der Jeugt
a37f8aedb4 Merge pull request #207 from co-dan/docpatches
More haddocks for Hakyll.Web.Template.Context
2014-01-14 07:33:44 -08:00
Daniil Frumin
52d49c4360 Haddocks for field, constField, bodyField, and titleField in Web.Template.Context 2014-01-12 23:56:49 +04:00
Jasper Van der Jeugt
1b1694d4bd Merge pull request #204 from hh-darkfox/patch-1
Updated darkfox.us.to to darkfox.id.au+SSL
2014-01-12 02:10:20 -08:00
Jasper Van der Jeugt
ab776799ba Merge pull request #206 from co-dan/docpatches
Added documentation for 'Context' and 'defaultField'
2014-01-11 15:30:50 -08:00
Daniil Frumin
cacac208ef Added documentation for 'Context' and 'defaultField' 2014-01-11 23:42:34 +04:00
Jasper Van der Jeugt
38ac6c218f Merge pull request #205 from co-dan/patch-1
Updated examples.markdown with a link to my site
2014-01-06 12:38:33 -08:00
Dan
835f80e0df Updated examples.markdown with a link to my site 2014-01-06 22:16:51 +03:00
hh-darkfox
9619c6f308 Updated darkfox.us.to to darkfox.id.au+SSL 2014-01-05 16:38:57 +11:00
Jasper Van der Jeugt
8321a2a259 Merge pull request #202 from adelbertc/fix-syntax-css
Fix issue with syntax highlighting + line nums.
2014-01-03 07:57:32 -08:00
Jasper Van der Jeugt
b7e4225e41 Merge pull request #203 from freizl/master
Add haisheng personal blog
2014-01-03 07:55:55 -08:00
Jasper Van der Jeugt
0c43160316 Version bump (4.4.3.0) 2014-01-03 16:41:54 +01:00
Jasper Van der Jeugt
b61877bdaa Fix issue with metadataRoute for composed routes 2014-01-03 16:40:15 +01:00
Jasper Van der Jeugt
55a389ee7c Add a test for metadataRoute 2014-01-03 15:56:27 +01:00
Haisheng.W.WU
90c97db043 Add haisheng personal blog 2014-01-02 19:26:49 +08:00
Adelbert Chang
22434b5a69 Fix issue with syntax highlighting + line nums.
Below is the generated HTML for with line numbers and without line numbers, respectively.

```html
<!-- Without line numbers -->
<pre class="sourceCode scala">
    <code class="sourceCode scala">
        <span class="kw">trait</span>
        Monad[M[_]]
    </code>
</pre>

<!-- With line numbers -->
<table class="sourceCode scala numberLines">
    <tr class="sourceCode">
        <td class="lineNumbers">
            <pre>1</pre>
        </td>
        <td class="sourceCode">
            <pre>
                <code class="sourceCode scala">
                    <span class="kw">trait</span>
                    Monad[M[_]]
                </code>
            </pre>
        </td>
    </tr>
</table>

```

The markdown used is:

```

~~~~ { .scala }
trait Monad[M[_]]
~~~~

~~~~ { .scala .numberLines}
trait Monad[M[_]]
~~~~

```

Notice that without line numbers the outer `pre` has a `sourceCode` class whereas with line numbers the `sourceCode` class is only put in `code` and table-related tags.

In the original `syntax.css` file synax highlighting was only triggered if the `kw` and friends tags were within a `pre.sourceCode` - that means it did not trigger with line numbers. This change removes the requirement for the `pre` prefix so that highlighting is triggered with or without line numbers, so long as the code is within *some* `.sourceCode` tag.
2014-01-01 17:22:57 -08:00
Jasper Van der Jeugt
6ba9099225 Add abizern.org to examples 2013-12-27 16:42:09 +01:00
Jasper Van der Jeugt
98ec95585b Merge pull request #201 from mihaimaruseac/patch-1
Add http://techblog.rosedu.org to Hakyll Examples
2013-12-27 07:38:39 -08:00
Mihai Maruseac
864eab3ab9 Add http://techblog.rosedu.org to Hakyll Examples
A technical blog by ROSEdu (Romanian Open Source Education) which was recently moved to Hakyll. Still WIP on some parts.
2013-12-27 09:54:45 -05:00
Jasper Van der Jeugt
0450614399 Merge pull request #200 from bitraten/patch-1
Corrected small typo in migration guide
2013-12-11 02:55:12 -08:00
bitraten
1aba59c3fb Corrected small typo in migration guide 2013-12-10 22:03:58 +01:00
Jasper Van der Jeugt
a4b10ef7c3 Version bump (4.4.2.0) 2013-12-05 12:30:10 +01:00
Jasper Van der Jeugt
98d03dfe48 Revert "Throw an error in case of duplicate compilers"
This reverts commit ffbce96607.
2013-12-05 12:27:45 +01:00
Jasper Van der Jeugt
949afd2578 Bump various versions 2013-12-05 12:27:30 +01:00
Jasper Van der Jeugt
ffbce96607 Throw an error in case of duplicate compilers 2013-11-22 13:56:17 +01:00
Jasper Van der Jeugt
5e70351a40 Merge pull request #196 from Tordek/master
Fixed unescaped dollar-signs in tutorials template.
2013-11-20 02:29:18 -08:00
Guillermo O. Freschi
b0c1f1783e Fixed README typo 2013-11-20 07:18:35 -03:00
Guillermo O. Freschi
c6050ff231 Fixed unescaped dollar-signs in tutorials template. 2013-11-20 07:11:00 -03:00
Jasper Van der Jeugt
f9a8443d68 Detect change if metadata file is deleted
Closes #191
2013-11-18 12:42:21 +01:00
Jasper Van der Jeugt
c1459daf37 Bump tagsoup
Closes #193
2013-10-19 12:03:30 +02:00
Jasper Van der Jeugt
c1d963107f Bump cryptohash dependency 2013-10-18 13:28:14 +02:00
Alexey Kreshchuk
46b6f78da8 Added test case for global metadata 2013-10-18 01:23:14 +04:00
Alexey Kreshchuk
712ffa39b5 Track metadata dependencies
I had to prepend some Rules to global Rules set. This might be possible
to replaced by a correct Store.set call.
I also had to prepend some Compile rules.
2013-10-16 01:39:04 +04:00
Alexey Kreshchuk
a6ae4eb99d Fix root directory in directory-wise metadata and beautify code 2013-10-15 03:59:16 +04:00
Alexey Kreshchuk
e71bbd90a8 Fix loadGlobalMetadata on Windows 2013-10-12 23:57:17 +04:00
Alexey Kreshchuk
e0f45b29b3 added gloabl metadata parsing 2013-10-11 02:41:27 +04:00
Jasper Van der Jeugt
7edbcd6216 Add web.engr.oregonstate.edu/~walkiner/ example 2013-10-07 19:34:14 +02:00
Jasper Van der Jeugt
808353bce4 Enable Pandoc highlighting by default 2013-09-29 17:52:58 +02:00
Jasper Van der Jeugt
364aa7bedc contribution 2013-09-29 15:53:46 +02:00
Jasper Van der Jeugt
cd5c78c4d6 Bump version (4.4.0.0), update changelog 2013-09-29 15:09:45 +02:00
Jasper Van der Jeugt
4948b56452 Merge remote-tracking branch 'piyush-kurur/master'
Conflicts:
	web/examples.markdown
2013-09-29 14:51:50 +02:00
Piyush P Kurur
48c579fd24 added piyush's homepage to examples 2013-09-28 10:15:28 +05:30
Jasper Van der Jeugt
5e2ec54b1b Add dikmax.name to examples 2013-09-26 01:00:33 +02:00
Jasper Van der Jeugt
72c91dd1c1 Restrict pandoc version a bit more 2013-09-18 22:42:28 +02:00
Jorge Israel Peña
a590a9a57f updated to work with pandoc 1.12
Pandoc 1.12 decouples citeproc-hs from itself, so there is no longer a
Text.Pandoc.Biblio module in Pandoc. Further, citeproc-hs depends on
pandoc-types 1.10 but Pandoc 1.12 depends on pandoc-types 1.12. To
alleviate these issues, pandoc-citeproc was created which includes a
copy of the citeproc-hs source made to be compatible, since the
developer of citeproc-hs is apparently MIA.

pandoc-citeproc is a separate module that handles the mixture of
citeproc-hs and Pandoc. It includes `processCites` in Text.CSL.Pandoc,
which is the new name of what used to be `processBiblio` from
Text.Pandoc.Biblio

Most of these changes are seamless, consisting of simple name changes in
both functions and modules. However, a more direct change in the
Hakyll API itself is that `readPandocBiblio`'s second parameter, the
CSL, is now mandatory, i.e. not of type Maybe. This is to reflect the
same change in the underlying processing function from Text.CSL.Pandoc,
`processCites`, where the Style argument is now mandatory, and the style
is derived from the CSL.

See the old function:

    processBiblio :: Maybe Style -> [Reference] -> Pandoc -> Pandoc

Compared to the new one:

    processCites :: Style -> [Reference] -> Pandoc -> Pandoc

Sources:

* http://hackage.haskell.org/packages/archive/pandoc/1.11.1/doc/html/Text-Pandoc-Biblio.html
* http://hackage.haskell.org/packages/archive/pandoc-citeproc/0.1/doc/html/Text-CSL-Pandoc.html

Similarly, there is no longer a `readerReferences` field in the reader
options structure.
2013-09-18 22:38:54 +02:00
Jasper Van der Jeugt
36f9a9cfeb Merge pull request #181 from clinty/cryptohash0.10
Build with cryptohash 0.10.
2013-09-17 00:09:00 -07:00
Jasper Van der Jeugt
160e7501d6 Merge pull request #180 from clinty/quickcheck2.6
Work with QuickCheck 2.6
2013-09-17 00:08:29 -07:00
Clint Adams
1d67ba5b63 Build with cryptohash 0.10. 2013-09-16 23:34:58 -04:00
Clint Adams
b609472488 Work with QuickCheck 2.6 2013-09-16 23:33:37 -04:00
Jasper Van der Jeugt
e9ec407ba9 Merge pull request #179 from saeidw/windows-site-root
Fix incorrect output of toSiteRoot on Windows.
2013-09-16 13:02:54 -07:00
Saeid Al-Wazzan
a796988a16 Fix incorrect output of toSiteRoot on Windows.
toSiteRoot uses splitPath, joinPath, and takeDirectory from the
System.FilePath module. On Windows systems, the implementation of
joinPath will build up a path using the Windows path separator "\\".

We don't want this behavior since the paths we are working with
are always URLs, so we force POSIX behavior for System.FilePath.
2013-09-16 01:17:38 +03:00