From b3e4d71512169c58ec7d00d14b7d8a29cdc2636c Mon Sep 17 00:00:00 2001 From: MARC Matthieu Date: Fri, 11 Dec 2020 10:23:44 +0100 Subject: add favicon parameters --- README.md | 1 + layouts/_default/baseof.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bb82bbc..1b67988 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ In your `config.toml` file, define the following variables in `params`: - `description`: Short description of the author - `avatar`: Path of file containing the author avatar image - `menu_item_separator`: Separator between each menu item. HTML allowed (default: " - ") +- `favicon`: Absolute path of your favicon.ico file (default: "/favicon.ico") To add a menu item, add the following lines in `menu`: diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 70e4a77..cccdf56 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -2,7 +2,7 @@ {{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} // {{ .Site.Title }}{{ end }} - + {{ hugo.Generator }} -- cgit v1.2.3