Favicons (#54)
* Adding support for favicon
* Fixing html tag
1 files added
2 files modified
| | |
| | | filename = "sitemap.xml" |
| | | |
| | | [params] |
| | | favicon = "" |
| | | description = "The last theme you'll ever need. Maybe." |
| | | facebook = "" |
| | | twitter = "https://twitter.com/GoHugoIO" |
| | |
| | | {{ end }} |
| | | |
| | | <link href='{{ "dist/main.css" | absURL }}' rel='stylesheet' type="text/css" /> |
| | | {{ block "favicon" . }} |
| | | {{ partial "site-favicon.html" . }} |
| | | {{ end }} |
| | | |
| | | {{ if .RSSLink }} |
| | | <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> |
| New file |
| | |
| | | {{ if .Site.Params.favicon }} |
| | | <link rel="shortcut icon" href="/{{ .Site.Params.favicon }}" type="image/x-icon" /> |
| | | {{ end }} |