Skip to content

Commit

Permalink
Deduplicate Jekyll titles. (#53)
Browse files Browse the repository at this point in the history
In the future, it may be nice to move the TOC to the RHS, which would remove the need for the injected title. For now, this seems like the quick-and-simple fix.
  • Loading branch information
jonmeow authored Jun 4, 2020
1 parent ec63332 commit 7c6b190
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/jekyll/theme/css/customstyles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1198,3 +1198,11 @@ h4.panel-title {
display:block !important;
}
}

/** Hide the title because it's repeated above the TOC. */
h1.post-title-main {
display: block;
}
h1 {
display: none;
}

0 comments on commit 7c6b190

Please sign in to comment.