Pelican-Elegant / elegant

Best theme for Pelican Static Blog Generator
https://elegant.oncrashreboot.com/
MIT License
295 stars 187 forks source link

[Help] Article miniature #550

Open iranzo opened 4 years ago

iranzo commented 4 years ago

Mandatory Step

I need help with

According to https://elegant.oncrashreboot.com/search-engine-and-social-media-optimization, I can add featured_Image: to my yaml preamble and see the header for og:image defined, but I was somehow using that image also on the blog listing.

For example, let's say that I've an article about a gallery of pictures, I would like to be able to define there the first image in the gallery (even if manually) and have that shown in the article listing on frontpage or even search results

Is that a bad assumption and a feature request should be raised instead?

talha131 commented 4 years ago

@iranzo I am somewhat confused.

and have that shown in the article listing on frontpage or even search results

If I understand correctly, you want the image to appear in the list of articles on the front page. I mean this place

If so then we are talking about a major change in the look and feel of the theme. We can add it as an optional feature but it would require more than few changes in the "Recent Posts" section.

iranzo commented 4 years ago

Yup, exactly, similar to the author blurb which contains image, but for featured_image or something like that on articles.

Would that make sense? (of course as optional)

talha131 commented 4 years ago

Yup, exactly, similar to the author blurb which contains image, but for featured_image or something like that on articles.

We show the author's image in the article. If you want to show the image in the article list then

  1. It will have to be optional
  2. Small size images so that theme stays "minimum"

PR is welcomed.

iranzo commented 4 years ago

The image was proposed to the article list (as we already have the author one)

talha131 commented 4 years ago

yeah, I understand. You want to show images here.

iranzo commented 4 years ago

There, and on search results and probably might make sense with a smaller image on the archives, etc