1
0
mirror of https://github.com/danbee/danbarber.me synced 2025-03-04 08:59:10 +00:00

Add JSON feed

Also correct Atom feed URL.
This commit is contained in:
Daniel Barber 2018-01-23 10:56:44 -05:00
parent 9928804f16
commit 9a53b38d6e
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8
4 changed files with 9 additions and 3 deletions

View File

@ -15,12 +15,12 @@ group :jekyll_plugins do
git: "https://github.com/danbee/jekyll-picture-tag.git", git: "https://github.com/danbee/jekyll-picture-tag.git",
branch: "update-gemspec" branch: "update-gemspec"
gem "jekyll-video-tag" gem "jekyll-video-tag"
gem "jekyll-json-feed"
end end
gem "jekyll-staging" gem "jekyll-staging"
gem "octopress", "3.0.12.pre.1" gem "octopress", "3.0.12.pre.1"
gem "octopress-deploy"
gem "kramdown" gem "kramdown"

View File

@ -47,6 +47,8 @@ GEM
pathutil (>= 0.8) pathutil (>= 0.8)
rack (~> 1.6) rack (~> 1.6)
sprockets (~> 3.3, < 3.8) sprockets (~> 3.3, < 3.8)
jekyll-json-feed (1.0.0)
jekyll (~> 3.3)
jekyll-paginate (1.1.0) jekyll-paginate (1.1.0)
jekyll-sass-converter (1.5.0) jekyll-sass-converter (1.5.0)
sass (~> 3.4) sass (~> 3.4)
@ -115,6 +117,7 @@ DEPENDENCIES
jekyll jekyll
jekyll-archives jekyll-archives
jekyll-assets jekyll-assets
jekyll-json-feed
jekyll-paginate jekyll-paginate
jekyll-picture-tag! jekyll-picture-tag!
jekyll-staging jekyll-staging
@ -129,4 +132,4 @@ DEPENDENCIES
uglifier uglifier
BUNDLED WITH BUNDLED WITH
1.14.6 1.16.1

View File

@ -17,6 +17,7 @@ description: Web designer and developer for thoughtbot in London. Drummer and al
round musician. round musician.
subscribe_rss: "/atom.xml" subscribe_rss: "/atom.xml"
subscribe_json: "/feed.json"
plugins: plugins:
- jekyll-paginate - jekyll-paginate
@ -24,6 +25,7 @@ plugins:
- jekyll-assets - jekyll-assets
- jekyll-picture-tag - jekyll-picture-tag
- jekyll_video_tag - jekyll_video_tag
- jekyll-json-feed
- bourbon - bourbon
simple_search: https://duckduckgo.com/ simple_search: https://duckduckgo.com/

View File

@ -10,7 +10,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- Links --> <!-- Links -->
<link href="{{ site.subscribe_rss }}" rel="alternate" title="{{site.title}}" type="application/atom+xml"> <link rel="alternate" type="application/atom+xml" title="{{site.title}}" href="{{ site.url }}{{ site.subscribe_rss }}">
<link rel="alternate" type="application/json" title="{{site.title}}" href="{{ site.url }}{{ site.subscribe_json }}">
<link rel="canonical" href="{{ canonical }}"> <link rel="canonical" href="{{ canonical }}">
<!-- Large favicon for Opera Speed Dial --> <!-- Large favicon for Opera Speed Dial -->