twerske 3cfb4b4ef9 docs: add embedded videos to error guides (#40453)
add embedded youtube videos
provide visual debugging for top errors

PR Close #40453
2021-01-20 08:47:00 -08:00

28 lines
642 B
HTML

{% import "lib/githubLinks.html" as github -%}
<h1>{$ doc.code $}: {$ doc.shortDescription $}</h1>
<div class="github-links">
{$ github.githubEditLink(doc, versionInfo) $}
</div>
{% if doc.videoUrl.length %}
<div class="error-video-container">
<iframe
src="{$ doc.videoUrl $}"
frameborder="0"
allow="accelerometer; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
{% endif%}
{% block content %}
<div class="content">
<h2>Description</h2>
{$ doc.description | marked $}
</div>
<br>
<div class="debugging">
<h2>Debugging the error</h2>
{$ doc.debugging | marked $}
</div>
{% endblock %}