summaryrefslogtreecommitdiff
path: root/layouts/partials/cover.html
AgeCommit message (Collapse)Author
2022-03-27Use `site` function instead of `.Site` or `$.Site`Aditya Telange
- The site function provides global access to the same data as the .Site page method. - Current context (`.`) is never considered.
2022-01-13Remove `.Page` method being usedAditya Telange
reference: https://github.com/gohugoio/hugo/releases/tag/v0.92.0
2021-10-22Add webp to processable formats (#540)Daniel F. Dickinson
* Add webp format only if using Hugo extended This keeps PaperMod from having a hard dependency on Hugo extended.
2021-09-02Allow emabling/disabling responsiveImages per page #518Aditya Telange
2021-08-22Add width and height attributes to cover images (#519)Ian GrĂ¼nig
- Ensures that the browser can allocate the correct amount of space in the document while the image is loading. - Reduces CLS #499
2021-03-30Fix Spacing in overall repoAditya Telange
2021-03-27add browser-level lazy loading to cover imagesAditya Telange
amend to c353447
2020-12-29cover: granular controls for hiding cover image #156Aditya Telange
in site config => params: cover: hidden: true # hide everywhere but not in structured data hiddenInList: true # hide on list pages and home hiddenInSingle: true # hide on single page per-page in front-matter => hidden: true # only hide on current single page
2020-12-13layouts: use hugo.IsProductionAditya Telange
2020-11-29cover: responsive cover: rm forced q100Aditya Telange
- lets quality attribute in imaging section - https://gohugo.io/content-management/image-processing/#image-processing-config close #92
2020-11-18cover: add rel="noopener noreferrer"Aditya Telange
to links
2020-10-23cover: responsive cover: generate responsive images only in "production" envAditya Telange
- will reduce render time in development env
2020-10-22relative-cover: init Responsive cover images (#43)Niek Blankers
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com> - generates images of different sizes - browser can choose between set of images w.r.t viewport width - is enabled by default - supported image formats : https://gohugo.io/content-management/image-processing/#target-format - Customizing site config params: params: cover: responsiveImages: false # if want to disable it linkFullImages: true # if link original image on clicking cover