Skip to content

Commit 4b7bd62

Browse files
Merge pull request #5813 from aogzpa:fix-components-layout
PiperOrigin-RevId: 767633901
2 parents 6c06074 + 0037c14 commit 4b7bd62

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

catalog/site/_includes/layouts/components.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@
1212

1313
{% block content %}
1414
{% if not ssrOnly %}
15-
<!-- Loads page JS on idle callback at src/hydration-entrypoints/components/md-file-name.ts -->
16-
<lit-island
17-
on:idle
18-
import="/js/hydration-entrypoints{{ page.filePathStem }}.js">
19-
</lit-island>
15+
<!-- Loads page JS on idle callback at src/hydration-entrypoints/components/md-file-name.ts -->
16+
<lit-island
17+
on:idle
18+
import="/js/hydration-entrypoints{{ page.filePathStem }}.js">
19+
{{ content | mdMarkdown | safe }}
20+
</lit-island>
21+
{% else %}
22+
{{ content | mdMarkdown | safe }}
2023
{% endif %}
21-
{{ content | mdMarkdown | safe }}
2224
{% endblock %}

0 commit comments

Comments
 (0)