miniblog

Miniblog: A command-line static blog system in Common Lisp
Log | Files | Refs | README | LICENSE

commit 8ae4852ef4677b929cdba0e25fd4c28912ccd179
parent 38bf2aa74c2561f498347151d6b4c3e55c71514c
Author: Decay <decay@todayiwilllaunchmyinfantsonintoorbit.com>
Date:   Tue, 15 Dec 2020 19:27:13 -0800

Initial ARIA roles

Diffstat:
Mtemplates/page.dtl | 2+-
Mtemplates/posts.dtl | 2+-
Mtemplates/template.dtl | 4++--
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/templates/page.dtl b/templates/page.dtl @@ -3,7 +3,7 @@ {% if page.content %} <h2>{{ page.title }}</h2> <article>{{ page.content|safe|markdown }}</article> - <p> + <p role="note"> <small> Posted by {{ page.created-by }} on {{ page.created-at-long }} {% ifnotequal page.created-at-long page.last-updated-at-long %} diff --git a/templates/posts.dtl b/templates/posts.dtl @@ -11,7 +11,7 @@ <a name="{{ post.id }}"></a> <h2>{{ post.title }}</h2> <article>{{ post.content|safe|markdown }}</article> - <p> + <p role="note"> <small> Posted by {{ post.created-by }} on {{ post.created-at-long }} {% ifnotequal post.created-at-long post.last-updated-at-long %} diff --git a/templates/template.dtl b/templates/template.dtl @@ -42,7 +42,7 @@ {% endif %} {% endblock %} </header> - <section id="miniblog-left"> + <section id="miniblog-left" role="menu"> {% block left %} <a href="/">Home</a><br> {% if pages %} @@ -70,7 +70,7 @@ {% nav-calendar archive-date-list root-uri %} {% endif %} {% if enable-rss %} - <div id="miniblog-rss"> + <div id="miniblog-rss" role="note"> <a href="{{ root-uri }}rss.xml" target="_blank"> Subscribe to {{ title }} </a>