File tree Expand file tree Collapse file tree 4 files changed +31
-1
lines changed Expand file tree Collapse file tree 4 files changed +31
-1
lines changed Original file line number Diff line number Diff line change
1
+ ## Release 0.3.4 (current release)
2
+
3
+ ### Bug fixes
4
+
5
+ * Fixed an issue where the ` meta ` directive in ReST files was not properly registering
6
+ an Open Graph Twitter card.
7
+ [ #29 ] ( https://github.com/XanaduAI/xanadu-sphinx-theme/pull/29 )
8
+
9
+ ### Contributors
10
+
11
+ This release contains contributions from (in alphabetical order):
12
+
13
+ [ Josh Izaac] ( https://github.com/josh146 ) .
14
+
1
15
## Release 0.3.4
2
16
3
17
### Improvements
Original file line number Diff line number Diff line change 2
2
Example Sphinx-Gallery demo
3
3
===========================
4
4
5
+ .. meta::
6
+ :property="og:description": An example demo using the Xanadu Sphinx Theme generated using Sphinx Gallery.
7
+ :property="og:image": https://pennylane.ai/qml/_static/wigner.png
8
+
5
9
This tutorial is an example demo generated using Sphinx Gallery. Here are a few
6
10
references to see what they look like [#stokes2019]_ [#sweke2019]_.
7
11
Original file line number Diff line number Diff line change 3
3
using the following format: <major>.<minor>.<patch>[-<pre-release>].
4
4
"""
5
5
6
- __version__ = "0.3.4 "
6
+ __version__ = "0.3.5 "
Original file line number Diff line number Diff line change 2
2
3
3
{# Do this so that bootstrap is included before the main CSS file. #}
4
4
{%- block htmltitle %}
5
+
6
+
7
+ < meta property ="og:title " content ="{{ title|striptags|e }} — PennyLane ">
8
+ < meta property ="og:url " content ="{{ pageurl }} ">
9
+ < meta property ="og:type " content ="website ">
10
+ < meta name ="twitter:card " content ="summary_large_image ">
11
+
12
+ {% if metatags is defined %}
13
+ {% set description = metatags.split('\n') %}
14
+ {{ description[0] }}
15
+ {% endif %}
16
+
5
17
<!-- Google Fonts -->
6
18
< link rel ="stylesheet " href ="https://fonts.googleapis.com/css?family=Noto+Serif ">
7
19
< link rel ="stylesheet " href ="https://fonts.googleapis.com/css?family=Roboto&display=swap ">
You can’t perform that action at this time.
0 commit comments