From 6059f6cbead8a7fcde8306e8b4f4b7286bee9bc9 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Fri, 2 Sep 2016 10:18:18 +0300 Subject: [PATCH] Use HTML5 aside and section tags for sidebar The HTML5 aside tag is for content that is tangentially related to the content around the aside tag, but is considered separate from that content. Section tags are semantic HTML5 elements that inform computers about content structure, as opposed to div tags which can be used for structure OR style. See: http://diveinto.html5doctor.com/semantics.html --- layouts/partials/sidebar.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 05c665d..48d92bc 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,21 +1,21 @@ -
- + {{ if isset .Site.Params.sidebar "num_recent_posts" }} - + {{ end }} - - -
+ +