From bf8ba18f2de900fafb254ec7c707a5f2fcd9fae4 Mon Sep 17 00:00:00 2001 From: Filipe Mosca Date: Sun, 15 Sep 2019 18:38:22 -0300 Subject: [PATCH] Adding an example of date_modified use Hi! I spent all day trying to figure out how to use the "date_modified" function in jekyll-seo. Now that I understand, I would like to add an example to help others with the same problem as me. Thanks! --- docs/advanced-usage.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/advanced-usage.md b/docs/advanced-usage.md index 690c78d..02ed499 100644 --- a/docs/advanced-usage.md +++ b/docs/advanced-usage.md @@ -78,6 +78,13 @@ The following options can be set for any particular page. While the default opti * `links` - An array of other URLs that represent the same thing that this page represents. For instance, Jane's bio page might include links to Jane's GitHub and Twitter profiles. * `date_modified` - Manually specify the `dateModified` field in the JSON-LD output to override Jekyll's own `dateModified`. This field will take **first priority** for the `dateModified` JSON-LD output. This is useful when the file timestamp does not match the true time that the content was modified. A user may also install [Last Modified At](https://github.com/gjtorikian/jekyll-last-modified-at) which will offer an alternative way of providing for the `dateModified` field. + +For example, you can use: + +```yml +seo: + date_modified: 2019-09-15 18:10:00 -03:00 +``` ### Customizing image output