2023-10-17 05:03:42
This commit is contained in:
parent
b80f230376
commit
aed59d36c8
4 changed files with 11 additions and 6 deletions
|
@ -27,6 +27,7 @@ languages: { other: 'Languages' }
|
|||
license: { other: 'License' }
|
||||
license_header: { other: 'License header' }
|
||||
license_text: { other: 'License text' }
|
||||
logo: { other: 'Logotype' }
|
||||
meta: { other: 'Meta' }
|
||||
minutes: { other: 'min.' }
|
||||
posts: { other: 'Posts' }
|
||||
|
@ -47,6 +48,7 @@ sys_path: { other: 'System path' }
|
|||
tags: { other: 'Tags' }
|
||||
terminal: { other: 'Terminal' }
|
||||
toc: { other: 'Contents' }
|
||||
toggle_navigation: { other: 'Toggle navigation' }
|
||||
type: { other: 'Type' }
|
||||
uuid: { other: 'UUID' }
|
||||
word_count: { other: 'Word count' }
|
||||
|
|
|
@ -27,6 +27,7 @@ languages: { other: 'Языки' }
|
|||
license: { other: 'Лицензия' }
|
||||
license_header: { other: 'Заголовок лицензии' }
|
||||
license_text: { other: 'Текст лицензии' }
|
||||
logo: { other: 'Логотип' }
|
||||
meta: { other: 'Мета' }
|
||||
minutes: { other: 'мин.' }
|
||||
posts: { other: 'Статьи' }
|
||||
|
@ -47,6 +48,7 @@ sys_path: { other: 'Системный путь' }
|
|||
tags: { other: 'Теги' }
|
||||
terminal: { other: 'Терминал' }
|
||||
toc: { other: 'Содержание' }
|
||||
toggle_navigation: { other: 'Переключить навигацию' }
|
||||
type: { other: 'Тип' }
|
||||
uuid: { other: 'UUID' }
|
||||
word_count: { other: 'Количество слов' }
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
{{ range ($block) }}
|
||||
<div class="col-lg">
|
||||
<article>
|
||||
<h4 class="h5 border-bottom pb-1 mb-3">{{ (.Title) }}</h4>
|
||||
<h2 class="h5 border-bottom pb-1 mb-3">{{ (.Title) }}</h2>
|
||||
<div class="node-body">{{ (.Content) }}</div>
|
||||
</article>
|
||||
</div>
|
||||
|
@ -39,21 +39,22 @@
|
|||
<ul class="list-inline mb-0">
|
||||
{{ with (.OutputFormats.Get "rss") }}
|
||||
<li class="list-inline-item" data-bs-tooltip data-bs-title='{{ ((.Name) | upper) }}'>
|
||||
<a class="btn btn-light btn-sm" href="{{ (.RelPermalink) }}" target="_blank">
|
||||
<a class="btn btn-light btn-sm" href="{{ (.RelPermalink) }}" target="_blank" aria-label='{{ ((.Name) | upper) }}'>
|
||||
<i class="fas fa-rss fa-fw"></i>
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ with (.OutputFormats.Get "json") }}
|
||||
<li class="list-inline-item" data-bs-tooltip data-bs-title='{{ ((.Name) | upper) }}'>
|
||||
<a class="btn btn-light btn-sm" href="{{ (.RelPermalink) }}" target="_blank">
|
||||
<a class="btn btn-light btn-sm" href="{{ (.RelPermalink) }}" target="_blank" aria-label='{{ ((.Name) | upper) }}'>
|
||||
<i class="fas fa-code fa-fw"></i>
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ with (site.Home.AllTranslations) }}
|
||||
<li class="list-inline-item dropup" data-bs-tooltip data-bs-title='{{ (i18n "languages") }}'>
|
||||
<a class="dropdown-toggle btn btn-light btn-sm" href="#" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<a class="dropdown-toggle btn btn-light btn-sm" href="#"
|
||||
role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label='{{ (i18n "languages") }}'>
|
||||
<i class="fas fa-language fa-fw"></i>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-end shadow">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<nav class="navbar navbar-expand-lg navbar-light fixed-top border-bottom shadow-sm text-lg-center bg-light">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href='{{ (("/") | relLangURL) }}'>
|
||||
<img src='{{ ("img/logo.min.svg" | absURL) }}' alt="{{ (site.Title) }}" width="30" height="24" class="d-inline-block align-text-top"/>
|
||||
<img src='{{ ("img/logo.min.svg" | absURL) }}' alt="{{ (i18n "logo") }}" width="30" height="24" class="d-inline-block align-text-top"/>
|
||||
{{ if ($.IsNode) }}
|
||||
<h1 class="d-inline-block h5 m-0 ms-1">{{ (site.Title) }}</h1>
|
||||
{{ else }}
|
||||
|
@ -9,7 +9,7 @@
|
|||
{{ end }}
|
||||
</a>
|
||||
<button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navTopBar"
|
||||
aria-controls="navTopBar" aria-expanded="false" aria-label="">
|
||||
aria-controls="navTopBar" aria-expanded="false" aria-label='{{ (i18n "toggle_navigation") }}'>
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navTopBar">
|
||||
|
|
Loading…
Reference in a new issue