EYHN / hexo-helper-live2d

Add the Sseexxyyy live2d to your hexo!
GNU General Public License v2.0
3.86k stars 469 forks source link

添加到主题的代码不对 #1

Closed ZenQ-Sun closed 7 years ago

ZenQ-Sun commented 7 years ago

文件是 /layout/_layout.swig 修改的代码:

            <script type="text/javascript" src="/live2d/script"></script><script type="text/javascript">live2dStart("live2dcanvas","/live2d/z16/z16.model.json");</script>
            <style>
            .live2d{
                position: fixed;
                bottom: -30px;
                right: 0px;
                z-index: 999;
                width: 150px;
                height: 300px;
                pointer-events: none
            }
            </style>
EYHN commented 7 years ago

不同的模版语言对应的调用方式不同 README只给出了ejs的调用方式