material-design-lite-for-ghost
material-design-lite-for-ghost copied to clipboard
A material design lite Ghost blog theme
Material design lite Ghost blog theme
Install
- modify
/partials/disqus.hbsdisqus_shortname = ''content for your disqus ID - mv
resource/mdlutils.jsresource/tags.jsto Ghost path/core/server/helpers. - In the admin panel / code-injection / Blog Footer code , Don't repeat loading
jQueryexample:
<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
Pic

Fix
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.jsresource/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 the Nerds
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