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",
branch: "update-gemspec"
gem "jekyll-video-tag"
gem "jekyll-json-feed"
end
gem "jekyll-staging"
gem "octopress", "3.0.12.pre.1"
gem "octopress-deploy"
gem "kramdown"

View File

@ -47,6 +47,8 @@ GEM
pathutil (>= 0.8)
rack (~> 1.6)
sprockets (~> 3.3, < 3.8)
jekyll-json-feed (1.0.0)
jekyll (~> 3.3)
jekyll-paginate (1.1.0)
jekyll-sass-converter (1.5.0)
sass (~> 3.4)
@ -115,6 +117,7 @@ DEPENDENCIES
jekyll
jekyll-archives
jekyll-assets
jekyll-json-feed
jekyll-paginate
jekyll-picture-tag!
jekyll-staging
@ -129,4 +132,4 @@ DEPENDENCIES
uglifier
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.
subscribe_rss: "/atom.xml"
subscribe_json: "/feed.json"
plugins:
- jekyll-paginate
@ -24,6 +25,7 @@ plugins:
- jekyll-assets
- jekyll-picture-tag
- jekyll_video_tag
- jekyll-json-feed
- bourbon
simple_search: https://duckduckgo.com/

View File

@ -10,7 +10,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- 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 }}">
<!-- Large favicon for Opera Speed Dial -->