From bcf6253accb5f475518b23cbcad6b97ad0b3ebbc Mon Sep 17 00:00:00 2001 From: Stephen Crane Date: Thu, 15 Aug 2019 16:11:26 -0700 Subject: [PATCH 1/4] Set container flex-basis to auto Without flex-basis: auto, IE overlays the footer on top of long pages of text, as its position seems to be computed relative to the initial viewport. --- assets/scss/_main.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; From ee9a8f21257be5dcfb235a6234e5b9172e6c713d Mon Sep 17 00:00:00 2001 From: Juan Pablo Yamamoto Date: Sat, 12 Oct 2019 17:18:08 -0500 Subject: [PATCH 2/4] Cursor color customization --- exampleSite/config.toml | 2 ++ layouts/partials/logo.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index ec2df24..e556d8f 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -80,6 +80,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]] 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 }} From eee26038f6ecc8c1701b25bbd3f62b8cfb8aebc2 Mon Sep 17 00:00:00 2001 From: JPYamamoto Date: Mon, 14 Oct 2019 11:14:42 -0500 Subject: [PATCH 3/4] Added Stackoverflow icon --- README.md | 1 + exampleSite/config.toml | 4 ++++ layouts/partials/svg.html | 2 ++ 3 files changed, 7 insertions(+) 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/exampleSite/config.toml b/exampleSite/config.toml index ec2df24..4ca62aa 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -98,6 +98,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/svg.html b/layouts/partials/svg.html index 106c2ce..aaefdfe 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -20,6 +20,8 @@ {{- else if (eq .name "telegram") -}} +{{- else if (eq .name "stackoverflow") -}} + {{- else -}} {{- end -}} From b0eddef9493cd1b2432c4334dcf68a6314b11e27 Mon Sep 17 00:00:00 2001 From: davidfeng88 Date: Wed, 16 Oct 2019 13:45:43 -0400 Subject: [PATCH 4/4] add gitbook svg --- layouts/partials/svg.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 106c2ce..6cbc703 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") -}}