UW-Madison-DSI / uw-jekyll-theme

A UW theme for Jekyll based academic websites with the functionality of al-folio
https://uw-madison-dsi.github.io/uw-jekyll-theme/
MIT License
1 stars 2 forks source link

includes / liquid tags for hero image #9

Closed cranmer closed 5 months ago

cranmer commented 1 year ago

Add include and liquid tags so one can include a hero image into a page. Maybe add a specialized page type in the _layouts director where the hero image is specified in the header of the the markdown similar to how the about page type can specify an image and address for a person's profile

image
amegahed commented 5 months ago

I added an option to include a hero image to the default page template. For example:


layout: about title: about hero: assets/images/hero-1550x370.jpg

home

cranmer commented 5 months ago

Nice! Thanks

On May 29, 2024, at 10:38 AM, Abe Megahed @.***> wrote:



Here's an example: home.png (view on web)https://github.com/UW-Madison-DSI/uw-jekyll-theme/assets/8449604/da35e06d-9328-44aa-b4b1-85ea67080eed

— Reply to this email directly, view it on GitHubhttps://github.com/UW-Madison-DSI/uw-jekyll-theme/issues/9#issuecomment-2137715314, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABCATCT46NQ5WZNQERRE55TZEXY7FAVCNFSM6AAAAAA3BRRYOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZXG4YTKMZRGQ. You are receiving this because you authored the thread.Message ID: @.***>