Skip to content

Commit

Permalink
- unify header (h2 instead of h4 in listing)
Browse files Browse the repository at this point in the history
- remove "(" and ")" from created timestamp in listing
  • Loading branch information
hannesm committed Jan 26, 2017
1 parent 5389a91 commit 59a4540
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions canopy_article.ml
Expand Up @@ -59,10 +59,10 @@ let to_tyxml_listing_entry article =
| Some abstract -> [p ~a:[a_class ["list-group-item-text abstract"]] [Unsafe.data abstract]] in
let created = ptime_to_pretty_date article.created in
let content = [
h4 ~a:[a_class ["list-group-item-heading"]] [pcdata article.title];
h2 ~a:[a_class ["list-group-item-heading"]] [pcdata article.title];
span ~a:[a_class ["author"]] [pcdata author];
pcdata " ";
pcdata "("; time [pcdata created]; pcdata ")";
time [pcdata created];
br ();
] in
a ~a:[a_href ("/" ^ article.uri); a_class ["list-group-item"]] (content ++ abstract)
Expand Down

0 comments on commit 59a4540

Please sign in to comment.