This commit is contained in:
Martiño Rivera Dourado 2020-10-09 15:14:13 +02:00
commit d4a7ab5ba7
9 changed files with 144 additions and 8 deletions

View file

@ -49,6 +49,11 @@
fill: currentColor;
margin-left: 10px;
cursor: pointer;
display: none;
@media #{$media-size-phone} {
display: block;
}
}
a {

View file

@ -2,13 +2,15 @@ de: de
en: gb
es: es
fr: fr
gl: es-ga
hi: in
it: it
ja: jp
ml: in
nl: nl
pt-br: br
ru: ru
tr: tr
ml: in
gl: es-ga
zh-hk: hong_kong
zh-cn: cn
zh-hk: hk
zh-tw: tw

View file

@ -1,6 +1,8 @@
# Available Social Icons:
- [box](https://simpleicons.org/?q=box)
- [behance](https://simpleicons.org/?q=behance)
- [codesandbox](https://simpleicons.org/?q=codesandbox)
- [codechef](https://simpleicons.org/?q=codechef)
- [codepen](https://simpleicons.org/?q=codepen)
- [dev](https://simpleicons.org/?q=devto)
@ -34,6 +36,8 @@
- [podcasts-apple](https://simpleicons.org/?q=podcast)
- [podcasts-google](https://simpleicons.org/?q=podcast)
- [reddit](https://simpleicons.org/?q=reddit)
- [researchgate](https://simpleicons.org/?q=researchgate)
- [signal](https://simpleicons.org/?q=signal)
- [slack](https://simpleicons.org/?q=slack)
- [soundcloud](https://simpleicons.org/?q=soundcloud)
- [stackoverflow](https://simpleicons.org/?q=stackoverflow)

39
i18n/ja.toml Normal file
View file

@ -0,0 +1,39 @@
# Translations for Japanese
# https://gohugo.io/content-management/multilingual/#translation-of-strings
# Generic
#
[translations]
other = "翻訳"
[postAvailable]
other = "他の言語"
# 404.html
#
[archives]
other = "アーカイブ"
[home]
other = "ホームページ"
[notFound]
other = "あっ、ページが見つかりません……"
# Please add hasCJKLanguage = true under [languages.ja] for the below to behave correctly
# posts/single.html
#
[readingTime]
one = "一分"
other = "{{ .Count }}分"
[tableOfContents]
other = "目次"
[wordCount]
one = "一文字"
other = "{{ .Count }}文字"
[lastModified]
other = "最終更新"

39
i18n/zh-cn.toml Normal file
View file

@ -0,0 +1,39 @@
# Translations for Chinese (China)
# https://gohugo.io/content-management/multilingual/#translation-of-strings
# Generic
#
[translations]
other = "译文"
[postAvailable]
other = "其他语言"
# 404.html
#
[archives]
other = "档案"
[home]
other = "主页"
[notFound]
other = "噢,找不到页面……"
# Please add hasCJKLanguage = true under [languages.zh-cn] for the below to behave correctly
# posts/single.html
#
[readingTime]
one = "一分钟"
other = "{{ .Count }}分钟"
[tableOfContents]
other = "目录"
[wordCount]
one = "一字"
other = "{{ .Count }}字"
[lastModified]
other = "最后修改"

View file

@ -21,7 +21,7 @@ other = "主頁"
[notFound]
other = "哎呀,揾唔到添……"
# Please add hasCJKLanguage = true under [languages.zh-hk] for the below to behave correctly
# posts/single.html
#
[readingTime]

39
i18n/zh-tw.toml Normal file
View file

@ -0,0 +1,39 @@
# Translations for Chinese (Taiwan)
# https://gohugo.io/content-management/multilingual/#translation-of-strings
# Generic
#
[translations]
other = "譯文"
[postAvailable]
other = "其他語言"
# 404.html
#
[archives]
other = "檔案"
[home]
other = "主頁"
[notFound]
other = "噢,找不到頁面……"
# Please add hasCJKLanguage = true under [languages.zh-tw] for the below to behave correctly
# posts/single.html
#
[readingTime]
one = "一分鐘"
other = "{{ .Count }}分鐘"
[tableOfContents]
other = "目錄"
[wordCount]
one = "一字"
other = "{{ .Count }}字"
[lastModified]
other = "最後修改"

View file

@ -8,7 +8,7 @@
{{ if .Site.Copyright }}
<span>{{ .Site.Copyright| safeHTML }}</span>
{{ end }}
<span>{{- with (not (in (.Site.Language.Get "disableKinds") "RSS")) }} <a href="{{ "posts/index.xml" | absLangURL }}" target="_blank" title="rss"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss"><path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle></svg></a>{{ end }}</span>
{{- with (not (in (.Site.Language.Get "disableKinds") "RSS")) }}<span><a href="{{ "posts/index.xml" | absLangURL }}" target="_blank" title="rss"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss"><path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle></svg></a></span>{{ end }}
</div>
</div>
<div class="footer__inner">

File diff suppressed because one or more lines are too long