Skip to content

Commit

Permalink
Merge pull request #57 from UCLH-Foundry/fix/54-search-result-links
Browse files Browse the repository at this point in the history
Make search result link relative
  • Loading branch information
tcouch authored Jan 16, 2024
2 parents 3902aa4 + ffb5ee3 commit d792428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"authors": "{{ project.authors | join: ", " | xml_escape }}",
"category": "{{ project.category | xml_escape }}",
"content": {{ project.content | strip_html | strip_newlines | jsonify }},
"url": "{{ project.url | xml_escape }}"
"url": "{{ project.url | xml_escape | relative_url }}"
}
{%- unless forloop.last -%},{%- endunless -%}
{%- endfor -%}
Expand Down

0 comments on commit d792428

Please sign in to comment.