-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: move favicon site param to page param (#41)
This commit moves and renames `.Site.params.faviconEmojiTemplate` to `.Page.params.faviconText`. This both clarifies that the parameter accepts any text - not necessarily an emoji, as well as furthering a wider effort to make this page fully configurable from one location. * refactor: move favicon template to head partial We move the favicon svg template to the head partial, since it will never be used anywhere else. * fix: bust favicon cache during development While using `hugo server`, the first generated favicon would cached and used for the duration. We now name the generated resource with its md5 hash to prevent this.
- Loading branch information
Showing
4 changed files
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,5 +41,3 @@ outputFormats: | |
mediaType: text/plain | ||
baseName: index | ||
isPlainText: true | ||
Params: | ||
faviconEmoji: 💼 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters