Skip to content

Commit

Permalink
Add Twitter, LinkedIn and GitHub Sponsors buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskyfung committed Mar 2, 2023
1 parent 8838328 commit 92fdb5e
Show file tree
Hide file tree
Showing 12 changed files with 1,216 additions and 1,119 deletions.
79 changes: 17 additions & 62 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,62 +1,17 @@
{
"frontMatter.taxonomy.modifiedField": "last_modified_at",
"grammarly.domain": "technical",
"grammarly.userWords": [
"css",
"jekyll",
"html"
],
"grammarly.audience": "general",
"grammarly.hideUnavailablePremiumAlerts": true,
"frontMatter.taxonomy.contentTypes": [
{
"name": "default",
"fields": [
{
"title": "Title",
"name": "title",
"type": "string"
},
{
"title": "Description",
"name": "description",
"type": "string"
},
{
"title": "Publishing date",
"name": "date",
"type": "datetime"
},
{
"title": "Article preview",
"name": "preview",
"type": "image"
},
{
"title": "Is in draft",
"name": "draft",
"type": "boolean"
},
{
"title": "Tags",
"name": "tags",
"type": "tags"
},
{
"title": "Categories",
"name": "categories",
"type": "categories"
},
{
"name": "last_modified_at",
"type": "datetime"
}
]
}
],
"liveServer.settings.proxy": {
"enable": true,
"baseUri": "/amp-affiliately-jekyll-theme",
"proxyUri": "http://127.0.0.1:5500/_site"
}
}
{
"grammarly.domain": "technical",
"grammarly.userWords": [
"css",
"jekyll",
"html"
],
"grammarly.audience": "general",
"grammarly.hideUnavailablePremiumAlerts": true,
"liveServer.settings.proxy": {
"enable": true,
"baseUri": "/amp-affiliately-jekyll-theme",
"proxyUri": "http://127.0.0.1:5500/_site"
},
"frontMatter.framework.startCommand": "bundle exec jekyll serve",
"frontMatter.preview.host": "http://127.0.0.1:4000/amp-affiliately-jekyll-theme/"
}
81 changes: 44 additions & 37 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,37 +1,44 @@
source "https://rubygems.org"

ruby RUBY_VERSION

# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 4.2.0"

# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
gem 'jekyll-archives'
gem 'jekyll-feed'
gem 'jekyll-paginate'
gem 'jekyll-redirect-from'
gem 'jekyll-seo-tag'
gem 'jekyll-sitemap'
gem "jekyll-github-metadata"
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", "~> 1.2"
gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
source "https://rubygems.org"

ruby RUBY_VERSION

# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 4.2.0"

# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
gem 'jekyll-archives'
gem 'jekyll-feed'
gem 'jekyll-paginate'
gem 'jekyll-redirect-from'
gem 'jekyll-seo-tag'
gem 'jekyll-sitemap'
gem "jekyll-github-metadata"
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo"
gem "tzinfo-data"
end

if RUBY_PLATFORM.downcase.include?('mswin') || RUBY_PLATFORM.downcase.include?('mingw')
gem "tzinfo"
gem "tzinfo-data"
end

gem "webrick"

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
Loading

0 comments on commit 92fdb5e

Please sign in to comment.