- modify
/partials/disqus.hbs
disqus_shortname = ''
content for your disqus ID - mv
resource/mdlutils.js
resource/tags.js
to Ghost path/core/server/helpers
. - In the admin panel / code-injection / Blog Footer code , Don't repeat loading
jQuery
example:
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
- change your footer link
/partials/footer.hbs
2015-10-18:
Content Image (.entry-content img) : width:100%;height:auto; (图片不再飘出去了)
Fix Googleapis CDN (css.net)
Fix Disqus comment
- 修改
/partials/disqus.hbs
文件的disqus_shortname = ''
引号内,内容为 你的disqus ID. - 移动文件
resource/mdlutils.js
resource/tags.js
到 Ghost博客目录/core/server/helpers
目录内. - 后台管理员面板->菜单code-injection -> Blog Footer 请勿重复加载
jQuery
example:
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
- 改变默认的footer链接内容,文件在
/partials/footer.hbs
- 移除 Disqus留言板 请打开
post.hbs
文件,移除 行57
,与 行50
到52
(ID为comments的div移除) 即可
For customization, basic knowledge of the command line and the following dependencies are required to use MDL:
- MDL (http://www.getmdl.io/)
- Node (http://nodejs.org/)
- Gulp (http://gulpjs.com/)
- Bower (http://bower.io/)
- MDLWP (https://github.com/braginteractive/MDLWP/) Baesed