Kenneth Teng
Kenneth Teng
I am using PhotoSwipe in my [hexo theme](https://github.com/denjones/hexo-theme-chan) with or without predefined dimension for photos. Here is my approach: ``` js // Pass data to PhotoSwipe and initialize it gallery...
@a-komarev maybe you should reference an existing img element rather then creating one dynamically.
@TwentyOneSolutions It does work for me in my case. check this sample http://blog.sprabbit.com/hexo-theme-chan/2013/12/26/images/
This file is reused from the default theme landscape. This ERRORs won't appear in my environment. What is your environment? And also try building with landscape theme.
没错,本主题最求简洁扁平,只支持一级分类,需要归档到多个目录建议使用 tags
1. 阅读全文,在文章中插入标签 `` 2. 归档显示默认文章列表样式,如需修改,请自行修改源码
感觉应该去看hexo的插件写法 https://hexo.io/docs/plugins https://hexo.io/plugins/
duplicated with #4 更像是 stylus 版本不对导致的,请检查 article-padding 是否定义,stylus 是否支持乘 -1 操作。这个文件是来自默认主题landscape,如果 landscape 也 build 不了就不是主题代码问题。
那可能是找不到这些参数的定义,请检查下 variables.styl 文件
Thanks. 我抽空修复下