Mercurial > p > roundup > code
changeset 6811:075a2f6d703b
fix opengraph meta tags name should be property.
the od meta tags generted by sphix (without the opengraph module)
use meta name= but it should be meta property=. sed the file to
fix it.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 02 Aug 2022 21:45:27 -0400 |
| parents | 74cafb11351f |
| children | d7905a78ab8a |
| files | website/www/Makefile |
| diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/website/www/Makefile Tue Aug 02 21:43:09 2022 -0400 +++ b/website/www/Makefile Tue Aug 02 21:45:27 2022 -0400 @@ -26,7 +26,8 @@ grep 'searchtools.js' html/search.html || sed -i -e '/language_data.js/s#</script>#</script>\n <script type="text/javascript" src="_static/searchtools.js"></script>#' html/search.html # sphinx inserts \: for : in meta tags. Get rid of the \ in # opengraph tags - sed -i -e '/<meta/s/og\\:/og:/' html/index.html + sed -i -e '/<meta/s/og\\:/og:/' \ + -e '/<meta/s/name="og:/property="og:/' html/index.html cp robots.txt html/robots.txt linkcheck:
