When I build this site, I set the blog widgets to only appear on blog pages. That way you see things for finding blog stuff when you are reading my site., but not when you are reading the rest of aidanmontare.net.
For a while, there was nothing on the other pages. Now, I finally finished the second part of my plan: adding a table of contents to pages. Since many of my pages are long documentation, I thought it made sense to have an overview of each page’s contents in place of the blog widgets.
How did I do it? This is WordPress, remember, so I used the Table of Contents Plus plugin. It’s quite nice. I set up the widget and disabled the default behavior of adding the table above the page text.
The table of contents right now is nothing special, just an unordered list. It is also somewhat annoying that once you go past the top of the page you no longer know where you are. I intend to fix this by implementing something like Bootstrap’s sidebar navigation. Unfortunately it will probably only work with JavaScript enabled, and I was also planning on removing as much JavaScript from my site as possible.
It seems the conquering of the entire internet by JavaScript is inevitable, but at least we will have tables of contents!