diff --git a/_app/_includes/_amsf.html b/_app/_includes/_amsf.html index 0ae2b4525..92d3ebedd 100644 --- a/_app/_includes/_amsf.html +++ b/_app/_includes/_amsf.html @@ -199,16 +199,13 @@ {% comment %} Page thumbnail + TODO: https://regex101.com/r/N2hoxV/1 {% endcomment %} {% capture amsf_post_first_image %} - {% assign post_images = page.content | split: "" | first | match_regex: 'src="([^"]+)"' %} - {% break %} - {% endif %} - {% endfor %} + {% assign hero_image = page.content | match_regex: '