~sqwishy/froghat.ca

0041c3f61472f9cff3cb427e26dd1940747b95c6 — sqwishy 1 year, 7 months ago ab4c5cb
use `<time>` element for post date in index
1 files changed, 3 insertions(+), 1 deletions(-)

M templates/index.mako
M templates/index.mako => templates/index.mako +3 -1
@@ 43,7 43,9 @@
    <li class="delimiter"><span class="year">${year}</span><hr></li>
    % endif
    <li>
        <span class="date tepid">${post['date'].strftime('%b %-d')}</span>
        <time class="date tepid" datetime="${post['date'].strftime("%Y-%m-%d")}">
            ${post['date'].strftime('%b %-d')}
        </time>
        <span class="item">
            <% post_dir = f'{SITE.url}/{post["rstpath"].parent}' %>
            <div><a class="title" href="${post_dir}">${post['title']}</a></div>