Skip to content

Commit

Permalink
records: remove {{ title }} from JSON-LD
Browse files Browse the repository at this point in the history
* Accidentally inserted in c86e41b
* Gives "Unparsable structured data issues" from Google Search Console.
  • Loading branch information
GraemeWatt committed Aug 26, 2023
1 parent 2021d52 commit fe060f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@
{%- block json_ld %}
{% if ctx.json_ld and 'error' not in ctx.json_ld %}
<script type="application/ld+json">
{{ title }}
{{ ctx.json_ld|tojson }}

{{ ctx.json_ld|tojson }}
</script>
{% endif %}
{%- endblock json_ld %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
{%- block json_ld %}
{% if ctx.json_ld and 'error' not in ctx.json_ld %}
<script type="application/ld+json">
{{ ctx.json_ld|tojson }}

{{ ctx.json_ld|tojson }}
</script>
{% endif %}
{%- endblock json_ld %}
Expand Down
2 changes: 1 addition & 1 deletion hepdata/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
and parsed by ``setup.py``.
"""

__version__ = "0.9.4dev20230825"
__version__ = "0.9.4dev20230826"

0 comments on commit fe060f8

Please sign in to comment.