From 839ed3be8c2f491f47b32676ab093d50dea2d3ac Mon Sep 17 00:00:00 2001 From: Jordy van den Aardweg Date: Sat, 9 Mar 2019 11:03:56 +0100 Subject: [PATCH 01/12] Use og:image to display avatar So social sharing crawlers pickup a useful image --- _includes/header.html | 1 + 1 file changed, 1 insertion(+) diff --git a/_includes/header.html b/_includes/header.html index d6de987..0288751 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -21,6 +21,7 @@ + {{ user.name }} From df8c38171d3dbcbcd88b2b4fa096551e9129e908 Mon Sep 17 00:00:00 2001 From: matejmecka Date: Sat, 9 Mar 2019 16:11:32 +0100 Subject: [PATCH 02/12] Add Instagram and Unsplash --- .DS_Store | Bin 0 -> 6148 bytes README.md | 2 ++ _config.yml | 2 ++ _data/social_media.yml | 10 ++++++++++ 4 files changed, 14 insertions(+) create mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..7de2552903f1dcc20634e5c782923363f559d3f6 GIT binary patch literal 6148 zcmeHKOHRWu5Pbus3S!eGOJ9K-SXFz19so+i0x2R$X&3B#bl!LdiG-{x1?0yY2|HbqfoM$|m(y7AyOQR*DWb~tsfecy4o4AH&c;TbKCIAgT`dz#@^q&2Cl+@-VcdQF*_E+dUdd?B>-_na~0}ZOK47V%#Ov79*S5h(Ne`r z46$_DlgDMpVrc0QFFwRq{wZFhuFm;W4TogI=!1b^V9da+4LAD!@A=8h7Ww0p7zG2t zz&~R^R=dM)%R~9w`saB1)+V+WHWiI4s!*tpegZhqd*rb?&7V|fTy`vmI*ZzCIx&6( MDk0GY16N?+8-mU` of your website, appended to your bio. And if those services support sharing, any blog posts that you publish will include links to share that post using each social media service. diff --git a/_config.yml b/_config.yml index 79e3664..cf8b237 100644 --- a/_config.yml +++ b/_config.yml @@ -36,6 +36,8 @@ projects: # stackoverflow: your_user_id # twitter: your_username # youtube: your_username + # instagram: your_username + # unsplash: your_username topics: - name: CSS diff --git a/_data/social_media.yml b/_data/social_media.yml index 5b77a01..91ebbf3 100644 --- a/_data/social_media.yml +++ b/_data/social_media.yml @@ -40,3 +40,13 @@ dribbble: name: Dribbble profile_url_prefix: https://dribbble.com/ icon_svg: '' + +instagram: + name: Instagram + profile_url_prefix: https://www.instragram.com/ + icon_svg: '' + +unsplash: + name: Unsplash + profile_url_prefix: https://www.unsplash.com/ + icon_svg: '' \ No newline at end of file From 97d428ec3ae9223eddb4a96d2f29dc8c8883a63b Mon Sep 17 00:00:00 2001 From: matejmecka Date: Sat, 9 Mar 2019 16:11:59 +0100 Subject: [PATCH 03/12] Add Instagram and Unsplash --- .DS_Store | Bin 6148 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 7de2552903f1dcc20634e5c782923363f559d3f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHKOHRWu5Pbus3S!eGOJ9K-SXFz19so+i0x2R$X&3B#bl!LdiG-{x1?0yY2|HbqfoM$|m(y7AyOQR*DWb~tsfecy4o4AH&c;TbKCIAgT`dz#@^q&2Cl+@-VcdQF*_E+dUdd?B>-_na~0}ZOK47V%#Ov79*S5h(Ne`r z46$_DlgDMpVrc0QFFwRq{wZFhuFm;W4TogI=!1b^V9da+4LAD!@A=8h7Ww0p7zG2t zz&~R^R=dM)%R~9w`saB1)+V+WHWiI4s!*tpegZhqd*rb?&7V|fTy`vmI*ZzCIx&6( MDk0GY16N?+8-mU Date: Sat, 9 Mar 2019 16:39:48 +0100 Subject: [PATCH 04/12] Update Size of Icon for instagram --- _data/social_media.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_data/social_media.yml b/_data/social_media.yml index 91ebbf3..886f766 100644 --- a/_data/social_media.yml +++ b/_data/social_media.yml @@ -44,9 +44,9 @@ dribbble: instagram: name: Instagram profile_url_prefix: https://www.instragram.com/ - icon_svg: '' + icon_svg: '' unsplash: name: Unsplash profile_url_prefix: https://www.unsplash.com/ - icon_svg: '' \ No newline at end of file + icon_svg: '' From ac126c1cbd4d445ac5f3ccf1884a83c1fc199c0d Mon Sep 17 00:00:00 2001 From: Matej Plavevski Date: Sat, 9 Mar 2019 17:21:04 +0100 Subject: [PATCH 05/12] Update Colors --- _data/social_media.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_data/social_media.yml b/_data/social_media.yml index 886f766..d08fc0e 100644 --- a/_data/social_media.yml +++ b/_data/social_media.yml @@ -44,9 +44,9 @@ dribbble: instagram: name: Instagram profile_url_prefix: https://www.instragram.com/ - icon_svg: '' + icon_svg: '' unsplash: name: Unsplash profile_url_prefix: https://www.unsplash.com/ - icon_svg: '' + icon_svg: '' From 5af0f45c3ee62e0fd6279d7ea7ccc3247f74b6e0 Mon Sep 17 00:00:00 2001 From: Matej Plavevski Date: Sat, 9 Mar 2019 17:21:33 +0100 Subject: [PATCH 06/12] Update URL for Instagram --- _data/social_media.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/social_media.yml b/_data/social_media.yml index d08fc0e..5f7442c 100644 --- a/_data/social_media.yml +++ b/_data/social_media.yml @@ -43,7 +43,7 @@ dribbble: instagram: name: Instagram - profile_url_prefix: https://www.instragram.com/ + profile_url_prefix: https://www.instagram.com/ icon_svg: '' unsplash: From 4c588dfcd2bdb0a9f8d293bac1d5badad5da9976 Mon Sep 17 00:00:00 2001 From: Matej Plavevski Date: Sat, 9 Mar 2019 20:55:34 +0100 Subject: [PATCH 07/12] Update Readme explaining #48 --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index a79c148..7b99d7d 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,24 @@ bundle install ``` bundle exec jekyll serve ``` + +You should see something like: + +``` +Configuration file: /octocat/personal-website/_config.yml + Source: /octocat/personal-website + Destination: /octocat/_site + Incremental build: disabled. Enable with --incremental + Generating... + GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data. + done in 14.729 seconds. + Auto-regeneration: enabled for '/octocat/personal-website' + Server address: http://127.0.0.1:4000 + Server running... press ctrl-c to stop. +``` + +Don't worry about the GitHub API errors. They are caused because it's run in a dev enviornment and not on GitHub Pages. + 6. Now browse to [http://localhost:4000](http://localhost:4000) ### Publish From 03ce0c2a44d72854fa3758527ab74199021d8f19 Mon Sep 17 00:00:00 2001 From: Matej Plavevski Date: Wed, 13 Mar 2019 22:09:09 +0100 Subject: [PATCH 08/12] Add about Jekyll_github_token --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 7b99d7d..33c0c13 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,8 @@ Configuration file: /octocat/personal-website/_config.yml Don't worry about the GitHub API errors. They are caused because it's run in a dev enviornment and not on GitHub Pages. +You can set a GitHub API Token by setting the JEKYLL_GITHUB_TOKEN to your personal access token. + 6. Now browse to [http://localhost:4000](http://localhost:4000) ### Publish From df4dec6bccae2dbabcf2e2ab902e440f2eb87b3f Mon Sep 17 00:00:00 2001 From: Matej Plavevski Date: Sun, 17 Mar 2019 15:03:44 +0100 Subject: [PATCH 09/12] Implement Changes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 33c0c13..6509e34 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ Configuration file: /octocat/personal-website/_config.yml Don't worry about the GitHub API errors. They are caused because it's run in a dev enviornment and not on GitHub Pages. -You can set a GitHub API Token by setting the JEKYLL_GITHUB_TOKEN to your personal access token. +You can set a GitHub API Token by setting the `JEKYLL_GITHUB_TOKEN` to your personal access token. 6. Now browse to [http://localhost:4000](http://localhost:4000) From 7a04f13ced2f4bc8cca82ccf961ff2f39a4f2098 Mon Sep 17 00:00:00 2001 From: Brandon Rosage Date: Mon, 25 Mar 2019 11:38:28 -0500 Subject: [PATCH 10/12] added more og tags; dynamic page title --- _includes/header.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/_includes/header.html b/_includes/header.html index 0288751..d4b9f02 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -11,18 +11,22 @@ {% assign user = site.github.owner %} {% if page.path contains '_posts' %} + {% assign page_title = page.title %} {% assign meta_description = page.content | strip_html | strip_newlines | xml_escape | truncate: 300 %} {% else %} + {% assign page_title = user.name %} {% assign meta_description = user.bio | strip_html | strip_newlines | xml_escape | truncate: 300 %} {% endif %} - + + {{ page_title }} - - {{ user.name }} + + + From 1935748074458e09eae1c248bfd38804c65eaecf Mon Sep 17 00:00:00 2001 From: Brandon Rosage Date: Mon, 25 Mar 2019 11:41:42 -0500 Subject: [PATCH 11/12] removed empty line --- _config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/_config.yml b/_config.yml index 068ff2b..fbb90be 100644 --- a/_config.yml +++ b/_config.yml @@ -41,7 +41,6 @@ projects: # unsplash: your_username # vk: your_username - topics: - name: CSS web_url: https://github.com/topics/css From 06a97dca32e5858192ddd123f313a0211325de2b Mon Sep 17 00:00:00 2001 From: Brandon Rosage Date: Mon, 25 Mar 2019 11:50:03 -0500 Subject: [PATCH 12/12] revised language about API authentication --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6509e34..ea5aa4e 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ Configuration file: /octocat/personal-website/_config.yml Source: /octocat/personal-website Destination: /octocat/_site Incremental build: disabled. Enable with --incremental - Generating... + Generating... GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data. done in 14.729 seconds. Auto-regeneration: enabled for '/octocat/personal-website' @@ -59,9 +59,7 @@ Configuration file: /octocat/personal-website/_config.yml Server running... press ctrl-c to stop. ``` -Don't worry about the GitHub API errors. They are caused because it's run in a dev enviornment and not on GitHub Pages. - -You can set a GitHub API Token by setting the `JEKYLL_GITHUB_TOKEN` to your personal access token. +Don't worry about the "No GitHub API authentication could be found" message. [API authentication is only necessary](https://github.com/jekyll/github-metadata/blob/master/docs/authentication.md) if you intend to display more detailed metadata, like a branch name. 6. Now browse to [http://localhost:4000](http://localhost:4000)