10 hours ago · Tech · hide · 0 comments

In a bout of inspiration this week I changed some of the framework on this site. It started by realising that the additional content below an article was wrapped up in the article tag. I found this when I tested SEOTesting’s new Content Evaluator tool and it suggested that there were parts of the page that were nothing to do with the main content. And it was correct - the Secondary links to other content, Articles and Notes were inside the article tag which gives the wrong indications to anything crawling the site. Content structure I moved those elements after the actual article into their own Aside tag. <main> <article> The article </article> <aside> Links to other articles </aside> </main> The Print CSS While I was making these changes someone mentioned on Mastodon that they were checking their print css. I had a look at my pages and realised the Aside and Footer were not really needed if anyone ever wanted to print out a page so they are now hidden with a simple css statement:…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.