only show rating if present in portfolio block
This commit is contained in:
parent
dcf9940d91
commit
503bdc4e82
|
@ -36,7 +36,7 @@
|
|||
{{ end }}
|
||||
<div class="box-masonry-description">
|
||||
<p>
|
||||
<strong>{{ partial "scorelabel" . }} |</strong>
|
||||
{{ if isset .Params "score" }}<strong>{{ partial "scorelabel" . }} |</strong>{{ end }}
|
||||
{{ .Summary | truncate 150 }}
|
||||
</p>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue