Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

一些优化 #39

Merged
merged 8 commits into from
Dec 29, 2014
Merged

一些优化 #39

merged 8 commits into from
Dec 29, 2014

Conversation

myqianlan
Copy link
Contributor

1.添加返回顶部模块
2.修改渲染方式,现在默认page布局下仅渲染 .md 文件格式,其他格式一律只做复制。(方便添加静态页面,原本需要在每个文件开头添加 layout: false
3.添加mathjax的模块开关,不需要的可以自己关闭。(因为加载略耗时间)

@xiangming
Copy link
Owner

@myqianlan 我最近公司有点忙,等我有空本地测试后merge。谢谢你的分享~

@@ -0,0 +1,3 @@
<div id="totop">
<a title="<%= __('totop')%>"><img src="/img/scrollup.png"/></a>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 这里的图片路径不正确
  • 增加一下totop的简体和繁体翻译

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.返回顶部的图片我加进去了,只不过要在高度为1000px的时候才显示

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我本地测试的时候,图片挂掉了,需要设置路径为./img/scrollup.png
感谢回复如此之快~

xiangming added a commit that referenced this pull request Dec 29, 2014
@xiangming xiangming merged commit b2178bf into xiangming:master Dec 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants