From a8c103d29c390a61f42532fe9cc264055d8d706c Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Tue, 28 Apr 2020 19:13:05 +0200 Subject: [PATCH 01/10] Add icons for missing networks --- static/svg/500px.svg | 1 + static/svg/codepen.svg | 1 + static/svg/flickr.svg | 1 + static/svg/github.svg | 1 + static/svg/gitlab.svg | 1 + static/svg/instagram.svg | 1 + static/svg/peertube.svg | 1 + static/svg/pinterest.svg | 1 + static/svg/tumblr.svg | 1 + static/svg/youtube.svg | 1 + 10 files changed, 10 insertions(+) create mode 100644 static/svg/500px.svg create mode 100644 static/svg/codepen.svg create mode 100644 static/svg/flickr.svg create mode 100644 static/svg/github.svg create mode 100644 static/svg/gitlab.svg create mode 100644 static/svg/instagram.svg create mode 100644 static/svg/peertube.svg create mode 100644 static/svg/pinterest.svg create mode 100644 static/svg/tumblr.svg create mode 100644 static/svg/youtube.svg diff --git a/static/svg/500px.svg b/static/svg/500px.svg new file mode 100644 index 0000000..65817b6 --- /dev/null +++ b/static/svg/500px.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/codepen.svg b/static/svg/codepen.svg new file mode 100644 index 0000000..72bdee5 --- /dev/null +++ b/static/svg/codepen.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/flickr.svg b/static/svg/flickr.svg new file mode 100644 index 0000000..c221ffd --- /dev/null +++ b/static/svg/flickr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/github.svg b/static/svg/github.svg new file mode 100644 index 0000000..af5ab0b --- /dev/null +++ b/static/svg/github.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/gitlab.svg b/static/svg/gitlab.svg new file mode 100644 index 0000000..21073cc --- /dev/null +++ b/static/svg/gitlab.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/instagram.svg b/static/svg/instagram.svg new file mode 100644 index 0000000..512a874 --- /dev/null +++ b/static/svg/instagram.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/peertube.svg b/static/svg/peertube.svg new file mode 100644 index 0000000..831f4c5 --- /dev/null +++ b/static/svg/peertube.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/pinterest.svg b/static/svg/pinterest.svg new file mode 100644 index 0000000..04b8fb5 --- /dev/null +++ b/static/svg/pinterest.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/tumblr.svg b/static/svg/tumblr.svg new file mode 100644 index 0000000..b7a9813 --- /dev/null +++ b/static/svg/tumblr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/youtube.svg b/static/svg/youtube.svg new file mode 100644 index 0000000..1a66080 --- /dev/null +++ b/static/svg/youtube.svg @@ -0,0 +1 @@ + \ No newline at end of file From d0530d911bb58917add8b06f83952c021cf8b214 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Tue, 28 Apr 2020 19:13:37 +0200 Subject: [PATCH 02/10] Export social generation to another partial --- layouts/partials/author.html | 16 +--------------- layouts/partials/social.html | 11 +++++++++++ 2 files changed, 12 insertions(+), 15 deletions(-) create mode 100644 layouts/partials/social.html diff --git a/layouts/partials/author.html b/layouts/partials/author.html index 70c485e..2c70632 100644 --- a/layouts/partials/author.html +++ b/layouts/partials/author.html @@ -6,19 +6,5 @@

{{ .Site.Params.author }}

{{ .Site.Params.info }}

-{{ with .Site.Params.social }} - +{{ partial "social.html" . }} -{{ end }} diff --git a/layouts/partials/social.html b/layouts/partials/social.html new file mode 100644 index 0000000..814ecb0 --- /dev/null +++ b/layouts/partials/social.html @@ -0,0 +1,11 @@ +{{ with .Site.Params.social }} + +{{ end }} From 4d5a003abd9be130ae048e94bdf4a564e9ae3db5 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Tue, 28 Apr 2020 19:25:03 +0200 Subject: [PATCH 03/10] Fix the tel: protocole --- layouts/partials/social.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/social.html b/layouts/partials/social.html index 814ecb0..1a06fbd 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -2,7 +2,7 @@
    {{ range sort . "weight" }} From d132bef6913ded1034b5cae59fd49ade093212fe Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Tue, 28 Apr 2020 19:41:03 +0200 Subject: [PATCH 04/10] [Navbar] Make navbar listing all pages instead of static --- layouts/partials/navigation.html | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/layouts/partials/navigation.html b/layouts/partials/navigation.html index 8422416..e2fcfa1 100644 --- a/layouts/partials/navigation.html +++ b/layouts/partials/navigation.html @@ -11,15 +11,11 @@ From a1f8d377117a32f8e5cb54e5f133969335df213b Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Tue, 28 Apr 2020 19:42:39 +0200 Subject: [PATCH 05/10] Properly indent --- layouts/partials/navigation.html | 33 ++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/layouts/partials/navigation.html b/layouts/partials/navigation.html index e2fcfa1..675cd51 100644 --- a/layouts/partials/navigation.html +++ b/layouts/partials/navigation.html @@ -1,21 +1,22 @@ From 16a452f750b38b8b6b0c746973f4323bdc54692b Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Tue, 28 Apr 2020 20:13:39 +0200 Subject: [PATCH 06/10] Fix the navbar on all pages --- layouts/partials/navigation.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/navigation.html b/layouts/partials/navigation.html index 675cd51..157a0e1 100644 --- a/layouts/partials/navigation.html +++ b/layouts/partials/navigation.html @@ -12,7 +12,7 @@