topic_head.naml

<override_macro name="topic_head" requires="classic_view_namespace">
    <n.compress.>
        <n.search_terms_js selector="h2.post-subject,div.message-text"/>
        <n.classic_js/>
        <n.if.has_small_avatar>
            <then.classic_stylesheet_small_avatar/>
            <else.classic_stylesheet_big_avatar/>
        </n.if.has_small_avatar>
    </n.compress.>

    <n.topic_title.>
        <n.hide_if_equals. value1="[n.topic_page_number/]" value2="1">
            | <t>Page <t.number.topic_page_number/></t>
        </n.hide_if_equals.>
    </n.topic_title.>
      
    <script type="text/x-mathjax-config">MathJax.Hub.Config({tex2jax:{inlineMath:[['$','$']]}});</script>
    <script type="text/javascript" async="true" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
</override_macro>