mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
Merge branch 'theNewDynamic:master' into f/allow_multiple_mainsections
This commit is contained in:
commit
40e9698573
10
README.md
10
README.md
@ -76,7 +76,7 @@ Inside the folder of your Hugo site run:
|
||||
```
|
||||
$ git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
|
||||
```
|
||||
For more information read the official [setup guide](//gohugo.io/overview/installing/) of Hugo.
|
||||
For more information read the official [setup guide](//gohugo.io/getting-started/quick-start/) of Hugo.
|
||||
|
||||
|
||||
|
||||
@ -334,6 +334,14 @@ Dates of blog posts and single pages are rendered with the default date format c
|
||||
With hugo 0.87.0 and above, you can also use predefined layout, like `:date_full`, and it will output localized dates or times.
|
||||
See hugo's documentation of the [`time.Format` function](https://gohugo.io/functions/dateformat/) for more details.
|
||||
|
||||
### Using a canonical url
|
||||
|
||||
When you want to publish content that is already published on a different site. You need to reference a canonical url of the original content.
|
||||
By defining the `canonicalUrl` in the front matter definition the canonical url is set in the headers.
|
||||
|
||||
```
|
||||
canonicalUrl: https://mydomain.com/path-to-the-oringinal-content/
|
||||
```
|
||||
|
||||
### Nearly finished
|
||||
|
||||
|
49
i18n/cs.toml
Normal file
49
i18n/cs.toml
Normal file
@ -0,0 +1,49 @@
|
||||
[more]
|
||||
other = "Více"
|
||||
|
||||
[allTitle]
|
||||
other = "Všechny {{.Title }}"
|
||||
|
||||
[recentTitle]
|
||||
other = "Nejnovější {{.Title }}"
|
||||
|
||||
[readMore]
|
||||
other = "čti dále"
|
||||
|
||||
[by]
|
||||
other = "Autor"
|
||||
|
||||
[whatsInThis]
|
||||
other = "Co je v tomto {{ .Type }}"
|
||||
|
||||
[related]
|
||||
other = "Related"
|
||||
|
||||
[yourName]
|
||||
other = "Jméno"
|
||||
|
||||
[emailAddress]
|
||||
other = "Emailová adresa"
|
||||
|
||||
[message]
|
||||
other = "Zpráva"
|
||||
|
||||
[emailRequiredNote]
|
||||
other = "Emailová adresa je požadována."
|
||||
|
||||
[send]
|
||||
other = "Odeslat"
|
||||
|
||||
[taxonomyPageList]
|
||||
other = "Stránky obsahující taxonomický termín “{{ .Title }}”"
|
||||
|
||||
[readingTime]
|
||||
one = "Jedna minuta čtení"
|
||||
other = "{{ .Count }} minut čtení"
|
||||
|
||||
[wordCount]
|
||||
one = "Jedno slovo"
|
||||
other = "{{ .Count }} slov"
|
||||
|
||||
[pageTitle]
|
||||
other = "{{ .Name }} stránka"
|
@ -26,13 +26,13 @@ other = "Ditt navn"
|
||||
other = "E-postadresse"
|
||||
|
||||
[message]
|
||||
other = "beskjed"
|
||||
other = "Beskjed"
|
||||
|
||||
[emailRequiredNote]
|
||||
other = "E-postadresse er påkrevd"
|
||||
|
||||
[send]
|
||||
other = "Sende"
|
||||
other = "Send"
|
||||
|
||||
[taxonomyPageList]
|
||||
other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
|
||||
|
@ -31,6 +31,12 @@
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.canonicalUrl }}
|
||||
<link rel="canonical" href="{{ .Params.canonicalUrl }}">
|
||||
{{ else }}
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
{{ end }}
|
||||
|
||||
{{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/gohugoio/hugo/tree/master/tpl/tplimpl/embedded/templates */}}
|
||||
{{- template "_internal/opengraph.html" . -}}
|
||||
{{- template "_internal/schema.html" . -}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user