Skip to content

Commit b721e79

Browse files
committed
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.
1 parent 2e69b27 commit b721e79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

website/www/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ html: docs
2626
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
2727
# sphinx inserts \: for : in meta tags. Get rid of the \ in
2828
# opengraph tags
29-
sed -i -e '/<meta/s/og\\:/og:/' html/index.html
29+
sed -i -e '/<meta/s/og\\:/og:/' \
30+
-e '/<meta/s/name="og:/property="og:/' html/index.html
3031
cp robots.txt html/robots.txt
3132

3233
linkcheck:

0 commit comments

Comments
 (0)