Skip to content

Commit

Permalink
Fix incorrect order of comments resulting in accidental output (#1552)
Browse files Browse the repository at this point in the history
  • Loading branch information
bash committed Jul 7, 2024
1 parent 4b86666 commit d407529
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions templates/shortcodes/embed_video.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!-- {#
{# <!--
Embed a video into a markdown file. Example usage:
{{ embed_video(type="video/mp4", src="my-video.mp4", caption="Some caption.") }}
#} -->
--> #}
<figure>
<video controls autoplay muted loop>
<source type="{{ type }}" src="{{ get_url(path=page.colocated_path ~ src)}}" />
Expand Down
4 changes: 2 additions & 2 deletions templates/shortcodes/image_figure.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- {#
{# <!--
Displays an image with a legend.
Example usage:
Expand All @@ -25,7 +25,7 @@
alt="image/GIF description"
src="image link"
caption="[image caption](https://example.com)") }}
#} -->
--> #}

{% if src != "image link" %}
{# Only validate against placeholders if we're not in the example #}
Expand Down

0 comments on commit d407529

Please sign in to comment.