{% macro userlink(id, name) -%} {%- if id and name -%} {{ name or id }} {%- else -%} {{ name or 'Гость' }} {%- endif -%} {%- endmacro %} {% macro storylink(id, title) -%} {{ title }} {%- endmacro %} {% macro comment(comment) -%}