Open BrentHuang opened 2 months ago
Seems to me one is for the main page, the other for the about page. The blocks/cover shortcode that is used on both pages automatically uses the featured-background.jpg image from the local folder, so if you want to use a background image (instead of solid color) on those pages you need two. That the two images are identical is just coincidence, they could be different.
On Thu, Sep 5, 2024 at 9:01 AM BrentHuang @.***> wrote:
Why are there two identical featured-background.jpg files in the demo, can't you just put one?
— Reply to this email directly, view it on GitHub https://github.com/google/docsy/issues/2075, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6AU3PM5C3M2Y4533GCIPLZU76VJAVCNFSM6AAAAABNVZURHSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYDMOJUGE3TAMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thank you for your reply. In my project, the main page and about page have the same background image, so it's a bit of a waste to copy both files. Is there a way to put only one file somewhere and both main page and about page refer to this file? Can you specify an image url on pixabay by image_src in block/cover shortcode, just like the image_anchor attribute?
Why are there two identical featured-background.jpg files in the demo, can't you just put one?