commit a347dc622d7a9424aa5b9bee3b32714344b44d34
parent 0a41538bc526b53d033196526f0a437a14814e14
Author: Hugo Soucy <hugo@soucy.cc>
Date: Sat, 11 Mar 2017 14:48:12 -0500
Add h-cite classes.
Diffstat:
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/templates/mustache/note.mustache b/templates/mustache/note.mustache
@@ -6,14 +6,22 @@
<div class="layout__vcenter">
<h1 class="visuallyhidden">$title$</h1>
+ $if(replyto)$
+ <p>
+ <a class="note__link u-in-reply-to"
+ href="$replyto$"
+ rel="in-reply-to">En réponse à $replyto$.</a><br/>
+ </p>
+ $endif$
+
$if(citeurl)$
<blockquote class="note__blockquote p-name e-content">
<div class="note__blockquote__quote">$body$</div>
$if(cite)$
<footer class="note__blockquote__footer">
—
- <cite class="note__blockquote__cite">
- <a href="$citeurl$" rel="external nofollow">
+ <cite class="note__blockquote__cite h-cite">
+ <a class="u-url p-author" href="$citeurl$" rel="external nofollow">
$cite$
</a>
</cite>
@@ -33,12 +41,6 @@
rel="bookmark">#</a>
$endif$
- $if(replyto)$
- <a class="note__link u-in-reply-to"
- href="$replyto$"
- rel="in-reply-to">En réponse à $replyto$.</a><br/>
- $endif$
-
Publié le <time class="dt-published" $if(datetime)$datetime="$date$T$datetime$"$endif$>$date$</time>
par
<a class="p-author author h-card" href="{{ SITE_URL }}#hs" rel="author">
@@ -46,9 +48,9 @@
<img alt=""
class="u-photo visuallyhidden"
src="http://assets.soucy.cc/images/hugosoucy/favicon/hs-autoportrait-2010-nb-favion-32x32.png"/>
- </a>
+ </a>
$if(modified)$et modifié le <time class="dt-updated">$modified$</time>$endif$.
- <br/>↵ <a href="{{ SITE_URL }}/note">Retourner aux notes</a>.
+ <br/>↵ <a href="{{ SITE_URL }}/note">Retourner aux notes</a>.
</footer>
</div>
$if(bridgy)$