Re: [weewx-user] How to add literal .txt to end of variable

2018-02-19 Thread Louis De Lange
Thanks Tom, Backslash escape character did not work but following the cheetah manual and enclosing the variable in brackets did. $monthYear Might be useful for other people too. On Sunday, 18 February 2018 18:35:18 UTC-8, Tom Keffer wrote: > > Try putting a backslash in front of any special

Re: [weewx-user] How to add literal .txt to end of variable

2018-02-18 Thread Thomas Keffer
Try putting a backslash in front of any special characters. You probably just need it for the dollar sign. $monthYear The guide to Cheetah syntax is located here . If you're going to work with Cheetah much, it's well worth going through.

[weewx-user] How to add literal .txt to end of variable

2018-02-18 Thread Louis De Lange
Busy redoing my website template with MaterializeCSS framework. To correctly create the dropdown for the various NOAA summaries I have to create an href tag as follows: $monthYear Without the .txt suffix the NOAA-$monthYear tag works fine, but as soon as I add .txt to make