lukeorth / poison

Professional Hugo theme for dev bloggers. Based on Mdo's classic Hyde theme.
https://poison.lukeorth.com
GNU General Public License v3.0
226 stars 107 forks source link

This fixes up the spacing issue between TOC and content + more semantic markup of content #57

Closed KarlAustin closed 1 year ago

KarlAustin commented 1 year ago

This fixes the issue of a large left margin on the Article TOC when on wide screens, it scales gracefully down to smaller screens as well and prepares the markup for future user configurable content width (removes using %).

In theory this breaks layoutReverse - but in actually it's currently broken anyway due to a missing space after the class name on ., it's also very broken on widescreen as well and doesn't swap the TOC anyway. I plan to do another PR to fix all of those issues at some point this week.