feat: Rewrite in Zola
This commit is contained in:
3
templates/shortcodes/crt.html
Normal file
3
templates/shortcodes/crt.html
Normal file
@ -0,0 +1,3 @@
|
||||
<div class="crt scanlines">
|
||||
{{ body | markdown | safe }}
|
||||
</div>
|
12
templates/shortcodes/image.html
Normal file
12
templates/shortcodes/image.html
Normal file
@ -0,0 +1,12 @@
|
||||
<a href="{{url}}">
|
||||
<img
|
||||
class="
|
||||
{% if full %}full{% endif %}
|
||||
{% if pixels %}pixels{% endif %}
|
||||
{% if transparent %}transparent{% endif %}
|
||||
{% if no_hover %}no-hover{% endif %}
|
||||
"
|
||||
{% if alt %}alt="{{alt}}"{% endif %}
|
||||
src="{% if url_min %}{{url_min}}{% else %}{{url}}{% endif %}"
|
||||
/>
|
||||
</a>
|
10
templates/shortcodes/video.html
Normal file
10
templates/shortcodes/video.html
Normal file
@ -0,0 +1,10 @@
|
||||
<video
|
||||
class="
|
||||
{% if full %}full{% endif %}
|
||||
{% if pixels %}pixels{% endif %}
|
||||
{% if transparent %}transparent{% endif %}
|
||||
"
|
||||
{% if alt %}alt="{{alt}}"{% endif %}
|
||||
controls
|
||||
src="{{url}}">
|
||||
</video>
|
Reference in New Issue
Block a user