{% 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) center - center the avatar+text group within the card (optional, default true; pass center=false to left-align) fill_avatar - if truthy, the avatar image fills the whole circle (cropped, no padding, no border). Default false (fits inside with a small inset + border). 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/links/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 %} {% if include.author %} {% endif %} {% endif %} {% if include.href %} {% endif %} {% endcapture %}