Skip to content

Commit

Permalink
=
Browse files Browse the repository at this point in the history
  • Loading branch information
arikaim-repository committed Feb 23, 2020
1 parent 8db2fac commit e6f9ad4
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
6 changes: 6 additions & 0 deletions copyright/copyright-es.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"labels": {
"label": "Derechos de autor",
"default": "Tu compañía"
}
}
6 changes: 6 additions & 0 deletions copyright/copyright-ru.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"labels": {
"label": "Авторское Право",
"default": "Ваша компания"
}
}
4 changes: 2 additions & 2 deletions copyright/copyright.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{% set current_year = currentYear() %}
{% set show_label = show_label|default(true) %}
{% set company = company|default('Your company') %}
{% set company = company|default(labels.default) %}
<i class="icon copyright {{ icon_class }}"></i>
{% if show_label == true %}
<span class="text-gray-500">{{ label }}</span>
<span class="text-gray-500">{{ labels.label }}</span>
{% endif %}
<span class="ml-2 text-gray-500">
{% if from_year is not empty and from_year < current_year %}
Expand Down
5 changes: 4 additions & 1 deletion copyright/copyright.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"label": "Copyright"
"labels": {
"label": "Copyright",
"default": "Your company"
}
}
4 changes: 2 additions & 2 deletions head/head.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{% set head = head|merge(items) %}
{% set charset = head.charset|default('utf-8') %}
{% set exclude = ['viewport','favicons','og','twitter'] %}
<head lang="{{ getLanguage() }}">
<head lang="{{ current_language|default('en') }}">
<meta name="robots" content="index, follow, all" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>{{ head.title }}</title>
<meta charset="{{ charset }}">
<base href="{{ base_url }}"/>
<meta name="language" content="{{ getLanguage() }}">
<meta name="language" content="{{ current_language|default('en') }}">
{% for key,value in head %}
{%- if value is not empty and key not in exclude -%}
<meta name="{{ key }}" content="{{ value }}"/>
Expand Down

0 comments on commit e6f9ad4

Please sign in to comment.