Favicon

object Favicon

Companion for creating Favicon configuration instances.

Companion
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def external(url: String, sizes: String, mediaType: String): Favicon

Creates the configuration for a single favicon with an external URL.

Creates the configuration for a single favicon with an external URL.

The sizes string will be used in the corresponding sizes attribute of the generated &lt;link&gt; tag.

def internal(path: Path, sizes: String): Favicon

Creates the configuration for a single favicon based on an internal resource and its virtual path. This resource must be part of the inputs known to Laika.

Creates the configuration for a single favicon based on an internal resource and its virtual path. This resource must be part of the inputs known to Laika.

The sizes string will be used in the corresponding sizes attribute of the generated &lt;link&gt; tag.