Is stylesheet.less included automatically

  1. 3 years ago

    Dave

    27 Nov 2014 Administrator

    Is stylesheet.less included in the template automatically, through one of the twig tags perhaps?

    Looking at the templates on github (i.e https://github.com/basekit-templates/monday ) I can see the .less file, but not the tag to include it, so I am assuming this happens through one of the widgets, like;

    {% include basekit.headScript %}

    is this correct, or do I have to include it explicitly?

    Thanks

    - charliefortune

    Hi @charliefortune,

    stylesheet.less is a required file within a template - without it you are not able to upload the template into the BaseKit editor.

    If you wish to move the styles into another file you could always use a regular LESS include, e.g:

    @import "@{templateLocal}/css/filename.less”;

    Let us know how you got on.

  2. Dave

    27 Nov 2014 Administrator Answer

    Hi @charliefortune,

    stylesheet.less is a required file within a template - without it you are not able to upload the template into the BaseKit editor.

    If you wish to move the styles into another file you could always use a regular LESS include, e.g:

    @import "@{templateLocal}/css/filename.less”;

    Let us know how you got on.

or Sign Up to reply!