Showing
1 changed file
with
3 additions
and
3 deletions
@@ -9,9 +9,9 @@ | @@ -9,9 +9,9 @@ | ||
9 | <div class="suggest-content" id="suggest-content"> | 9 | <div class="suggest-content" id="suggest-content"> |
10 | {{# suggestContent}} | 10 | {{# suggestContent}} |
11 | <div class="suggest-item" data-id="{{suggest_id}}"> | 11 | <div class="suggest-item" data-id="{{suggest_id}}"> |
12 | - {{# imgUrl}} | ||
13 | - <img class="lazy" data-original="{{.}}" alt=""/> | ||
14 | - {{/ imgUrl}} | 12 | + {{#if imgUrl}} |
13 | + <img class="lazy" data-original="{{imgUrl}}" alt=""/> | ||
14 | + {{/if}} | ||
15 | <h2>{{title}}</h2> | 15 | <h2>{{title}}</h2> |
16 | <p>{{content}}</p> | 16 | <p>{{content}}</p> |
17 | 17 |
-
Please register or login to post a comment