diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.rs.html | 7 | ||||
-rw-r--r-- | templates/post.rs.html | 17 |
2 files changed, 15 insertions, 9 deletions
diff --git a/templates/index.rs.html b/templates/index.rs.html index 31ed504..0b8ddc0 100644 --- a/templates/index.rs.html +++ b/templates/index.rs.html @@ -5,15 +5,15 @@ @:header_html(None, None) <link rel="canonical" href="https://devcara.com"> - - <h1>Cara Salter</h1> +<div class="vcard h-card"> + <h1 class="fn p-name">Cara Salter</h1> <div class="two-column"> <div class="inner-column"> <h3>About me</h3> I am a: <ul> - <li>Trans woman (she/her)</li> + <li>Trans <div class="p-gender-identity">woman</div> (she/her)</li> <li>Eagle Scout</li> <li>Software Engineer</li> </ul> @@ -69,4 +69,5 @@ </div> </div> +</div> @:footer_html() diff --git a/templates/post.rs.html b/templates/post.rs.html index 321dbec..2823b3b 100644 --- a/templates/post.rs.html +++ b/templates/post.rs.html @@ -5,12 +5,17 @@ @:header_html(Some(&post.front_matter.title.clone()), None) -<h1>@post.front_matter.title.clone()</h1> -<span> - <small>Posted @post.clone().date.format("%B %d %Y") by - @post.clone().author</small> -</span> +<article class="h-entry"> + <h1 class="p-name">@post.front_matter.title.clone()</h1> + <span> + <small>Posted <time class="dt-published" + datetime="@post.clone().date.format("%F + %T")">@post.clone().date.format("%d %B %Y") by + <div class="p-author + h-card">@post.clone().author</div></small> + </span> -@body + @body +</article> @:footer_html() |