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>
|
||||
@@ -4,4 +4,4 @@
|
||||
{%- set amount_in_usd = amount * usd_rate -%}
|
||||
{%- set amount_in_eur = amount * eur_rate -%}
|
||||
|
||||
₹{{ amount }} (${{ amount_in_usd | round }} or €{{ amount_in_eur | round }})
|
||||
₹{{ amount | num_format }} (${{ amount_in_usd | round }} or €{{ amount_in_eur | round }})
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
%}
|
||||
|
||||
<hr class="border-gray-700 my-4">
|
||||
<a id="{{ href }}" class="text-3xl font-bold focus:outline-none focus:ring-0" href="#{{ href }}" aria-label="Anchor link for : {{ href }}">
|
||||
<div class="flex justify-center">
|
||||
<a id="{{ href }}" class="justify-center text-3xl font-bold focus:outline-none focus:ring-0" href="#{{ href }}" aria-label="Anchor link for : {{ href }}">
|
||||
{{ text | safe }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user