fix original publication year
This commit is contained in:
parent
2750ca91ef
commit
b2dcf3dfd9
1 changed files with 15 additions and 7 deletions
|
@ -23,8 +23,10 @@
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p class="year">{{- index . "Year Published" -}}
|
<p class="year">{{- index . "Year Published" -}}
|
||||||
{{- if ( and ( ne ( index . "Original Publication Year" ) "" ) ( ne ( index . "Original Publication Year" ) ( index . "Year Published" ) ) ( ne ( index . "Original Publication Year" ) nil ) ) -}}
|
{{- if ( index . "Original Publication Year" ) -}}
|
||||||
<span class="year--original">(orig. {{ index . "Original Publication Year" }})</span>
|
{{- if ( ne ( index . "Original Publication Year" ) ( index . "Year Published" ) ) -}}
|
||||||
|
<span class="year--original">(<abbr title="original publication year">orig.</abbr> {{ index . "Original Publication Year" }})</span>
|
||||||
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
@ -62,8 +64,10 @@
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p class="year">{{- index . "Year Published" -}}
|
<p class="year">{{- index . "Year Published" -}}
|
||||||
{{- if ( and ( ne ( index . "Original Publication Year" ) "" ) ( ne ( index . "Original Publication Year" ) ( index . "Year Published" ) ) ) -}}
|
{{- if ( index . "Original Publication Year" ) -}}
|
||||||
<span class="year--original">(orig. {{ index . "Original Publication Year" }})</span>
|
{{- if ( ne ( index . "Original Publication Year" ) ( index . "Year Published" ) ) -}}
|
||||||
|
<span class="year--original">(<abbr title="original publication year">orig.</abbr> {{ index . "Original Publication Year" }})</span>
|
||||||
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
@ -106,8 +110,10 @@
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p class="year">{{- index . "Year Published" -}}
|
<p class="year">{{- index . "Year Published" -}}
|
||||||
{{- if ( and ( ne ( index . "Original Publication Year" ) "" ) ( ne ( index . "Original Publication Year" ) ( index . "Year Published" ) ) ) -}}
|
{{- if ( index . "Original Publication Year" ) -}}
|
||||||
<span class="year--original">(orig. {{ index . "Original Publication Year" }})</span>
|
{{- if ( ne ( index . "Original Publication Year" ) ( index . "Year Published" ) ) -}}
|
||||||
|
<span class="year--original">(<abbr title="original publication year">orig.</abbr> {{ index . "Original Publication Year" }})</span>
|
||||||
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
@ -149,7 +155,9 @@
|
||||||
<td>
|
<td>
|
||||||
<p class="year">{{- index . "Year Published" -}}
|
<p class="year">{{- index . "Year Published" -}}
|
||||||
{{- if ( index . "Original Publication Year" ) -}}
|
{{- if ( index . "Original Publication Year" ) -}}
|
||||||
<span class="year--original">(orig. {{ index . "Orginal Publication Year" }})</span>
|
{{- if ( ne ( index . "Original Publication Year" ) ( index . "Year Published" ) ) -}}
|
||||||
|
<span class="year--original">(<abbr title="original publication year">orig.</abbr> {{ index . "Original Publication Year" }})</span>
|
||||||
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</td>
|
</td>
|
||||||
<td>n/a</td>
|
<td>n/a</td>
|
||||||
|
|
Loading…
Reference in a new issue