基于我的上一篇博客:http://blog.csdn.net/u014427391/article/details/53670744
的基础,本博客,介绍hexo博客主题更换和上传自己写的博客,使用markdown进行博客编辑。
准备,我们需要先从hexo官网下载自己喜欢的主题,这里下载yelee的主题,下载好了之后,我们将主题放在myblog,注意看我的上一篇博客
修改_config.yml
![这里写图片描述](https://img-blog.csdn.net/20161215155435376?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdTAxNDQyNzM5MQ==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
同样使用命令输入
更新博客信息
hexo g
重新部署博客:
hexo d
上传博客的同样,
用markdown写好博客之后,将文件放在source的_posts文件里
同样是hexo g 和hexo d操作就可以,本博客只是对上一篇博客的补充,详细的看我上一篇博客
<script type="text/javascript"> $(function () { $('pre.prettyprint code').each(function () { var lines = $(this).text().split('\n').length; var $numbering = $('<ul/>').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i <= lines; i++) { $numbering.append($('<li/>').text(i)); }; $numbering.fadeIn(1700); }); }); </script>