twiddle markup a bit
This commit is contained in:
parent
f61e9916fb
commit
d037e75f34
1 changed files with 7 additions and 5 deletions
|
@ -38,18 +38,20 @@ make' includeNsfw (Info {date, title, tags, nsfwTags,
|
||||||
buttonBar title' includeNsfw images <>
|
buttonBar title' includeNsfw images <>
|
||||||
"</header>\n\n" <>
|
"</header>\n\n" <>
|
||||||
"<main>\n" <>
|
"<main>\n" <>
|
||||||
" <img id=it src=\"" <> path0 <> "\">\n" <>
|
" <img id=it src=\"" <> path0 <> "\">\n\n" <>
|
||||||
ifJust description (\d ->
|
ifJust description (\d ->
|
||||||
" <div class=desc>\n" <>
|
" <div class=desc>\n" <>
|
||||||
" <h2>description</h2>\n" <>
|
" <h2>description</h2>\n" <>
|
||||||
indent 4 d <>
|
indent 4 d <>
|
||||||
" </div>\n") <>
|
" </div>\n") <> "\n" <>
|
||||||
makeTags includeNsfw tags nsfwTags <>
|
makeTags includeNsfw tags nsfwTags <>
|
||||||
extLinks includeNsfw links <>
|
extLinks includeNsfw links <>
|
||||||
"</main>\n\n" <>
|
"</main>\n\n" <>
|
||||||
"<nav class=back>\n" <>
|
"<footer>\n" <>
|
||||||
" <a href=../>back to gallery</a>\n" <>
|
" <nav class=back>\n" <>
|
||||||
"</nav>\n"
|
" <a href=../>back to gallery</a>\n" <>
|
||||||
|
" </nav>\n" <>
|
||||||
|
"</footer>\n"
|
||||||
where
|
where
|
||||||
path0' = let Image {path} = head images in path
|
path0' = let Image {path} = head images in path
|
||||||
path0 = fromText path0'
|
path0 = fromText path0'
|
||||||
|
|
Loading…
Reference in a new issue