You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ These are some overrides that can be used, you can actually override any tag and
78
78
*`:og:type:`
79
79
* Override the type of the page, for the list of available types take a look at https://ogp.me/#types.
80
80
*`:ogp:image:`
81
-
* Set the image for the page. Note: Relative file paths are ***not*** currently supported when using field lists.
81
+
* Set the image for the page.[^1]
82
82
*`:ogp:image:alt:`
83
83
* Sets the alt text. Will be ignored if there is no image set.
84
84
@@ -97,11 +97,11 @@ Page contents
97
97
### Arbitrary Tags
98
98
Additionally, you can use field lists to add any arbitrary OpenGraph tag not supported by the extension. The syntax for arbitrary tags is the same with `:og:tag: content`. For Example:
99
99
100
-
Note: Relative file paths are ***not*** currently supported for images, videos and audio when using field lists.
101
-
102
100
```rst
103
101
:og:video: http://example.org/video.mp4
104
102
105
103
Page contents
106
104
=============
107
105
```
106
+
107
+
[^1]Note: Relative file paths for images are currently converted to be relative to the root of the website as defined by `ogp_site_name`***not*** the source reStructuredText file. Additionally, relative file paths for videos and audio are currently **not** supported please use an absolute path instead.
0 commit comments