Showing
1 changed file
with
2 additions
and
2 deletions
1 | <div class="guang-info" data-id="{{id}}"> | 1 | <div class="guang-info" data-id="{{id}}"> |
2 | {{# author}} | 2 | {{# author}} |
3 | - <a class="info-author clearfix" href={{url}}> | ||
4 | - <img class="lazy avatar" data-original={{image2 avatar mode=2 q=60}}> | 3 | + <a class="info-author clearfix"{{#if url}} href="{{url}}"{{/if}}> |
4 | + <img class="lazy avatar" data-original="{{image2 avatar mode=2 q=60}}"> | ||
5 | <span class="name">{{name}}</span> | 5 | <span class="name">{{name}}</span> |
6 | </a> | 6 | </a> |
7 | {{/ author}} | 7 | {{/ author}} |
-
Please register or login to post a comment