Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // RootPath will set stylecat to use a fixed absolute path to determine the // paths of imported CSS with absolute URL references. // For example, `@import url('/css/base.css')` points to a root URL path that // has a filesystem path at `/var/www/.../public/css/base.css`. Setting `RootPath` // to `/var/www/.../public`, will resolve the correct path for the CSS references. // Note that RootPath is only needed for @import paths that are absolute. RootPath string }
Config configures stylecat.
Click to show internal directories.
Click to hide internal directories.