1
0
Fork 0

Display tags when viewing entries

This commit is contained in:
privatmamtora 2023-06-25 00:44:37 +00:00 committed by GitHub
parent fa3de272e8
commit fffa74f782
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 39 additions and 6 deletions

View file

@ -80,7 +80,8 @@
"entry.estimated_reading_time": [
"%d Minute zu lesen",
"%d Minuten zu lesen"
],
],
"entry.tags.label": "Stichworte:",
"page.shared_entries.title": "Geteilte Artikel",
"page.unread.title": "Ungelesen",
"page.starred.title": "Lesezeichen",

View file

@ -81,6 +81,7 @@
"%d λεπτό ανάγνωση",
"%d λεπτά ανάγνωση"
],
"entry.tags.label": "Ετικέτες:",
"page.shared_entries.title": "Κοινόχρηστες Καταχωρήσεις",
"page.unread.title": "Μη αναγνωσμένα",
"page.starred.title": "Αγαπημένo",

View file

@ -81,6 +81,7 @@
"%d minute read",
"%d minutes read"
],
"entry.tags.label": "Tags:",
"page.shared_entries.title": "Shared entries",
"page.unread.title": "Unread",
"page.starred.title": "Starred",

View file

@ -80,7 +80,8 @@
"entry.estimated_reading_time": [
"%d minuto de lectura",
"%d minutos de lectura"
],
],
"entry.tags.label": "Etiquetas:",
"page.shared_entries.title": "Artículos compartidos",
"page.unread.title": "No leídos",
"page.starred.title": "Marcadores",

View file

@ -81,6 +81,7 @@
"%d minuutin lukuaika",
"%d minuutin lukuaika"
],
"entry.tags.label": "Tags:",
"page.shared_entries.title": "Jaetut artikkelit",
"page.unread.title": "Lukemattomat",
"page.starred.title": "Suosikit",

View file

@ -80,7 +80,8 @@
"entry.estimated_reading_time": [
"%d minute de lecture",
"%d minutes de lecture"
],
],
"entry.tags.label": "Libellés :",
"page.shared_entries.title": "Articles partagés",
"page.unread.title": "Non lus",
"page.starred.title": "Favoris",

View file

@ -80,7 +80,8 @@
"entry.estimated_reading_time": [
"पढ़ने मे %d मिनट मागेगा",
"पढ़ने मे %d मिनट मागेगा"
],
],
"entry.tags.label": "टैग:",
"page.shared_entries.title": "साझा किया हुआ प्रविष्टि",
"page.unread.title": "अपठित",
"page.starred.title": "तारांकित",

View file

@ -79,7 +79,8 @@
"entry.shared_entry.label": "Bagikan",
"entry.estimated_reading_time": [
"%d menit untuk dibaca"
],
],
"entry.tags.label": "Tanda:",
"page.shared_entries.title": "Entri yang Dibagikan",
"page.unread.title": "Belum Dibaca",
"page.starred.title": "Markah",

View file

@ -80,7 +80,8 @@
"entry.estimated_reading_time": [
"%d minuto di lettura",
"%d minuti di lettura"
],
],
"entry.tags.label": "Tag:",
"page.shared_entries.title": "Voci condivise",
"page.unread.title": "Da leggere",
"page.starred.title": "Preferiti",

View file

@ -81,6 +81,7 @@
"%d 分で読めます",
"%d 分で読めます"
],
"entry.tags.label": "タグ:",
"page.shared_entries.title": "共有エントリ",
"page.unread.title": "未読",
"page.starred.title": "星付き",

View file

@ -81,6 +81,7 @@
"%d minuut leestijd",
"%d minuten leestijd"
],
"entry.tags.label": "Labels:",
"page.shared_entries.title": "Gedeelde vermeldingen",
"page.unread.title": "Ongelezen",
"page.starred.title": "Favorieten",

View file

@ -81,6 +81,7 @@
"%d minuta czytania",
"%d minut czytania"
],
"entry.tags.label": "Tagi:",
"page.shared_entries.title": "Udostępnione wpisy",
"page.unread.title": "Nieprzeczytane",
"page.starred.title": "Oznaczone gwiazdką",

View file

@ -81,6 +81,7 @@
"Leitura de %d minuto",
"Leitura de %d minutos"
],
"entry.tags.label": "Etiquetas:",
"page.shared_entries.title": "Itens compartilhados",
"page.unread.title": "Não lidos",
"page.starred.title": "Favoritos",

View file

@ -81,6 +81,7 @@
"%d минута чтения",
"%d минут чтения"
],
"entry.tags.label": "Теги:",
"page.shared_entries.title": "Общедоступные записи",
"page.unread.title": "Непрочитанное",
"page.starred.title": "Избранное",

View file

@ -81,6 +81,7 @@
"%d dakikalık okuma",
"%d dakikalık okuma"
],
"entry.tags.label": "Etiketleri:",
"page.shared_entries.title": "Paylaşılan iletiler",
"page.unread.title": "Okunmadı",
"page.starred.title": "Yıldızlı",

View file

@ -82,6 +82,7 @@
"читати %d хвилини",
"читати %d хвилин"
],
"entry.tags.label": "Теги:",
"page.shared_entries.title": "Спильні записи",
"page.unread.title": "Непрочитане",
"page.starred.title": "З зірочкою",

View file

@ -81,6 +81,7 @@
"需要 %d 分钟阅读",
"需要 %d 分钟阅读"
],
"entry.tags.label": "标签:",
"page.shared_entries.title": "分享文章",
"page.unread.title": "未读",
"page.starred.title": "收藏",

View file

@ -81,6 +81,7 @@
"需要 %d 分鐘閱讀",
"需要 %d 分鐘閱讀"
],
"entry.tags.label": "標籤:",
"page.shared_entries.title": "分享文章",
"page.unread.title": "未讀",
"page.starred.title": "收藏",

View file

@ -122,6 +122,12 @@
</span>
{{ end }}
</div>
{{ if .entry.Tags }}
<div class="entry-tags">
{{ t "entry.tags.label" }}
{{range $i, $e := .entry.Tags}}{{if $i}}, {{end}}<strong>{{ $e }}</strong>{{end}}
</div>
{{ end }}
<div class="entry-date">
{{ if .user }}
<time datetime="{{ isodate .entry.Date }}" title="{{ isodate .entry.Date }}">{{ elapsed $.user.Timezone .entry.Date }}</time>

View file

@ -850,6 +850,15 @@ article.category-has-unread {
overflow-wrap: break-word;
}
.entry-tags {
margin-top: 20px;
margin-bottom: 20px;
}
.entry-tags strong {
font-weight: 600;
}
.entry-website img {
vertical-align: top;
}