Skip to content

Commit

Permalink
citation.Google_Books_URL, closes: Fix Google Books URL bug in mixins…
Browse files Browse the repository at this point in the history
….pug #4
  • Loading branch information
ballaneypranav committed Aug 19, 2020
1 parent 60872d1 commit 77ab1f4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions {{cookiecutter.github_repository}}/src/templates/mixins.pug
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ mixin citation_book(citation, count)
cite= citation.title
p
span.details= citation.publisher
if citation.Google_Books_URL != ""
if citation.Google_Books_URL && citation.Google_Books_URL != ""
a.in-text(href=citation.Google_Books_URL target="_blank" rel="noopener") Google Books
a.in-text(href="#intext" + counter) Back to text
a.in-text(href="#intext" + counter) Back to text

// # TODO: #6 Fix table caption font
// # TODO: #7 Fix citations links font size

0 comments on commit 77ab1f4

Please sign in to comment.