html_enable_favicons: Add code to HTML head that enables display of favicons

Description Usage Arguments Value Author(s) See Also Examples

View source: R/html_enable_favicons.R

Description

Function adds a line of code to the last line of head of all .html and .htm files in the indicated main directory and its subdirectories. NOTE: function doos not check if the favicon exists in the directory.

Usage

1
html_enable_favicons(main_dir = "./docs", favicon_path = "favicon.png")

Arguments

main_dir

(string(1))
root directory of your website.

favicon_path

(string(1))
relative path to favicon (from the main_dir).

Value

A vector with messages if procedure suceeded

Author(s)

Vilmantas Gegzna

See Also

html_add_line_to_head

Examples

1
# html_enable_favicons("./docs", "favicon.ico")

GegznaV/spMisc documentation built on April 26, 2020, 5:59 p.m.