Skip to content

Commit

Permalink
fix: get rid of double <h1> around page titles
Browse files Browse the repository at this point in the history
  • Loading branch information
david-christiansen committed Jan 10, 2024
1 parent 9e46814 commit 45ded44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/verso-blog/Verso/Genre/Blog/Generate.lean
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ namespace Template

namespace Params
def forPart [BlogGenre g] [GenreHtml g IO] [ToHtml g IO (Part g)] (txt : Part g) : GenerateM Params := do
let titleHtml := {{ <h1> {{ ← txt.title.mapM (GenerateM.toHtml g) }} </h1>}}
let titleHtml : Html ← txt.title.mapM (GenerateM.toHtml g)
let preamble ← txt.content.mapM (GenerateM.toHtml g)
let subParts ← txt.subParts.mapM (GenerateM.toHtml g)
return ofList [
Expand Down

0 comments on commit 45ded44

Please sign in to comment.