All tags/Gravatar
Comments with Gravatars
The picture each address registered at gravatar.com - only its SHA-256 hash leaves the page, lazily, without a referrer.
<?php
$comments = [
[ 'name' => 'Herbert Jebbink', 'email' => 'herbert@example.com', 'text' => 'The page cache halves the time of the home page.' ],
[ 'name' => 'Ada Lovelace', 'email' => 'ada@example.org', 'text' => 'Could the sequence tags take a step of their own?' ],
[ 'name' => 'Grace Hopper', 'email' => 'grace@example.net', 'text' => 'A bug report with a template line number - lovely.' ] ];
?>
<div style="display:grid; gap:16px">
{comments}
<div style="display:flex; gap:12px; align-items:flex-start">
{gravatar $email, size=40, default='identicon', alt=$name}
<div><strong>{$name}</strong><br>{$text}</div>
</div>
{/comments}
</div>
Herbert Jebbink
The page cache halves the time of the home page.
The page cache halves the time of the home page.
Ada Lovelace
Could the sequence tags take a step of their own?
Could the sequence tags take a step of their own?
Grace Hopper
A bug report with a template line number - lovely.
A bug report with a template line number - lovely.