{% comment %} Compact bordered link card: the poster's avatar next to a short line of text (which can contain a link). Follows the site's light/dark mode. A lighter-weight sibling of embed/custom-card.html. Parameters: author - author / page / profile name (used for the avatar initial + alt) avatar - avatar image URL (optional; falls back to the author's initial) href - link the whole card points to (optional) width - max width in px (optional; default 500) text - the body text; may contain Markdown (e.g. a [link](url)). Capture it first, then pass as text=, or inline a string. Usage: {% include embed/custom-link.html author="author" avatar="https://.../logo.png" text="Zobacz [oryginalny post](https://...) na Facebooku." %} {% endcomment %} {% capture _link_inner %} {% if include.avatar %} {{ include.author }} {% else %} {% endif %} {% if include.href %} {% endif %} {% endcapture %}