Skip to content

Years in sidebar missing month links #285

Closed Answered by MaffooClock
MaffooClock asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, figured it out: it's because I'm stupid.

Early on in the implementation of weewx-wdc, I moved the [[ToDate]] section above the [[SummaryBy____]] sections so that I could play with the Today page without having to wait an hour for all the month-%Y-%m.html and year-%Y.html pages to be generated (10 years of data takes a while!).

That explains why those [[ToDate]] templates didn't get the month links, but the [[SummaryByMonth]] and [[SummaryByYear]] templates did. 🤦🏻‍♂️

I put those sections back in the order they were originally, and now every year has a month link on all pages.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Daveiano
Comment options

Answer selected by MaffooClock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants