Use profile pic as favicon if present
This commit is contained in:
parent
e7c3d90690
commit
0ca2813a0c
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,8 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="{{ .Site.Params.description }}">
|
||||
<meta name="author" content="{{ .Site.Params.author }}">
|
||||
<link rel="shortcut icon" href="favicon.ico">
|
||||
<link rel="shortcut icon" href="{{ .Site.BaseURL }}{{ with .Site.Params.profile.avatar }}assets/images/{{.}}{{ else }}favicon.ico{{ end }}">
|
||||
<!-- Google Font -->
|
||||
<link href='https://fonts.googleapis.com/css?family=Roboto:400,500,400italic,300italic,300,500italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'>
|
||||
<!-- Global CSS -->
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}assets/plugins/bootstrap/css/bootstrap.min.css">
|
||||
|
|
Loading…
Reference in a new issue