Commit graph

43 commits

Author SHA1 Message Date
Lars Olesen
b336eab85b
Strip trailing whitespace in seo_description (#2542) 2020-06-02 22:21:10 -04:00
iBug ♦
bcd6126612
Use relative_url and absolute_url where possible (#2387)
* Use relative_url and absolute_url where possible

Drops the `contains "://"` check, adopt Jekyll 3.7
Ref: https://github.com/mmistakes/minimal-mistakes/pull/2385#issuecomment-579882236

* One more unneeded {% assign %}

* Remove one more assign as noted by mmistakes

* Consolidate 4 more captures

* Consolidate an extra assign on "active" class
2020-03-06 15:37:07 -05:00
iBug ♦
c6b4cdac97 Fix wrong newline concatenation in SEO description, resolves #2354 (#2368)
Close #2354
2020-01-14 12:40:11 -05:00
Lars Olesen
0be64d50fc Fixed page.excerpt to seo_description (#2326) 2019-11-22 09:12:34 -05:00
Michael Rose
9ffdabb51f Fix site.url in Organization/Person JSON-LD schema
Close #1906
2019-08-09 09:58:39 -04:00
Michael Rose
d48fe54559 Harmonize site.url for Organization JSON-LD schema 2019-08-09 09:46:03 -04:00
Jason Thai
666c15a66b Fix default site.author in seo.html (#2230) 2019-08-09 09:08:02 -04:00
Sean Killeen
77059e3710 assign canonical directly if custom value exists (#2021) 2019-01-08 08:23:31 -05:00
Justin Rummel
82e9aee6a8 Change remaining schema.org markup to https (#1978) 2018-11-27 09:07:51 -05:00
David Tomaschik
53d1063c17 Include a default title_separator (#1701)
The current code prevented any separator being included when site.title_separator was unset.
2018-06-11 08:17:03 -04:00
GwonHyeok
70bff53a41 fix typo in seo template (#1687)
naver-site-verification to naver_site_verification
2018-06-04 12:10:27 -04:00
Michael Rose
1c0f19158d Replace | with HTML entity when used as title separator
ref: #760, #1506
2018-01-29 20:38:47 -05:00
Michael Rose
cd8fd82587 Remove extra spaces after : 2018-01-17 14:36:43 -05:00
d00616
6fee80f754 Fix jsonify name in seo.html application/ld+json script (#1485) 2018-01-17 14:35:50 -05:00
Michael Rose
51544d5c62
SEO and author fixes (#1456)
* Fix canonical URL
* Fix next/previous page paths
* Group meta types together
* Fix twitter:creator conditional
* Allow `author` to accept an object or string
* Reduce white-space
* Add "website" as default `og:type`
* Add `article:modified_time`
* Show `article:modified_time` on `article` only

Fixes #289
2018-01-09 13:58:35 -05:00
Michael Rose
869a0e5b73 Refactor seo.html and support OpenGraph image overrides (#1321)
- Refactor seo.html include and add `page.header.og_image` override
- DRY up handling of page images (`page.header.image`, `page.header.overlay_image`, `page.header.teaser`, and `site.og_image`).
- Allow page images to be set with `header.og_image` page variable in YAML Front Matter as per feature request in #1316.
- Add sample posts for testing `og_image` override
- Set author bio as site OpenGraph default image
- Document `page.header.og_image` OpenGraph override
- Update CHANGELOG and history

Close #1316
2017-10-26 15:50:13 -04:00
YoungSeon.Ahn
05dafce68f Add naver-site-verification to SEO (#1286)
* Add naver-site-verification to SEO

* Add 2 space indent
2017-10-04 11:16:08 -04:00
Michael Rose
dbdf5c2f25 Change default locale to en_US to appease OpenGraph debugger.
- Fixes #843
2017-02-28 08:57:54 -05:00
Rodolfo Saccani
c23c6f9765 meta tag "author" added, for site author the field name is used 2017-02-19 23:09:04 +01:00
Michael Rose
8b43573087 Merge branch 'feature/theme-gem' into develop 2016-11-02 15:50:14 -04:00
Michael Rose
d3b2e49044 Remove prepend: "/" from includes and add to image path's instead 2016-10-10 11:48:30 -04:00
Michael Rose
c3c0fc3f51 Replace base_path with absolute_url filter where possible 2016-10-06 15:40:30 -04:00
Justin Rummel
8c4f6e254e Update seo.html for meta description (#558)
Adding standard meta description immediately after seo_description has been defined
2016-09-27 15:19:22 -04:00
Michael Rose
77c5642803 Allow images to be placed in other folders
- Remove `images/` only restriction and encourage placement in `assets/images/` instead
2016-09-21 22:15:17 -04:00
Ryan Carpenter
f173b97404 Use page.header.teaser instead of site.og_image in twitter:image and og:image meta tags (#466) 2016-08-22 08:56:04 -04:00
Ryan Carpenter
c4d71dbea7 formats og:locale tag with underscores (#465)
See http://fbdevwiki.com/wiki/Locales
2016-08-21 23:25:41 -04:00
Michael Rose
cc0b266541 Add en default text to site.locale strings
- Close #407
2016-07-29 12:16:53 -04:00
Michael Rose
6d31ffe4ab Indicate the relationship between component URLs in a paginated series
- Apply rel="prev" and rel="next" to pages that use site.paginator
- Ref ~> https://webmasters.googleblog.com/2011/09/pagination-with-relnext-and-relprev.html
- Close #253
2016-07-11 11:56:09 -04:00
Josh Habdas
beaaa884ff Use header overlay images for Open Graph image 2016-06-13 11:03:48 -05:00
Josh Habdas
f3e5e0dafd Fix branch logic for Yandex and Alexa. Closes #347 2016-06-09 11:56:40 -05:00
Michael Rose
b3c0b79b92 Replace contains "http" with contains "://" 2016-06-03 11:59:19 -04:00
Michael Rose
b459af2120 Fix SEO author bug
- If `twitter.username` is set and `author.twitter` is nil bad things happen.
- Close #289
2016-04-27 10:19:00 -04:00
Michael Rose
5bba54da0b Fix site.og_image URL by appending /images/ the path
- Close #277
2016-04-19 08:43:21 -04:00
Michael Rose
92bfc93cc4 Fix bug when site.twitter is null 2016-04-14 15:12:04 -04:00
Michael Rose
d7df394a5e Make base_path available to all includes that need it 2016-04-14 14:45:48 -04:00
Michael Rose
2808bd322c Rename site.logo to site.og_image 2016-04-06 15:50:10 -04:00
Michael Rose
bda9a23261 Add locale string for "Page" 2016-03-23 21:49:01 -04:00
Michael Rose
f63b8fe294 Add file extensions back to non-helper _includes 2016-03-10 21:13:01 -05:00
Michael Rose
3bd495f1d4 Remove extensions from _includes to simplify naming 2016-03-07 10:27:07 -05:00
Michael Rose
9702a5f3d8 Fix <title> for pages without a title 2016-03-06 21:08:27 -05:00
Michael Rose
538d4cf450 Update header images
- Rename image.feature to header.image
2016-02-24 21:23:29 -05:00
Michael Rose
d14a360cd3 Improve SEO include 2016-02-23 10:13:15 -05:00
Michael Rose
fec3508b5d Add SEO stuff
- <head> related SEO
- Twitter Cards and Open Graph metas
- Webmaster tool verifications
2016-02-23 00:17:39 -05:00