Contents
Syntax
The syntax for
faviconinclude{options}(absolute-path)
@faviconinclude{options}(absolute-path)
Description
The
<link rel="icon" type="image/png" href="relative-path" options>
The
Note: Another good way to include a favicon file, where an error is thrown if the file does not exist, is:
<link rel="icon" type="image/png" href="@pathtofile(absolute-path)">
Options
Anything added as an option to a
f++ example
Example of
faviconinclude("site/assets/images/favicon.png")
n++ example
Example of
@faviconinclude("site/assets/images/favicon.png")