-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
[BUG] lightgallery not work on homepage #1381
Comments
solution 1:
Lines 586 to 590 in 324b48d
solution 2:
DoIt/layouts/_default/summary.html Line 74 in 324b48d
|
I think that's expected? The images on the homepage serve as hyperlinks to the articles, so adding light gallery there will conflict with the link. |
That image is not a featured image, it is the only image on the page. It links to image self not to the article. |
Ah I misunderstood you. Sounds like another feature creep into the summary #1368 |
People disagree on this for a long time, some think summary should not have any styles at all, some others want their articles to be fully rendered in the summary. I think this is again one of these cases and I don't have a good opinion here. |
The current state is "The basic markdown stuff works", so headings, lists and tables will be rendered with the right style, but anything involving fancy JavaScripts probably does not work. |
Describe the bug 描述你遇到的错误
If the summary contains an image that is unable browse use lightgallery.
Expected behavior 期待的行为
No response
Screenshots 屏幕截图
Build Environment 构建环境
hugo: v0.137.0
Preview Environment 预览环境
No response
Additional Information 补充信息
No response
The text was updated successfully, but these errors were encountered: