mirror of https://github.com/Meekdai/Gmeek.git
commit
50d14d40e7
2
Gmeek.py
2
Gmeek.py
|
|
@ -16,7 +16,7 @@ from jinja2 import Environment, FileSystemLoader
|
||||||
from transliterate import translit
|
from transliterate import translit
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
######################################################################################
|
######################################################################################
|
||||||
i18n={"Search":"Search","switchTheme":"switch theme","home":"home","comments":"comments","run":"run ","days":" days","Previous":"Previous","Next":"Next"}
|
i18n={"Search":"Search","switchTheme":"switch theme","home":"home","comments":"comments","run":"run ","days":" day(s)","Previous":"Previous","Next":"Next"}
|
||||||
i18nCN={"Search":"搜索","switchTheme":"切换主题","home":"首页","comments":"评论","run":"网站运行 ","days":" 天","Previous":"上一页","Next":"下一页"}
|
i18nCN={"Search":"搜索","switchTheme":"切换主题","home":"首页","comments":"评论","run":"网站运行 ","days":" 天","Previous":"上一页","Next":"下一页"}
|
||||||
i18nRU={"Search":"Поиск","switchTheme": "Сменить тему","home":"Главная","comments":"Комментарии ","run":" работает ","days":" дней","Previous":"Предыдущая","Next":"Следующая"}
|
i18nRU={"Search":"Поиск","switchTheme": "Сменить тему","home":"Главная","comments":"Комментарии ","run":" работает ","days":" дней","Previous":"Предыдущая","Next":"Следующая"}
|
||||||
IconBase={
|
IconBase={
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,7 @@
|
||||||
{% for num in postListJson -%}
|
{% for num in postListJson -%}
|
||||||
<a class="SideNav-item d-flex flex-items-center flex-justify-between" href="{{ postListJson[num]['postUrl']|e }}">
|
<a class="SideNav-item d-flex flex-items-center flex-justify-between" href="{{ postListJson[num]['postUrl']|e }}">
|
||||||
<div class="d-flex flex-items-center">
|
<div class="d-flex flex-items-center">
|
||||||
<svg class="SideNav-icon octicon" style="witdh:16px;height:16px"><path class="svgTop{{ postListJson[num]['top'] }}" d=""></path>
|
<svg class="SideNav-icon octicon" style="width:16px;height:16px"><path class="svgTop{{ postListJson[num]['top'] }}" d=""></path>
|
||||||
</svg>
|
</svg>
|
||||||
<span class="listTitle">{{ postListJson[num]['postTitle']|e }}</span>
|
<span class="listTitle">{{ postListJson[num]['postTitle']|e }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue