shenliyang / hexo-theme-snippet

Snippet 简洁而不简单,也许是一款你寻找已久的hexo主题
https://snippet.shenliyang.com/
MIT License
1.09k stars 208 forks source link

建议添加双语功能 #118

Closed ackurdeeve closed 5 years ago

ackurdeeve commented 5 years ago

https://upwnothing.github.io/2018/09/13/Hexo-Bilingual-Blog/

ackurdeeve commented 5 years ago
<script>
    function googleTranslateElementInit() {
        new google.translate.TranslateElement({
            pageLanguage : 'en',
            autoDisplay : false,
            gaTrack : true,
            layout : google.translate.TranslateElement.InlineLayout.SIMPLE
        }, 'google_translate_element');
    }
</script>
<script
    src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
Index
<br>

作者:iteye_16738 来源:CSDN 原文:https://blog.csdn.net/iteye_16738/article/details/82236885 版权声明:本文为博主原创文章,转载请附上博文链接!

EscapeLife commented 5 years ago

Feeling unnecessary 😝

ackurdeeve commented 5 years ago

Feeling unnecessary 😝

看了您的博客界面,很受启发。想问问您的留言功能是怎么处理的?我也很想有您的那个留言系统 谢谢

EscapeLife commented 5 years ago

@ackurdeeve Comes with the hexo-theme-snippet template.

https://github.com/shenliyang/hexo-theme-snippet#1-%E4%B8%BB%E9%A2%98%E9%85%8D%E7%BD%AE

### 来必力(默认选项)
livere:
  enable: true
  livere_uid: