Merge branch 'jpanther:dev' into dev

pull/91/head
Carlos Beleña 2022-01-24 00:17:32 +01:00 committed by GitHub
commit 8e805073d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 45 additions and 4 deletions

View File

@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased]
### Added
- Turkish translation ([#90](https://github.com/jpanther/congo/pull/90))
## [1.6.3] - 2022-01-19
### Added

View File

@ -9,7 +9,6 @@ defaultContentLanguage = "en"
title = "Congo"
# copyright = "Copy, _right?_ :thinking_face:"
enableEmoji = true
enableRobotsTXT = true
summaryLength = 0

View File

@ -11,7 +11,6 @@ theme = "congo"
languageCode = "en-AU"
defaultContentLanguage = "en"
title = "Congo"
enableEmoji = true
summaryLength = 0
[author]

View File

@ -36,7 +36,6 @@ Note that the variable names provided in this table use dot notation to simplify
|`defaultContentLanguage`|string|`"en"`|This value determines the language of theme components."|
|`title`|string|`"Congo"`|The title of the website. This will be displayed in the site header and footer.|
|`copyright`|string|_Not set_|A Markdown string containing the copyright message to be displayed in the site footer. If none is provided, Congo will automatically generate a copyright string using the site `title`.
|`enableEmoji`|boolean|`true`|Whether emoji strings in content should be converted to emoji symbols.|
|`enableRobotsTXT`|boolean|`true`|When enabled a `robots.txt` file will be created in the site root that allows search engines to crawl the entire site. Set to `false` if you wish to provide your own file.|
|`summaryLength`|integer|`0`|The number of words that are used to generate the article summary when one is not provided in the [front matter]({{< ref "front-matter" >}}). A value of `0` will use the first sentence. This value has no effect when summaries are hidden.|
|`author.name`|string|_Not set_|The author's name. This will be displayed in article footers, and on the homepage when the profile layout is used.|

View File

@ -12,7 +12,7 @@ Emoji is supported throughout Congo by default. Emoji can be used in titles, men
**Note:** The rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack.
{{< /alert >}}
Emoji replacements are controlled via the `enableEmoji` parameter in your [site configuration]({{< ref "configuration#site-configuration" >}}). Set it to `true` and then you can type Emoji shorthand codes directly in content files.
Emoji replacements are automatic throughout Congo, so you can use shorthand codes in your content and front matter and they will be converted to their corresponding symbols at build time.
**Example:** `see_no_evil` :see_no_evil:, `hear_no_evil` :hear_no_evil:, `speak_no_evil` :speak_no_evil:.

40
i18n/tr.yaml 100644
View File

@ -0,0 +1,40 @@
article:
anchor_label: "Anchor"
draft: "Taslak"
edit_title: "İçeriği düzenle"
reading_time:
one: "{{ .Count }} dk"
other: "{{ .Count }} dk"
reading_time_title: "Okuma süresi"
word_count:
one: "{{ .Count }} kelime"
other: "{{ .Count }} kelime"
author:
byline_title: "Yazar"
error:
404_title: "Sayfa Bulunamadı :confused:"
404_error: "Hata 404"
404_description: "Görünüşe göre istediğiniz sayfa mevcut değil."
footer:
dark_appearance: "Koyu görünüme geç"
light_appearance: "Açık görünüme geç"
powered_by: "{{ .Hugo }} &amp; {{ .Congo }} tarafından desteklenmektedir"
list:
externalurl_title: "Harici siteye bağlantı"
no_articles: "Henüz burada listelenecek bir makale yok."
sharing:
email: "Email ile gönder"
facebook: "Facebook'ta paylaş"
linkedin: "LinkedIn'te paylaş"
pinterest: "Pinterest'te pinle"
reddit: "Reddit'te gönder"
twitter: "Twitter'da Tweetle"
shortcode:
recent_articles: "Güncel"
icon_none: "Icon bulunamadı."