theme: default: support overriding itte page path per-post
This commit is contained in:
parent
1ddd586694
commit
ae525c3a07
|
@ -10,7 +10,7 @@
|
||||||
{{{ content }}}
|
{{{ content }}}
|
||||||
{{ #unless theme_config.no_itte }}
|
{{ #unless theme_config.no_itte }}
|
||||||
{{ #if blog.theme_config.itte_url }}
|
{{ #if blog.theme_config.itte_url }}
|
||||||
<section id="itte-thread" data-path="{{ page.base_url }}{{ page.pathname }}">
|
<section id="itte-thread" data-path="{{ #unless theme_config.itte_page_path }}{{ page.base_url }}{{ page.pathname }}{{ else }}{{ theme_config.itte_page_path }}{{ /unless }}">
|
||||||
</section>
|
</section>
|
||||||
<script src="{{ blog.theme_config.itte_url }}/itte.js"></script>
|
<script src="{{ blog.theme_config.itte_url }}/itte.js"></script>
|
||||||
{{ /if }}
|
{{ /if }}
|
||||||
|
|
Loading…
Reference in a new issue