Skip to content

Commit

Permalink
optional terms
Browse files Browse the repository at this point in the history
  • Loading branch information
michaljaz committed Nov 18, 2023
1 parent dbcdda6 commit 35321e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ ShopMC opensource templates

|Name|URL|
|-|-|
|Basic|https://raw.githubusercontent.com/ShopMcApp/templates/main/views/basic.ejs|
|Basic|https://raw.githubusercontent.com/ShopMcApp/shopmc-templates/main/views/basic.ejs|
2 changes: 2 additions & 0 deletions views/basic.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
</div>
<div class="gap-8 uppercase hidden md:flex">
<a href="#" class="text-xl font-bold">Sklep</a>
<% if(config.terms){ %>
<a href="#" class="text-xl font-bold">Regulamin</a>
<% } %>
<a href="#" class="text-xl font-bold">Voucher</a>
<% if(config.discord){ %>
<a href="<%= config.discord_url %>" target="_blank">
Expand Down

0 comments on commit 35321e1

Please sign in to comment.