Created
June 23, 2018 13:35
-
-
Save fengkx/3e3d1fa7ead31d92228716f9e6ea7c91 to your computer and use it in GitHub Desktop.
Valine Next主题 themes/next/layout/_partials/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if page.comments %} | |
<div class="comments" id="comments"> | |
{% if (theme.duoshuo and theme.duoshuo.shortname) or theme.duoshuo_shortname %} | |
<div class="ds-thread" data-thread-key="{{ page.path }}" | |
data-title="{{ page.title }}" data-url="{{ page.permalink }}"> | |
</div> | |
{% elseif theme.facebook_sdk.enable and theme.facebook_comments_plugin.enable %} | |
<div class="fb-comments" | |
data-href="{{ page.permalink }}" | |
data-numposts="{{ theme.facebook_comments_plugin.num_of_posts }}" | |
data-width="{{ theme.facebook_comments_plugin.width }}" | |
data-colorscheme="{{ theme.facebook_comments_plugin.scheme }}"> | |
</div> | |
{% elseif theme.vkontakte_api.enable and theme.vkontakte_api.comments %} | |
<div id="vk_comments"></div> | |
{% elseif theme.disqus.enable %} | |
<div id="disqus_thread"> | |
<noscript> | |
Please enable JavaScript to view the | |
<a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a> | |
</noscript> | |
</div> | |
{% elseif theme.hypercomments_id %} | |
<div id="hypercomments_widget"></div> | |
{% elseif theme.youyan_uid %} | |
<div id="uyan_frame"></div> | |
{% elseif theme.livere_uid %} | |
<div id="lv-container" data-id="city" data-uid="{{ theme.livere_uid }}"></div> | |
{% elseif theme.changyan.appid and theme.changyan.appkey %} | |
<div id="SOHUCS"></div> | |
{% elseif theme.valine.enable and theme.valine.appid and theme.valine.appkey %} | |
<div id="valine_comment"></div> | |
{% endif %} | |
</div> | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment