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/15] 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/15] 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/15] 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/15] 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/15] 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/15] 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/15] 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 2f9a3d27094a4d87904f8b6ea2381142c80f387a Mon Sep 17 00:00:00 2001 From: Tsubasa Takayama Date: Wed, 13 Mar 2019 15:22:39 +0900 Subject: [PATCH 08/15] Revert "Merge pull request #58 from lucario/patch-1" This reverts commit c934c47ce8c81e0ff8235b56f44280d34a8a1825, reversing changes made to 7f7e37760cb7e195da3988a2e62cda7710543c8c. --- README.md | 2 +- _includes/header.html | 4 ++-- _layouts/default.html | 2 +- _layouts/home.html | 2 +- _layouts/post.html | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index bb8a9d3..2bc139f 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ It's your website, and you control the source code. So you can customize everyth Most customizations can be done in a matter of seconds, by revising your repository's `_config.yml` file. Just remember to restart your local server each time you save new changes so your Jekyll-powered website rebuilds correctly: 1. Shut down your server by entering the keyboard command CTRL+c -2. Restart your server: `bundle exec jekyll serve` +2. Restart your server: `jekyll serve` #### Layout diff --git a/_includes/header.html b/_includes/header.html index d6de987..2010e54 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -17,7 +17,7 @@ {% endif %} - + @@ -25,4 +25,4 @@ - + diff --git a/_layouts/default.html b/_layouts/default.html index d5f4b10..e41abe1 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -11,7 +11,7 @@ {% else %} -
+
{% include masthead.html metadata=true %}
diff --git a/_layouts/home.html b/_layouts/home.html index 4379d5d..f0341c9 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -25,7 +25,7 @@ {% endunless %}
{% else %} -
+
{% include masthead.html metadata=true %}
diff --git a/_layouts/post.html b/_layouts/post.html index ffa3cf5..f6bc49e 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -47,7 +47,7 @@
{% else %} -
+
{% include masthead.html metadata=true %}
From 17b734e7e0ba9715ac93461575afe7de7c20c3dd Mon Sep 17 00:00:00 2001 From: Brandon Rosage Date: Thu, 7 Mar 2019 11:08:59 -0600 Subject: [PATCH 09/15] slipped in small mistake in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2bc139f..bb8a9d3 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ It's your website, and you control the source code. So you can customize everyth Most customizations can be done in a matter of seconds, by revising your repository's `_config.yml` file. Just remember to restart your local server each time you save new changes so your Jekyll-powered website rebuilds correctly: 1. Shut down your server by entering the keyboard command CTRL+c -2. Restart your server: `jekyll serve` +2. Restart your server: `bundle exec jekyll serve` #### Layout From 82184929e3d69622fb8b7c425a4c2bd87216e55a Mon Sep 17 00:00:00 2001 From: Tsubasa Takayama Date: Wed, 13 Mar 2019 13:38:36 +0900 Subject: [PATCH 10/15] Fix an issue missing page height --- _includes/header.html | 4 ++-- _layouts/default.html | 2 +- _layouts/home.html | 2 +- _layouts/post.html | 2 +- assets/styles.scss | 4 ++++ 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/_includes/header.html b/_includes/header.html index 2010e54..d36b79a 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -17,7 +17,7 @@ {% endif %} - + @@ -25,4 +25,4 @@ - + diff --git a/_layouts/default.html b/_layouts/default.html index e41abe1..3b23590 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -11,7 +11,7 @@
{% else %} -
+
{% include masthead.html metadata=true %}
diff --git a/_layouts/home.html b/_layouts/home.html index f0341c9..967fe11 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -25,7 +25,7 @@ {% endunless %}
{% else %} -
+
{% include masthead.html metadata=true %}
diff --git a/_layouts/post.html b/_layouts/post.html index f6bc49e..c53e304 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -47,7 +47,7 @@
{% else %} -
+
{% include masthead.html metadata=true %}
diff --git a/assets/styles.scss b/assets/styles.scss index cf3fe80..1536e3b 100644 --- a/assets/styles.scss +++ b/assets/styles.scss @@ -37,3 +37,7 @@ padding-left: 16px; } } + +.min-height-full { + min-height: 100vh; +} From 03ce0c2a44d72854fa3758527ab74199021d8f19 Mon Sep 17 00:00:00 2001 From: Matej Plavevski Date: Wed, 13 Mar 2019 22:09:09 +0100 Subject: [PATCH 11/15] 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 12/15] 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 13/15] 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 14/15] 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 15/15] 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)