Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Update Google Analytics, add multi-author support, and fix menu-highlighting. #47

Open
wants to merge 25 commits into
base: master
Choose a base branch
from

Conversation

ajaquith
Copy link

Hi! I have been enjoying your Mediumish port and have proposed some changes. These include:

  • Added support for multiple authors (the pages for which are stored in an /authors directory). At present, information for only one author is supported, and all information is stored as site parameters.
  • Fixed an issue where navbars were not highlighting consistently based on position. In the fix, it will highlight the navbar menu in both cases; if you are on the navbar page or in a page that is inside a navbar item.
  • Added support for a custom date format in post dates; this appears both in postbox and in the posts themselves.
  • Added support for a simple favicon template, which can be overridden by people who care about those sorts of things.
  • Updated documentation to reflect the foregoing, plus: loading Mediumish as a Hugo module (preferred!), using GA4 analytics, and the mainstream config file names (they are now hugo.toml and hugo.yaml).
  • Tweaked the arrangement of the post meta information to more closely align with how Medium does it these days (name on top line, then on the next line: clock, reading time, and post date).
  • Added some minimal table styling, and tweaked the footnote and caption styles so that they are decent.

Although

…d fixed font, which was defaulting to the post article font. Created cleaner default list.html template and moved default layout to the posts/ section. Updated Bootstrap, Fontawesome, Jquery, and Popper to 4.6.2, 5.15.4, 3.7.1, and 1.16.1, respectively.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant