Slightly remedy indentation
This commit is contained in:
parent
6c36a53ec9
commit
831ab700b9
|
@ -14,11 +14,15 @@ thumbnailImageFilename filename = do
|
||||||
makeImageHTML :: Token (FilePath, FilePath) -> DepGenM' Text
|
makeImageHTML :: Token (FilePath, FilePath) -> DepGenM' Text
|
||||||
makeImageHTML t = do
|
makeImageHTML t = do
|
||||||
(thumbnail, actual) <- untupleDepGenM t
|
(thumbnail, actual) <- untupleDepGenM t
|
||||||
appendTexts (inject "<p><a href=\"",
|
appendTexts (
|
||||||
appendTexts (toText actual,
|
inject "<p><a href=\"",
|
||||||
appendTexts (inject "\"><img src=\"",
|
appendTexts (
|
||||||
appendTexts (toText thumbnail,
|
toText actual,
|
||||||
inject "\"></a></p>"))))
|
appendTexts (
|
||||||
|
inject "\"><img src=\"",
|
||||||
|
appendTexts (
|
||||||
|
toText thumbnail,
|
||||||
|
inject "\"></a></p>"))))
|
||||||
|
|
||||||
handleRecipeDir :: Token FilePath -> Token Template -> Token FilePath -> Token FilePath -> DepGenM ()
|
handleRecipeDir :: Token FilePath -> Token Template -> Token FilePath -> Token FilePath -> DepGenM ()
|
||||||
handleRecipeDir outputDir template indexName dir = do
|
handleRecipeDir outputDir template indexName dir = do
|
||||||
|
|
Loading…
Reference in New Issue