From ffd960ca4eca3307140468eb1858d19d0bcfd3d4 Mon Sep 17 00:00:00 2001 From: Tomer Cohen Date: Sat, 7 Jun 2014 11:08:34 +0300 Subject: [PATCH 1/3] Allow usage of different Twitter and Github usernames and show these links only if twitter-username or github.username are set on _config.yml --- lib/site_template/_includes/footer.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/site_template/_includes/footer.html b/lib/site_template/_includes/footer.html index e9082174..9def50ed 100644 --- a/lib/site_template/_includes/footer.html +++ b/lib/site_template/_includes/footer.html @@ -13,8 +13,8 @@ From 35f5bb00395b7e54d76575d5c486cb22e7f00ac8 Mon Sep 17 00:00:00 2001 From: Tomer Cohen Date: Sat, 7 Jun 2014 11:16:43 +0300 Subject: [PATCH 2/3] Default entries for twitter/github usernames --- lib/site_template/_config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/site_template/_config.yml b/lib/site_template/_config.yml index 2c0d7379..1ed21acb 100644 --- a/lib/site_template/_config.yml +++ b/lib/site_template/_config.yml @@ -4,6 +4,8 @@ email: your-email@domain.com description: "Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description." baseurl: "" url: "http://yourdomain.com" +twitter-username: jekyllrb +github-username: jekyll # Build settings markdown: kramdown From 411cdb29a1ce51b726d197807a61ed4a2ba2e177 Mon Sep 17 00:00:00 2001 From: Tomer Cohen Date: Tue, 10 Jun 2014 00:00:01 +0300 Subject: [PATCH 3/3] Change Github/Twitter keywords to site.{twitter,github}_username Re: https://github.com/jekyll/jekyll/pull/2485/files#r13525347 --- lib/site_template/_config.yml | 4 ++-- lib/site_template/_includes/footer.html | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/site_template/_config.yml b/lib/site_template/_config.yml index 1ed21acb..ae45638b 100644 --- a/lib/site_template/_config.yml +++ b/lib/site_template/_config.yml @@ -4,8 +4,8 @@ email: your-email@domain.com description: "Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description." baseurl: "" url: "http://yourdomain.com" -twitter-username: jekyllrb -github-username: jekyll +twitter_username: jekyllrb +github_username: jekyll # Build settings markdown: kramdown diff --git a/lib/site_template/_includes/footer.html b/lib/site_template/_includes/footer.html index 9def50ed..0026c4c5 100644 --- a/lib/site_template/_includes/footer.html +++ b/lib/site_template/_includes/footer.html @@ -13,8 +13,8 @@