-
Notifications
You must be signed in to change notification settings - Fork 2k
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
How do I do this? make featured image; image thumbnails in /archive; page without sidebar #230
Comments
About the second read here, it is somewhat but still able to work. About first maybe you should use And the third, I read templates and seems NexT has no config about this, you can add a |
I hope this page would be helpful for you. |
Hi, I can confirm that putting in the post frontmatter "layout:photo" allows the photos to show up in the "archive" page. (And yes, this feature can only be found in source code: https://github.com/theme-next/hexo-theme-next/blob/cc07c43d002a13df9976c31813f774908fcd0d40/layout/_macro/post.swig) I am slowly learning swig, thank you! |
Superseded by #1253 Fixed in next-theme/hexo-theme-next@7b91f8e |
I am trying to replicate some behavior in the demo site,
http://notes.iissnan.com/archives/
specifically, creating what seem to be a "featured image" and also a "gallery" on the archives page.
However, I do not know how to do so.
I agree and want to create new issue
Expected behavior
Actual behavior
No photos appear in timeline
Additionally, I have no idea how to make a "featured image". I tried adding to the frontmatter
However, this did not do anything.
Steps to reproduce the behavior
Go to
http://localhost:4000/my-site/archives/
-- no images appearNexT Scheme:
Next Theme v 6.1.0
What I really want to do, is to have a single "featured image" show up both on the index page and on the archives (timeline) pages. That is, a combination of being able to set a featured image in a post (maybe in the frontmatter), and have it show up in the archive with a picture thumbnail.
Is this possible?
I would also like to make a page without a sidebar. I am hopingI can make a
my-site/themes/next/layout/nosidebar.swig
file and then put in the frontmatter of a new pagemy-site/source/index/index.md' the yaml
type: "nosidebar"` . I will try this tomorrow.Thank you very much for the beautiful theme.
The text was updated successfully, but these errors were encountered: