Just go ahead and include the WeeWX tags in the .inc file, along with any
Cheetah directives or HTML code.

When the Cheetah generator processes a .tmpl file and encounters a
reference to a .inc file, it finds the file then keeps on going. No need to
mention the .inc file in the skin configuration file, skin.conf.

The new Seasons
<https://github.com/weewx/weewx/tree/development/skins/Seasons> skin makes
extensive use of .inc files.

-tk

On Thu, Dec 20, 2018 at 2:50 PM Colin Larsen <[email protected]> wrote:

> Hi all
>
> Quick group question as my html skills are not fantastic;
>
> Pat has made available some 'inc' pages to put custom code sections in
> various places on his skin. Full html code works fine and I've put together
> an alternative 3 day forecast section already to replace Darksky, which is
> for some reason inaccurate down here.
>
> My question is, how would I put Weewx tags into one of these pages? I
> assume it would require a tmpl file with the tags which is then included in
> Pats inc file - sort of nested html?
>
> Any pointers appreciated
>
> Cheers
> Colin
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to