Skip to content

Commit

Permalink
put Last modified inside html footer tag
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira committed Jul 29, 2024
1 parent bb3a46c commit 3b82508
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/Juvix/Compiler/Backend/Html/Translation/FromTyped/Source.hs
Original file line number Diff line number Diff line change
Expand Up @@ -187,13 +187,15 @@ genModuleHtml o = do

formattedTime :: Sem r Html
formattedTime =
return $
Html.span . toHtml $
"Last modified on "
<> formatTime
defaultTimeLocale
"%Y-%m-%d %-H:%M %Z"
(o ^. genModuleHtmlArgsUTC)
return
. Html.footer
. Html.span
. toHtml
$ "Last modified on "
<> formatTime
defaultTimeLocale
"%Y-%m-%d %-H:%M %Z"
(o ^. genModuleHtmlArgsUTC)

justCode :: Sem r Html
justCode =
Expand Down

0 comments on commit 3b82508

Please sign in to comment.