From dcad91c4b7c6f8d22e8af6f3a4a1b07188cd8ed0 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Tue, 24 May 2022 07:14:08 +0200 Subject: Fix semantic HTML. Applies recommendations by https://validator.w3.org/nu/: - Replaces untitled sections with divs. (Sections are supposed to represent semantic, not structural, units.) - Replaces bookmark title h1. with h2s. (While not strictly required according to the HTML spec, you are supposed to make heading levels independent of semantic structure tags.) Change-Id: I81c634b67bb1044214b5f88a7e05f00d8ba87d5c --- .../resources/templates/benki/posts/postList.html | 32 +++++++++++----------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'src') diff --git a/src/main/resources/templates/benki/posts/postList.html b/src/main/resources/templates/benki/posts/postList.html index 7198af1..fc874cf 100644 --- a/src/main/resources/templates/benki/posts/postList.html +++ b/src/main/resources/templates/benki/posts/postList.html @@ -18,18 +18,18 @@ {#if showBookmarkForm}

-
+
-
+
{/if} {#if showLazychatForm}

-
+
-
+
{/if} @@ -42,7 +42,7 @@ {#if hasNextPage}next page ⇢{/if} -
+
{#for day in postDays}
@@ -52,13 +52,13 @@ {#for post in day.posts} {#if post.isBookmark}
-
+
{#if showBookmarkForm} {/if} -
+
@@ -79,21 +79,21 @@ {/if}
-
+
{post.descriptionHtml.raw} -
+
-
+
{#else}
-
+
{#if showLazychatForm} {/if} -
+
@@ -110,15 +110,15 @@ {/if}
-
+
{post.descriptionHtml.raw} -
+
{/if} {/for} {/for} -
+
{#if hasPreviousPage}⇠ previous page{/if} -- cgit v1.2.3