{%- set alert_icon = load_data(path="icons/phosphor/" ~ icon ~ ".svg", required=false) -%} {%- if not alert_icon -%} {%- set alert_icon = "info" -%} {%- endif -%}

Comments

{%- set icon = load_data(path="icons/phosphor/" ~ "message-circle" ~ ".svg", required=false) -%} {%- if icon -%}{{ icon | safe }}{{ else }}💬{{ end }}
{%- set comments = load_data(path="data/comments.toml", required=false) -%} {%- if comments -%} {%- for comment in comments -%}
{{ comment.author }} {{ comment.date }}

{{ comment.content }}

{%- endfor -%} {%- else -%}
💭

No comments yet. Be the first to share your thoughts!

{%- endif -%}