mirror of
https://github.com/andwati/andwati.com.git
synced 2026-11-17 22:35:11 +00:00
switched theme
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<aside class="callout callout-danger">
|
||||
<div class="callout-header">
|
||||
<svg class="callout-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"></polygon><line x1="15" y1="9" x2="9" y2="15"></line><line x1="9" y1="9" x2="15" y2="15"></line></svg>
|
||||
<span class="callout-title">{% if title %}{{ title }}{% else %}Danger{% endif %}</span>
|
||||
</div>
|
||||
<div class="callout-content">
|
||||
{{ body | markdown | safe }}
|
||||
</div>
|
||||
</aside>
|
||||
@@ -0,0 +1,9 @@
|
||||
<aside class="callout callout-note">
|
||||
<div class="callout-header">
|
||||
<svg class="callout-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line></svg>
|
||||
<span class="callout-title">{% if title %}{{ title }}{% else %}Note{% endif %}</span>
|
||||
</div>
|
||||
<div class="callout-content">
|
||||
{{ body | markdown | safe }}
|
||||
</div>
|
||||
</aside>
|
||||
@@ -0,0 +1,9 @@
|
||||
<aside class="callout callout-tip">
|
||||
<div class="callout-header">
|
||||
<svg class="callout-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><path d="M12 8v4"></path><path d="M12 16h.01"></path></svg>
|
||||
<span class="callout-title">{% if title %}{{ title }}{% else %}Tip{% endif %}</span>
|
||||
</div>
|
||||
<div class="callout-content">
|
||||
{{ body | markdown | safe }}
|
||||
</div>
|
||||
</aside>
|
||||
@@ -0,0 +1,9 @@
|
||||
<aside class="callout callout-warning">
|
||||
<div class="callout-header">
|
||||
<svg class="callout-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12.01" y2="17"></line></svg>
|
||||
<span class="callout-title">{% if title %}{{ title }}{% else %}Warning{% endif %}</span>
|
||||
</div>
|
||||
<div class="callout-content">
|
||||
{{ body | markdown | safe }}
|
||||
</div>
|
||||
</aside>
|
||||
@@ -0,0 +1,9 @@
|
||||
<div class="youtube-wrapper">
|
||||
<iframe
|
||||
src="https://www.youtube-nocookie.com/embed/{{ id }}{% if autoplay %}?autoplay=1{% endif %}"
|
||||
{% if title %}title="{{ title }}"{% endif %}
|
||||
loading="lazy"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
||||
allowfullscreen>
|
||||
</iframe>
|
||||
</div>
|
||||
Reference in New Issue
Block a user