Skip to content

Latest commit

History

163 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

sbomify.com

sbomify.com marketing site

Webp Converter

All .jpg, .jpeg and .png files are converted to .webp and saved under _site/img during the build. Original files are preserved.

To use the .webp versions, use the below tag when using markdown:

{% picture /assets/images/blog/sample.jpg alt="alt text" class="image-class" %}

To use .webp in plain html, use the below markup:

<picture><sourcesrcset="/img/sample.webp" type="image/webp"><imgsrc="/assets/images/blog/sample.jpg" alt="alt text"></picture>

Note: The .webp path points to /img/image-name.webp

Meta Tags & Social Preview

Meta keywords tag is dependent on keywords metadata

<metaname="keywords" content="{{ page.keywords | default: site.keywords }}">
keywords: "keyword1, keyword2, keyword3"

Meta description tag (including for social sharing previews) are dependent on description metadata

description: "Some content description"
<metaname="description" content="{{ page.description | default: site.description }}">
<metaname="twitter:title" content="{{ page.title | default: site.title }}"><metaname="twitter:description" content="{{ page.description | default: site.description }}">

In both the cases, they fallback to site level keywords and description.

About

sbomify.com marketing site

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages