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

图片不能并排显示 #99

Open
631068264 opened this issue Sep 25, 2018 · 1 comment
Open

图片不能并排显示 #99

631068264 opened this issue Sep 25, 2018 · 1 comment

Comments

@631068264
Copy link

631068264 commented Sep 25, 2018

<figure class="half">
<img src="https://ws2.sinaimg.cn/large/006tNbRwgy1fvlsmabzqtj30su0kw74v.jpg" height="300px" alt="图片说明" ><img src="https://ws1.sinaimg.cn/large/006tNbRwgy1fvlsmh6znpj30x80pcdgh.jpg" height="300px" alt="图片说明" >
</figure>

找了好久找了这个还是不行

试了下
jekyll 3.5.2 | Error: Liquid syntax error (line 11): Unknown tag 'gp'

@631068264 631068264 reopened this Oct 5, 2018
@631068264
Copy link
Author

631068264 commented Oct 5, 2018

在源码中发现 post-gallery 的样式 有相关的css和js 代码在示例中gallery-post.md是有这个效果的
就是硬是没有在html的正文撸出来,非要在头部才能用,个人觉得莫名其妙。于是自己撸了一个,不太会js css,边查边写。

完成后 n 张图一行
在md中

<span class='gp-n'>
    <img src='' />
    <img src='' />
</span>

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

No branches or pull requests

1 participant