mirror of
https://github.com/CoolnsX/my-website.git
synced 2025-12-20 07:15:19 +05:30
feat: server setup intro blog
This commit is contained in:
7
templates/shortcodes/cost.html
Normal file
7
templates/shortcodes/cost.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{%- set usd_rate = 0.012 -%}
|
||||
{%- set eur_rate = 0.010 -%}
|
||||
|
||||
{%- set amount_in_usd = amount * usd_rate -%}
|
||||
{%- set amount_in_eur = amount * eur_rate -%}
|
||||
|
||||
₹{{ amount }} (${{ amount_in_usd | round }} or €{{ amount_in_eur | round }})
|
||||
Reference in New Issue
Block a user