{% comment %} Facebook post/video embed (responsive). Usage: {% include embed/facebook.html href='https://www.facebook.com/.../posts/...' %} Optional: width - max width in px (default 750, FB max is 750) type - 'post' | 'video' (default 'post') show_text - 'true' | 'false' show the post caption (default 'false' = shorter) max_height - cap the embed height in px (optional; omit for no cap / "infinite") overflow - how to handle content past max_height: 'hidden' (crop, default), 'auto' (scrollbar), or 'visible' (no clip) Uses Facebook's JS SDK so the post adapts to its container width and re-renders when the browser is resized. Height is otherwise determined by Facebook. {% endcomment %} {% assign fb_type = include.type | default: 'post' %} {% assign fb_width = include.width | default: 600 %} {% assign fb_show_text = include.show_text | default: 'false' %} {% assign fb_overflow = include.overflow | default: 'hidden' %}