diff --git a/README.md b/README.md index f636927..1c97160 100644 --- a/README.md +++ b/README.md @@ -166,6 +166,7 @@ If you spot any bugs, please use [Issue Tracker](https://github.com/rhazdon/hugo - [normalize.css](https://github.com/necolas/normalize.css) - [Feather Open Source Icons](https://github.com/feathericons/feather) + - [Simple Icons](https://simpleicons.org/) - [Flag Icon](https://github.com/lipis/flag-icon-css) diff --git a/assets/scss/_main.scss b/assets/scss/_main.scss index ea22bbf..0c1824b 100644 --- a/assets/scss/_main.scss +++ b/assets/scss/_main.scss @@ -222,7 +222,7 @@ ol ol { } .container { - flex: 1; + flex: 1 auto; display: flex; flex-direction: column; justify-content: center; diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 54e0162..f5b4d3b 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -85,6 +85,8 @@ disableHugoGeneratorInject = false [params.logo] logoText = "$ cd /home/" logoHomeLink = "/" + # Set to a valid CSS color to change the cursor in the logo. + # logoColor = "#67a2c9" # Social icons [[params.social]] @@ -103,6 +105,10 @@ disableHugoGeneratorInject = false name = "linkedin" url = "https://www.linkedin.com/" + [[params.social]] + name = "stackoverflow" + url = "https://www.stackoverflow.com/" + [languages] [languages.en] subtitle = "Hello Friend NG Theme" diff --git a/layouts/partials/logo.html b/layouts/partials/logo.html index 16041d7..685a84e 100644 --- a/layouts/partials/logo.html +++ b/layouts/partials/logo.html @@ -5,7 +5,7 @@ {{ else }} > {{ with .Site.Params.Logo.logoText }}{{ . }}{{ else }}hello{{ end }} - + {{ end }} diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 9f66520..c378a7b 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -2,6 +2,8 @@ {{- else if (eq .name "facebook") -}} +{{- else if (eq .name "gitbook") -}} + {{- else if (eq .name "github") -}} {{- else if (eq .name "gitlab") -}} @@ -22,6 +24,8 @@ {{- else if (eq .name "keybase") -}} +{{- else if (eq .name "stackoverflow") -}} + {{- else -}} {{- end -}}