summaryrefslogtreecommitdiffstatshomepage
path: root/templates/shortcodes/guestbook_entry.html
blob: 69789caa0639f85e259b055f493eb4b460dd6b54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{% import "macros/date.html" as date %}

<div class="guestbook-entry">
  <p>
    {% if website %}<a href="{{ website | safe }}" target="_blank">{% endif %}
    <strong class="guestbook-entry-name">{{ name | safe }}</strong>
    {% if website %}</a>{% endif %}
    <br>
    <time datetime="{{ time }}">
      {{ date::format_date(date=time) }}
    </time>
  </p>
  <p>
    {{ message | safe }}
  </p>
  {% if reply %}
    <blockquote>
      <p>
        {{ reply | safe }}
        <br><br>
        &mdash; {{ config.extra.nickname }}
      </p>
    </blockquote>
  {% endif %}
</div>