Skip to content

Commit

Permalink
Make search result template naming consistent (#1844)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartfeenstra authored Aug 3, 2024
1 parent 1effdaf commit 308f795
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion betty/extension/cotton_candy/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async def _build_files(self) -> AsyncIterable[dict[str, str]]:
async def _render_entity(self, entity: Entity) -> str:
return await self._project.jinja2_environment.select_template(
[
f"search/result-{entity.plugin_id()}.html.j2",
f"search/result--{entity.plugin_id()}.html.j2",
"search/result.html.j2",
]
).render_async(
Expand Down

0 comments on commit 308f795

Please sign in to comment.