diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | exampleSite/config-prod.toml | 2 | ||||
-rw-r--r-- | exampleSite/config.toml | 4 | ||||
-rw-r--r-- | layouts/partials/htmlhead.html | 3 | ||||
-rw-r--r-- | package.json | 2 |
5 files changed, 10 insertions, 3 deletions
@@ -6,7 +6,7 @@ Massively theme ported from [HTML5 UP](https://html5up.net/) for use with the [H ## Demo -https://curttimson.github.io/hugo-theme-massively/ +https://hugo-theme-massively.netlify.com/ ## Setup diff --git a/exampleSite/config-prod.toml b/exampleSite/config-prod.toml index 5e50c30..3888702 100644 --- a/exampleSite/config-prod.toml +++ b/exampleSite/config-prod.toml @@ -1,6 +1,6 @@ languageCode = "en-us" title = "Massively" -baseURL = "https://curttimson.github.io/hugo-theme-massively/" +baseURL = "https://hugo-theme-massively.netlify.com/" theme = "../.." [params.posts] diff --git a/exampleSite/config.toml b/exampleSite/config.toml index b461dcf..4b20b74 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -3,6 +3,10 @@ title = "Massively" baseURL = "http://localhost:1313/" theme = "../.." +# [params] + # set below parameter to define a favicon + # favicon = "favicon.ico" + [params.posts] foldername = "post" pagesize = "6" diff --git a/layouts/partials/htmlhead.html b/layouts/partials/htmlhead.html index c8ae9d8..35ea1a8 100644 --- a/layouts/partials/htmlhead.html +++ b/layouts/partials/htmlhead.html @@ -10,5 +10,8 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <link rel="stylesheet" href='{{ "assets/css/main.css" | relURL }}' /> + {{ with .Site.Params.favicon }} + <link rel="shortcut icon" href="{{ . }}"> + {{ end }} <noscript><link rel="stylesheet" href='{{ "assets/css/noscript.css" | relURL }}' /></noscript> </head> diff --git a/package.json b/package.json index 593d0b6..e06914b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hugo-theme-massively", - "version": "2.0.0", + "version": "2.1.0", "description": "HTML5 UP theme Massively for Hugo", "main": "index.js", "scripts": { |