mirror of
https://github.com/CoolnsX/my-website.git
synced 2025-12-20 07:15:19 +05:30
blog: server setup starrs
This commit is contained in:
13
templates/shortcodes/code.html
Normal file
13
templates/shortcodes/code.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<div class="my-4 text-white space-y-4">
|
||||
<!-- File name -->
|
||||
{% if file %}
|
||||
<p class="text font-semibold text-gray-400 ml-2 break-words">
|
||||
{{ file }}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
<!-- Body content -->
|
||||
<div>
|
||||
{{ body | markdown | safe }}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user