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
Add site_name Support and Enhance Description (#4)
* Move html tag formatting to a function
* Add support for og:site_name tag
* Enhance description
* Get title by parsing context instead of from doctree
* Add tests to new description creator
* Add newline
* Add newline
Co-authored-by: Dalton Smith <gamefollower26@gmail.com>
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@ These values are placed in the conf.py of your sphinx project.
12
12
* This config option is very important, set it to the URL the site is being hosted on.
13
13
*`ogp_description_length`
14
14
* Configure the amount of characters taken from a page. The default of 200 is probably good for most people. If something other than a number is used, it defaults back to 200.
15
+
*`ogp_site_name`
16
+
* This is not required. Name of the site. This is displayed above the title.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse at lorem ornare, fringilla massa nec, venenatis mi. Donec erat sapien, tincidunt nec rhoncus nec, scelerisque id diam. Orci varius natoque penatibus et magnis dis parturient mauris.
0 commit comments