我添加了一个插件出口,使其更加容易:
如果您将类似这样的内容添加到主题组件的 Head 部分,您会看到它添加了视图。您可以根据需要添加其他 HTML,然后进行样式设置 ![]()
<script type="text/x-handlebars" data-template-name="/connectors/above-latest-topic-list-item-post-count/views-count">
{{topic.views}} views
</script>
我添加了一个插件出口,使其更加容易:
如果您将类似这样的内容添加到主题组件的 Head 部分,您会看到它添加了视图。您可以根据需要添加其他 HTML,然后进行样式设置 ![]()
<script type="text/x-handlebars" data-template-name="/connectors/above-latest-topic-list-item-post-count/views-count">
{{topic.views}} views
</script>