Skip to content

Commit 6667e73

Browse files
committed
reimplment meta opengraph removed in changeset 6628:2bb6d7baa47d
Re-enable the meta title, description etc. Also hide the : in og tags using \:. Then postprocess the index.html files to remove the \.
1 parent 6961add commit 6667e73

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

website/www/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ docs:
1717

1818
# after upgrade to sphinx 1.8.5, search.html is missing load of searchtools.
1919
# fix that in postprocess
20+
# also sed index.html to properly format meta og:... entries.
2021
html: docs
2122
mkdir -p $(TMP)/doctrees $(HTML)
2223
sphinx-build -n -W -b html -d $(TMP)/doctrees . $(HTML)
2324
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
25+
sed -i -e '/<meta/s/og\\:/og:/' html/index.html
2426

2527
linkcheck:
2628
mkdir -p $(TMP)/linkcheck $(TMP)/doctrees

website/www/index.txt

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
Roundup Issue Tracker
22
=====================
33

4-
.. raw:: foo
5-
6-
meta::
4+
.. meta::
75
:title: Roundup Issue Tracker
86
:description: A simple-to-use and -install issue-tracking system
97
with command-line, web, REST, XML-RPC and e-mail interfaces.
108
Adaptable to many uses cases. Allows you to customise the look
119
and feel and implement different workflows.
12-
:og:type: website
13-
:og:url: https://www.roundup-tracker.org/
14-
:og:title: Roundup Issue Tracker
15-
:og:description: A simple-to-use and -install issue-tracking system
10+
:og\:type: website
11+
:og\:url: https://www.roundup-tracker.org/
12+
:og\:title: Roundup Issue Tracker
13+
:og\:description: A simple-to-use and -install issue-tracking system
1614
with command-line, web, REST, XML-RPC and e-mail interfaces.
1715
Adaptable to many uses cases. Allows you to customise the look
1816
and feel and implement different workflows.
19-
:og:image: https://www.roundup-tracker.org/_images/index_logged_out.png
17+
:og\:image: https://www.roundup-tracker.org/_images/index_logged_out.png
2018

2119
.. raw:: html
2220

0 commit comments

Comments
 (0)