mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 03:53:30 +08:00
Merge branch 'master' into avatar-url
This commit is contained in:
commit
a70b1cb38b
@ -11,7 +11,7 @@
|
||||
|
||||
## Documentation & more information
|
||||
|
||||
[Documentation](https://www.notion.so/jimmycai/Hugo-Theme-Stack-511aec5b9ed845ce9b6e3ae0bf7fb6d4) | [中文文档](https://www.notion.so/jimmycai/Hugo-Theme-Stack-511aec5b9ed845ce9b6e3ae0bf7fb6d4)
|
||||
[Documentation](https://docs.stack.jimmycai.com/) | [中文文档](https://docs.stack.jimmycai.com/v/zh-cn/)
|
||||
|
||||
## Introduction
|
||||
|
||||
|
@ -16,6 +16,9 @@
|
||||
[widgetTagCloudTitle]
|
||||
other = "Tags"
|
||||
|
||||
[categoriesTitle]
|
||||
other = "Categories"
|
||||
|
||||
[notFoundTitle]
|
||||
other = "Not Found"
|
||||
|
||||
@ -30,3 +33,9 @@
|
||||
|
||||
[searchResultTitle]
|
||||
other = "#PAGES_COUNT pages (#TIME_SECONDS seconds)"
|
||||
|
||||
[footerBuiltWith]
|
||||
other = "Built with {{ .Generator }}"
|
||||
|
||||
[footerDesignedBy]
|
||||
other = "Theme {{ .Theme }} designed by {{ .DesignedBy }}"
|
||||
|
38
i18n/fr.toml
Normal file
38
i18n/fr.toml
Normal file
@ -0,0 +1,38 @@
|
||||
[toggleMenu]
|
||||
other = "Afficher le menu"
|
||||
|
||||
[relatedContents]
|
||||
other = "Contenus liés"
|
||||
|
||||
[lastUpdatedOn]
|
||||
other = "Dernière mise à jour le"
|
||||
|
||||
[widgetArchivesTitle]
|
||||
other = "Archives"
|
||||
|
||||
[widgetArchivesMore]
|
||||
other = "Autres"
|
||||
|
||||
[widgetTagCloudTitle]
|
||||
other = "Mots clés"
|
||||
|
||||
[notFoundTitle]
|
||||
other = "Page non trouvée"
|
||||
|
||||
[notFoundSubtitle]
|
||||
other = "Cette page n'existe pas."
|
||||
|
||||
[searchTitle]
|
||||
other = "Rechercher"
|
||||
|
||||
[searchPlaceholder]
|
||||
other = "Cherchez un article, une publication, etc."
|
||||
|
||||
[searchResultTitle]
|
||||
other = "#PAGES_COUNT pages (#TIME_SECONDS secondes)"
|
||||
|
||||
[footerBuiltWith]
|
||||
other = "Généré avec {{ .Generator }}"
|
||||
|
||||
[footerDesignedBy]
|
||||
other = "Thème {{ .Theme }} conçu par {{ .DesignedBy }}"
|
38
i18n/ko.toml
Normal file
38
i18n/ko.toml
Normal file
@ -0,0 +1,38 @@
|
||||
[toggleMenu]
|
||||
other = "메뉴 여닫기"
|
||||
|
||||
[relatedContents]
|
||||
other = "관련 글"
|
||||
|
||||
[lastUpdatedOn]
|
||||
other ="마지막 수정: "
|
||||
|
||||
[widgetArchivesTitle]
|
||||
other = "보관함"
|
||||
|
||||
[widgetArchivesMore]
|
||||
other = "더보기"
|
||||
|
||||
[widgetTagCloudTitle]
|
||||
other = "태그"
|
||||
|
||||
[notFoundTitle]
|
||||
other = "찾을 수 없음"
|
||||
|
||||
[notFoundSubtitle]
|
||||
other = "페이지를 찾을 수 없습니다."
|
||||
|
||||
[searchTitle]
|
||||
other = "검색"
|
||||
|
||||
[searchPlaceholder]
|
||||
other = "검색어를 입력하세요..."
|
||||
|
||||
[searchResultTitle]
|
||||
other = "#PAGES_COUNT 페이지 (#TIME_SECONDS 초)"
|
||||
|
||||
[footerBuiltWith]
|
||||
other = "{{ .Generator }}로 만듦"
|
||||
|
||||
[footerDesignedBy]
|
||||
other = "{{ .DesignedBy }}의 {{ .Theme }} 테마 사용 중"
|
41
i18n/pt-BR.toml
Normal file
41
i18n/pt-BR.toml
Normal file
@ -0,0 +1,41 @@
|
||||
[toggleMenu]
|
||||
other = "Alternar Menu"
|
||||
|
||||
[relatedContents]
|
||||
other = "Conteúdos Relacionados"
|
||||
|
||||
[lastUpdatedOn]
|
||||
other ="Última atualização em"
|
||||
|
||||
[widgetArchivesTitle]
|
||||
other = "Arquivos"
|
||||
|
||||
[widgetArchivesMore]
|
||||
other = "Mais"
|
||||
|
||||
[widgetTagCloudTitle]
|
||||
other = "Tags"
|
||||
|
||||
[categoriesTitle]
|
||||
other = "Categorias"
|
||||
|
||||
[notFoundTitle]
|
||||
other = "Não Encontrado"
|
||||
|
||||
[notFoundSubtitle]
|
||||
other = "Esta página não existe."
|
||||
|
||||
[searchTitle]
|
||||
other = "Busca"
|
||||
|
||||
[searchPlaceholder]
|
||||
other = "Digite algo..."
|
||||
|
||||
[searchResultTitle]
|
||||
other = "#PAGES_COUNT páginas (#TIME_SECONDS segundos)"
|
||||
|
||||
[footerBuiltWith]
|
||||
other = "Criado com {{ .Generator }}"
|
||||
|
||||
[footerDesignedBy]
|
||||
other = "Tema {{ .Theme }} desenvolvido por {{ .DesignedBy }}"
|
@ -2,7 +2,7 @@
|
||||
{{ define "main" }}
|
||||
{{ $categories := ($.Site.GetPage "taxonomyTerm" "categories").Pages }}
|
||||
{{ if $categories }}
|
||||
<h2 class="section-title">Categories</h2>
|
||||
<h2 class="section-title">{{ T "categoriesTitle" }}</h2>
|
||||
<div class="category-list">
|
||||
<div class="article-list--tile">
|
||||
{{ range $categories }}
|
||||
|
@ -1,8 +1,12 @@
|
||||
{{- $ThemeVersion := "1.1.0" -}}
|
||||
<footer class="site-footer">
|
||||
<section class="copyright">© {{ now.Format "2006" }} {{ .Site.Title }}</section>
|
||||
<section class="powerby">
|
||||
Built with <a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a> <br />
|
||||
Theme <b><a href="https://github.com/CaiJimmy/hugo-theme-stack" target="_blank" rel="noopener" data-version="1.1.0">Stack</a></b> designed by
|
||||
<a href="https://jimmycai.com" target="_blank" rel="noopener">Jimmy</a>
|
||||
{{- $Generator := `<a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a>` -}}
|
||||
{{- $Theme := printf `<b><a href="https://github.com/CaiJimmy/hugo-theme-stack" target="_blank" rel="noopener" data-version="%s">Stack</a></b>` $ThemeVersion -}}
|
||||
{{- $DesignedBy := `<a href="https://jimmycai.com" target="_blank" rel="noopener">Jimmy</a>` -}}
|
||||
|
||||
{{ T "footerBuiltWith" (dict "Generator" $Generator) | safeHTML }} <br />
|
||||
{{ T "footerDesignedBy" (dict "Theme" $Theme "DesignedBy" $DesignedBy) | safeHTML }}
|
||||
</section>
|
||||
</footer>
|
@ -2,7 +2,7 @@
|
||||
publish = "exampleSite/public"
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.74.3"
|
||||
HUGO_VERSION = "0.79.0"
|
||||
HUGO_THEME = "repo"
|
||||
|
||||
[context.production]
|
||||
|
Loading…
Reference in New Issue
Block a user