Typo fixes by simon meier
This commit is contained in:
parent
b930d3b52b
commit
d016106572
1 changed files with 6 additions and 6 deletions
|
@ -10,7 +10,7 @@ anyone still care about a static website?
|
||||||
|
|
||||||
- Static websites are fast, because it's simply files served directly from the
|
- Static websites are fast, because it's simply files served directly from the
|
||||||
hard disk.
|
hard disk.
|
||||||
- Static websites are secure. Nobody has even found an SQL injection in static
|
- Static websites are secure. Nobody has ever found an SQL injection in static
|
||||||
pages.
|
pages.
|
||||||
- Static websites are easy to deploy. Just copy them to your webhost using
|
- Static websites are easy to deploy. Just copy them to your webhost using
|
||||||
(S)FTP/rsync/scp and you are done. They work on all webhosts: no CGI or extra
|
(S)FTP/rsync/scp and you are done. They work on all webhosts: no CGI or extra
|
||||||
|
@ -128,11 +128,11 @@ route "css/*" idRoute
|
||||||
~~~~~
|
~~~~~
|
||||||
|
|
||||||
Apart from specifying where the items should go (using `route`), we also have to
|
Apart from specifying where the items should go (using `route`), we also have to
|
||||||
specify *how* the need to be compiled. This is done using the `compile`
|
specify *how* they need to be compiled. This is done using the `compile`
|
||||||
function. As second argument, it takes a `Compiler`. These compilers can consist
|
function. It takes a `Compiler` as its second argument. These compilers can
|
||||||
of very complicated constructions, but Hakyll also provides a number of good
|
consist of very complicated constructions, but Hakyll also provides a number of
|
||||||
default compilers. The `compressCssCompiler` compiler will simply compress the
|
good default compilers. The `compressCssCompiler` compiler will simply compress
|
||||||
CSS found in the files.
|
the CSS found in the files.
|
||||||
|
|
||||||
~~~~~{.haskell}
|
~~~~~{.haskell}
|
||||||
compile "css/*" compressCssCompiler
|
compile "css/*" compressCssCompiler
|
||||||
|
|
Loading…
Reference in a new issue