Skip to content

Commit

Permalink
Merge pull request #40 from texastribune/byline
Browse files Browse the repository at this point in the history
Add a better byline example
  • Loading branch information
ashley-hebler committed Jul 17, 2019
2 parents 9ae7090 + 0c4de06 commit e3a2a7d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion assets/scss/5-typography/_byline.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// Used for attribution of content. Does not include size, which in theory varies by context.
//
// Markup: <span class="t-byline"><span class="byline__item">By Bob Buttons</span></span>
// Markup: 5-typography/byline.html
//
//
// Styleguide 5.3.5
Expand Down
5 changes: 5 additions & 0 deletions assets/scss/5-typography/byline.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<p class="t-byline t-linkstyle t-size-xs has-text-gray">
<span class="t-byline__item">by <a href="/about/staff/patrick-svitek/">Patrick Svitek</a></span>
<time class="t-byline__item" datetime="2019-07-16 14:54:39.929-0400">July 16, 2019</time>
<time class="t-byline__item">16 hours ago</time>
</p>

0 comments on commit e3a2a7d

Please sign in to comment.