Slightly remedy indentation

This commit is contained in:
Niels G. W. Serup 2024-09-26 23:13:28 +02:00
parent 6c36a53ec9
commit 831ab700b9
No known key found for this signature in database
GPG Key ID: 38EEEBCE67324F19
1 changed files with 9 additions and 5 deletions

View File

@ -14,10 +14,14 @@ thumbnailImageFilename filename = do
makeImageHTML :: Token (FilePath, FilePath) -> DepGenM' Text
makeImageHTML t = do
(thumbnail, actual) <- untupleDepGenM t
appendTexts (inject "<p><a href=\"",
appendTexts (toText actual,
appendTexts (inject "\"><img src=\"",
appendTexts (toText thumbnail,
appendTexts (
inject "<p><a href=\"",
appendTexts (
toText actual,
appendTexts (
inject "\"><img src=\"",
appendTexts (
toText thumbnail,
inject "\"></a></p>"))))
handleRecipeDir :: Token FilePath -> Token Template -> Token FilePath -> Token FilePath -> DepGenM ()