问题描述:

I am using the grav flatfile cms, and i have a twig variable that outputs something like:

<img src="example.com/path/to/image.jpg">

Is there a twig filter that can give me just the URL for the image (the contents of the src attribute)? or is there some regex filter that could help me?

相关阅读:
Top