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

Posts preview on main page. #14

Closed
kiddten opened this issue Nov 8, 2015 · 6 comments
Closed

Posts preview on main page. #14

kiddten opened this issue Nov 8, 2015 · 6 comments
Labels
Milestone

Comments

@kiddten
Copy link

kiddten commented Nov 8, 2015

There is a cool option with preview of posts when they grouped by tag.

1
Is there any way to do the same on main page?
2

Thanks in advance!

@alexandrevicenzi
Copy link
Owner

I think there's one of Pelican settings that could work (summary option). By now, I know there's a bug with this feature.

I'll try to fix this soon, but I'm to busy.

@kiddten
Copy link
Author

kiddten commented Nov 10, 2015

Thanks for reply.
Check this https://hathcock.me/.
Seems it is ok here.
@hathcock could you please share with us setting for subject of topic?

@alexandrevicenzi
Copy link
Owner

@kiddick he made a wrap at index.html. You can set {% set summarize = True %} to get it working.

See here.

@my1es
Copy link

my1es commented Nov 10, 2015

Yep, obviously the quick-n-dirty fix to get the visually pleasing main page snippets, but it works.

@alexandrevicenzi
Copy link
Owner

@hathcock and @kiddick I will add an setting for that 😘

@alexandrevicenzi
Copy link
Owner

@kiddick and @hathcock you can use SUMMARY_MAX_LENGTH pelican setting ou also summary metadata tag.

These are pelican default configs, now it just works 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants