This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80 ; | |
listen [::]:80; | |
server_name newstore.com.ua www.newstore.com.ua; | |
return 301 https://www.$server_name$request_uri; | |
} | |
server { | |
listen 443 ssl; | |
listen [::]:443; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% import _self as recursive_category_macro %} | |
{% macro recursive_category(category, recursive_category_macro) %} | |
<li> | |
<h4>{{ category.nameRu }}</h4> | |
{% if category.SChildren|length %} | |
<ul> | |
{% for child in category.SChildren %} | |
{{ recursive_category_macro.recursive_category(child, recursive_category_macro) }} |
OlderNewer