Commit Graph

117 Commits

Author SHA1 Message Date
Amir Masoud Abdol 799da8f3bf
Added the `twitter:description` tag (#464)
Merge pull request 464
2022-07-13 16:47:29 -07:00
Tobias e19993b3e0
Template: Remove double new line (#454)
Merge pull request 454
2021-11-22 13:24:30 -05:00
Tobias 4a590c9d0b
Add `og:image:alt` and `twitter:image:alt` (#438)
Merge pull request 438
2021-11-22 12:56:57 -05:00
fauno 062604e7e1
Implement Facebook domain verification (#455)
Merge pull request 455
2021-10-28 12:59:07 -04:00
Igor Żuk f1b98288e3
Set the default og:type to 'website' (#391)
Merge pull request 391
2021-10-08 06:05:05 -04:00
Ashwin Maroli 54beeaaaf6
Render og:locale meta only when defined explicitly (#388)
Merge pull request 388
2020-10-08 10:42:00 -04:00
Martin Stühmer 16a5e3d6b0 Ensure a single leading `@` for twitter usernames (#367)
Merge pull request 367
2019-11-13 15:32:31 -05:00
Wei-Chung Liao 39442c20c6 Make Twitter card without having Twitter account (#284)
Merge pull request 284
2019-10-30 12:00:00 -04:00
Scott Watermasysk 7898489736 Twitter Image and Title (#330)
Merge pull request 330
2019-02-16 10:40:06 -05:00
Chris Blyth 643c2dbb06 Configure default Twitter summary card type (V2) (#225)
Merge pull request 225
2018-05-02 20:04:19 -04:00
Wang Shidong e3e6f8ff6b Add webmaster_verifications for baidu (#263)
Merge pull request 263
2018-01-17 05:44:50 -05:00
Andreas Möller ce38618ee7
Fix: Consistently use self-closing tags 2017-11-08 23:30:32 +01: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 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
Ben Balter 96e9823561
add tests for drop 2017-04-06 22:34:11 -04:00
Ben Balter f88db117f1
convert logic to a drop 2017-04-06 19:02:32 -04:00
Kyle Niewiada 61d4c91f3e Remove date default handle 2017-04-04 13:15:12 -04:00
Kyle Niewiada 9ec685a31b Merge branch 'master' into master 2017-04-04 11:51:05 -04:00
Aaron Gustafson 8a8a5e9859 Added hyphen to underscore coersion 2017-04-03 20:04:29 -04:00
Aaron Gustafson a2f64d46c3 Merge branch 'master' into add-locale-support 2017-04-03 15:10:14 -04:00
Aaron Gustafson 18ec5736c2 Variable rename 2017-04-03 15:09:35 -04:00
Kyle Niewiada ac0886dbf2 Merge branch 'master' into master 2017-04-03 13:51:25 -04:00
Ben Balter 32ec9300dc Merge pull request #174 from jhabdas/twitter-uses-og-image
refactor(template): use og:image for twitter
2017-04-03 13:51:00 -04:00
Kyle Niewiada 48ba285251 Image changes should be removed 2017-04-03 13:36:45 -04:00
Josh Habdas e264a9a94b
refactor(template): use og:image for twitter
#77 and #78 added support for different images on Twitter and Facebook, an advanced feature of SEO
Tag Gem. The implementation has led to complications updating JSON-LD data in #151. Under Pareto
principal we can reasonably assume this feature is not often used, and, as such, should be removed.
The result of which simplifies template logic, offers a fallback experience by leverages Twitter's
use of `og:image` in place of `twitter:image` (sees twitter card tag ref) and helps unblock #151.

Users can no longer specify a separate twitter and Facebook image. If both a Facebook (Open Graph)
and Twitter image are provided in the `image` object, the Facebook image will take precedence.
2017-04-04 00:58:53 +08:00
Aaron Gustafson abf32914b7 Switching to site.lang & page.lang to align with jekyll-feed 2017-04-03 11:21:48 -04:00
Aaron Gustafson 2191a550ee Test cleanup 2017-03-31 14:41:46 -04:00
Aaron Gustafson 308cf7a523 Added support for locale exposure as `og:locale` 2017-03-31 14:22:08 -04:00
Kyle Niewiada 0b289b820b Merge branch 'master' into master 2017-03-03 08:16:11 -05:00
Josh Habdas 2a48f272f6
Be more explicity with title assignments 2017-03-02 21:29:26 +08:00
Josh Habdas 51db5806c2
Correct template logic, resolve style issues 2017-03-02 20:24:13 +08:00
Josh Habdas 4eeb09a749
Update title separator. Closes #121
Replaces the "-" used as a title separator with "|".
Ref: https://moz.com/learn/seo/title-tag

Also updates docs to specify title optional and fix errata.
2017-03-02 12:15:09 +08:00
Kyle Niewiada 4c577ffb47 Add legacy test and maintain old methods 2017-02-17 10:30:44 -05:00
Kyle Niewiada a847a69eea Fix small test case blunder. 2017-02-16 14:16:11 -05:00
Kyle Niewiada ba16b955c8 Propose new image handling method. 2017-02-16 14:07:35 -05:00
Kyle Niewiada 8e36fe4da1 Update docs. Add use case. Add test. 2017-02-15 12:41:30 -05:00
Kyle Niewiada cc02710dbf Merge branch 'master' into master 2017-02-15 10:00:52 -05:00
kyle da498c7c5f Simplify documentation. Change to snake_case. Use Path instead of adding URL. 2017-01-30 10:37:27 -05:00
renshuki 903f9efab9 Implement seo_author.name 2017-01-29 04:33:50 +09:00
renshuki 81c9bc8fa4 Add author meta 2017-01-29 02:57:04 +09:00
kyle a0f65888e3 Remove Author tag. I guess it really isn't used anymore. 2017-01-25 12:18:29 -05:00
kyle 5437934214 Implement PR #103 for my own use. Change template to better fit existing style. 2017-01-25 11:35:18 -05:00
kyle fd5246a4cd Test output manually with Google Markup. Change inferred type. Improve test coverage 2017-01-25 11:05:38 -05:00
kyle 9aa2cbfb09 Wite tests for implemented features. 2017-01-18 14:57:36 -05:00
Kyle Niewiada 30d4ffc1a3 Fix language mistake
Well.... looks like I added an 'e'. Whoops.
2017-01-17 09:50:54 -05:00
Kyle Niewiada 4868d22b1b Add the rest of the JSON tags to pass blogPosting Errors/Warnings
This adds the rest of the JSON fields to pass all errors and blog postings.

- Adds page.image.url for the image url. (Will default to image if not present). 
- Add page.image.height and page.image.width for an image object (Will default back to image url if not present). 
- Add dateModified (will capture from yaml if present, if not it will use datePublished)
  - (I feel there should be a manual option for this as I sometimes save parts of my blog that shouldn't update the modified field, but still 
change the file timestamp).

This should create JSON that will pass all warnings/strong recommendations/errors from [Google's Structured Data Testing Tool](https://search.google.com/structured-data/testing-tool).
2017-01-17 09:39:41 -05:00
Kyle Niewiada 2ddab030f3 Fix word casing 2017-01-16 17:49:37 -05:00