Commit Graph

202 Commits

Author SHA1 Message Date
Ben Balter e31c9e7ca7
add unit tests for Jekyll::SeoTag 2017-09-06 12:33:19 -04:00
Ben Balter 3805012e9a
Template payload should be a UnifiedPayloadDrop, not a hash 2017-09-06 12:16:10 -04:00
Frank Taillandier f9cabae8a6 add jekyll version to the drop 2017-09-06 01:11:33 +02:00
Frank Taillandier cc092dd95d
add meta generator 2017-09-05 23:19:27 +02:00
Ben Balter 1b66cb1522
Bump to 2.3.0 2017-08-24 15:07:19 -04:00
Ben Balter d893fc7646
cache parsed template 2017-08-24 13:22:59 -04:00
Ben Balter d79dac001e
whitespace 2017-08-24 13:05:56 -04:00
Ben Balter 1e5b997901
typo in code comment 2017-08-24 13:05:28 -04:00
Ben Balter 83d420113c
add json_ld back to JSONLD to avoid a breaking change 2017-08-24 13:01:43 -04:00
Ben Balter 5219dd13e6
drop the a, just JSON 2017-08-23 16:25:28 -04:00
Ben Balter 5de6cd7f2c
convert JSON LD to a drop 2017-08-23 16:11:55 -04:00
Ben Balter 298d3b03d6
Drop#image should return nil if there is no image#path in order to avoid a breaking change 2017-08-23 12:18:52 -04:00
Ben Balter 1081a0ebd9
break image logic into its own drop 2017-08-23 12:11:30 -04:00
Ben Balter 2e90fc7238
move author drop tests to their own spec 2017-08-23 11:32:36 -04:00
Ben Balter 891d621899
move author logic to its own drop 2017-08-23 11:07:52 -04:00
Ben Balter 6197b2e7a8 Merge branch 'master' into site-authors-array 2017-08-22 13:03:23 -04:00
Ben Balter 7cab0247ed
fix for image.path causing an invalid url error 2017-08-22 11:53:18 -04:00
Ben Balter a59b596a2b
comment site_author_hash 2017-08-22 11:41:02 -04:00
Ben Balter f78999819f
ensure site.data.authors is in the expected format before resolving author meta 2017-08-22 11:39:52 -04:00
Ben Balter fb7a346b48
dont use unless and else, per rubocop 2017-05-25 09:35:03 -04:00
Ben Balter 83d7c3dd63 s/if !/unless/ 2017-05-25 09:29:09 -04:00
Parth Modi ab49d7b5e8 `.present?` changed to `to_s.empty?` as `.present?` is rails specific 2017-05-24 22:35:07 +05:30
Parth Modi 62956da2de use canonical_url specified in page if present 2017-05-24 22:10:30 +05:30
Ben Balter a868ab5837
Bump to 2.2.3 2017-05-06 12:18:36 -04:00
Ben Balter 19c6d2ae04
dont double format site title 2017-05-05 09:33:44 -04:00
Ben Balter 604b23e8fc
use site_description as page_description fallback 2017-05-05 09:27:17 -04:00
Ben Balter e637154c53
memoize site_description 2017-05-05 09:25:22 -04:00
Ben Balter e68122d8ce
guard against empty strings not being nil 2017-05-05 09:24:59 -04:00
Ben Balter 4f80ea50b7
fix for calling delete! on NiLClass 2017-05-02 09:42:21 -04:00
Ben Balter 908237c7ad
Bump to 2.2.2 2017-05-01 13:00:01 -04:00
Frank Taillandier 696b361f19 Merge branch 'master' into nil-image-path-fix 2017-04-26 20:02:36 +02:00
Ben Balter 13bc107b3f
guard against invalid or missing URLs 2017-04-26 12:48:08 -04:00
Ben Balter ad25053f0b
ensure subhashes are hashes 2017-04-26 10:52:12 -04:00
Ben Balter 416a5ca687
Bump to 2.2.1 2017-04-25 11:21:29 -04:00
Frank Taillandier e0c8173de2 Merge branch 'master' into author-by-reference 2017-04-13 20:50:17 +02:00
Ben Balter a035ec02bc
fix for including name when author is passed by reference 2017-04-13 13:32:04 -04:00
Kyle Niewiada 03cd692f99 Handle nil exception 2017-04-12 10:51:49 -04:00
Kyle Niewiada aa0b47bb8d Fix #187 2017-04-11 19:18:08 -04:00
Ben Balter bc0f45ae64
output image as an imageObject if we have additional image properties 2017-04-11 16:33:13 -05:00
Ben Balter 650fe5c1fd
use reduce to format strings 2017-04-11 15:19:17 -05:00
Ben Balter 8cb5953ea4
use addressible to determine absolute urls 2017-04-11 15:15:24 -05:00
Ben Balter cfe7e56cf8
better homepage_or_about detection 2017-04-11 15:13:24 -05:00
Ben Balter ab916c974e
memoize fallback_data 2017-04-11 14:59:45 -05:00
Ben Balter 0a70e8c172
remove stray begin block 2017-04-11 14:59:19 -05:00
Ben Balter ee1b03cd0a
memoize name 2017-04-11 14:58:10 -05:00
Ben Balter 993eafce00
memoize title? 2017-04-11 14:54:21 -05:00
Ben Balter d2f053dd43
add datePublished to JSON-LD schema 2017-04-10 09:58:41 -05:00
Ben Balter de12942f36
remove unused date method 2017-04-08 14:31:59 -04:00
Ben Balter 8a3cd3f9e3
specify timezone in tests 2017-04-08 14:27:45 -04:00
Ben Balter 66aff234ca
use ruby to generate json-ld 2017-04-08 14:20:21 -04:00