在Yesod中,如果我想将AppMessage作为参数添加到消息中,如下例所示:
{% extends "header.html" %}
{% block body %}
<body class="body">
<div class="container" align="left">
<embed type="image/svg+xml" src={{graph_data|safe}} style='max-width:1000px'></embed>
</div>
</body>
{% endblock %}