Template fix when journal missing information.

Strange fact: hakyll templates don't report missing fields sometimes,
under conditionals?
This commit is contained in:
Justin Hsu 2016-10-13 22:43:58 -04:00
parent 59cc6b58ab
commit e029a113f3
1 changed files with 5 additions and 1 deletions

View File

@ -8,7 +8,11 @@
In $booktitle$.</br> In $booktitle$.</br>
$endif$ $endif$
$if(journal)$ $if(journal)$
$journal$, $volume$($number$):$pages$, $month$ $year$.</br> $journal$,
$if(pages)$
$volume$($number$):$pages$,
$endif$
$month$ $year$.</br>
$endif$ $endif$
$if(url)$ $if(url)$
[<a href="$url$">Paper</a>] [<a href="$url$">Paper</a>]