template parse error ,some tags not work
-
I don't hnow what I did,my website's login page and topic page some template var parse not right,in login page,the
allowRegistration
:</div> </div> <input type="hidden" name="_csrf" value="iE27lmx8-xIoxZCe-Fij7Gq_nWPMeSerkRTo" id="csrf-token" /> allowRegistration --> <span>没有帐号? <a href="/register">注册</a></span> <!-- </form>
topic page ,
tags.length
:<div class="topic-main-buttons pull-right inline-block"> <div class="loading-indicator" done="0" style="display:none;"> <span class="hidden-xs-inline">正在加载更多帖子</span> <i class="fa fa-refresh fa-spin"></i> </div> tags.length --> <span>|</span> <!--posts.display_move_tools --> <button class="btn btn-sm btn-default move" type="button" title="移动"><i class="fa fa-arrows"></i></button> <!-- <a href="/login?next=topic/27/昨晚梦见玩玩网游" class="btn btn-primary">回复</a> !loggedIn --> <a href="/login?next=topic/27/昨晚梦见玩玩网游" class="btn btn-primary">回复</a> <!-- </ul> </div></div> <div style="clear:both;"></div>
-
Seems an issue with the latest git pull. I have the same issue.
Post about it is here: https://community.nodebb.org/topic/2247/sorting-topics-by-newest-to-oldest-doesn-t-change-data-index/5
Perhaps when @baris recovers from his hangover, he'll work out what changed.
-
Try with an earlier version of templates.js and see if it still happens.
npm install [email protected]
ornpm install [email protected]
-
I try [email protected], it work,error not happen, thank you
Copyright © 2024 NodeBB | Contributors