Skip to content
This repository was archived by the owner on Sep 23, 2020. It is now read-only.
This repository was archived by the owner on Sep 23, 2020. It is now read-only.

Using Front Matter Variables and Partial Image Filename #4

@softlimit-ben

Description

@softlimit-ben

Wondering if it's possible or what you'd recommend for including Front Matter variables in your image_tags? For instance... how would I go about getting something like the following to work with Jekyll-SrcSet?

{% image_tag src="img/work/{{ post.project-id }}_featured.png" width="250" %}

I know there's the option to leave off the quotes for variables.. but that doesn't seem to work in the case of both a Variable + String. Any ideas?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions