use new hugo
This commit is contained in:
parent
6a8079fe80
commit
3236c1d56e
|
@ -26,6 +26,12 @@ pygmentsCodefencesGuessSyntax = true
|
|||
# add info for crawlers
|
||||
enableRobotsTXT = true
|
||||
|
||||
# we want raw HTML
|
||||
[markup]
|
||||
[markup.goldmark]
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
|
||||
# default author
|
||||
[Author]
|
||||
name = "Christoph Cullmann"
|
||||
|
|
|
@ -8,4 +8,4 @@ export GIT_COMMIT_SHA=`git rev-parse --verify HEAD`
|
|||
export GIT_COMMIT_SHA_SHORT=`git rev-parse --short HEAD`
|
||||
|
||||
# run hugo in local server mode, show all stuff
|
||||
exec ./hugo server -D --buildFuture
|
||||
exec hugo server -D --buildFuture
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
- id: shortdateFormat
|
||||
translation: "02/Jan/2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Postado em {{ .Count }}"
|
||||
translation: "Postado em {{ . }}"
|
||||
- id: lastModified
|
||||
translation: "(Ultima modificação em {{ .Count }})"
|
||||
translation: "(Ultima modificação em {{ . }})"
|
||||
- id: translationsLabel
|
||||
translation: "Outras linguagens: "
|
||||
- id: translationsSeparator
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Gepostet am {{ .Count }}"
|
||||
translation: "Gepostet am {{ . }}"
|
||||
- id: lastModified
|
||||
translation: "(Zuletzt geändert am {{ .Count }})"
|
||||
translation: "(Zuletzt geändert am {{ . }})"
|
||||
- id: translationsLabel
|
||||
translation: "Andere Sprachen: "
|
||||
- id: translationsSeparator
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
- id: shortdateFormat
|
||||
translation: "Jan 2, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Posted on {{ .Count }}"
|
||||
translation: "Posted on {{ . }}"
|
||||
- id: lastModified
|
||||
translation: "(Last modified on {{ .Count }})"
|
||||
translation: "(Last modified on {{ . }})"
|
||||
- id: translationsLabel
|
||||
translation: "Other languages: "
|
||||
- id: translationsSeparator
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Afiŝiĝis je {{ .Count }}"
|
||||
translation: "Afiŝiĝis je {{ . }}"
|
||||
- id: lastModified
|
||||
translation: "(Laste aliiĝis je {{ .Count }})"
|
||||
translation: "(Laste aliiĝis je {{ . }})"
|
||||
- id: translationsLabel
|
||||
translation: "Aliaj lingvoj: "
|
||||
- id: translationsSeparator
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Publicado el {{ .Count }}"
|
||||
translation: "Publicado el {{ . }}"
|
||||
- id: lastModified
|
||||
translation: "(Última modificación en {{ .Count }})"
|
||||
translation: "(Última modificación en {{ . }})"
|
||||
- id: translationsLabel
|
||||
translation: "Otros idiomas: "
|
||||
- id: translationsSeparator
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Posté le {{ .Count }}"
|
||||
translation: "Posté le {{ . }}"
|
||||
- id: lastModified
|
||||
translation: "(Dernière modification le {{ .Count }})"
|
||||
translation: "(Dernière modification le {{ . }})"
|
||||
- id: translationsLabel
|
||||
translation: "Autres langues : "
|
||||
- id: translationsSeparator
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
- id: shortdateFormat
|
||||
translation: "2 Jan 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Redatto il {{ .Count }}"
|
||||
translation: "Redatto il {{ . }}"
|
||||
- id: lastModified
|
||||
translation: "(Ultima modifica il {{ .Count }})"
|
||||
translation: "(Ultima modifica il {{ . }})"
|
||||
- id: translationsLabel
|
||||
translation: "Altre lingue: "
|
||||
- id: translationsSeparator
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "{{ .Count }}に投稿"
|
||||
translation: "{{ . }}に投稿"
|
||||
- id: lastModified
|
||||
translation: "(最終更新日時{{ .Count }})"
|
||||
translation: "(最終更新日時{{ . }})"
|
||||
- id: translationsLabel
|
||||
translation: "翻訳:"
|
||||
- id: translationsSeparator
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Postet {{ .Count }}"
|
||||
translation: "Postet {{ . }}"
|
||||
- id: lastModified
|
||||
translation: "(Sist endret {{ .Count }})"
|
||||
translation: "(Sist endret {{ . }})"
|
||||
- id: translationsLabel
|
||||
translation: "Andre språk: "
|
||||
- id: translationsSeparator
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Gepost op {{ .Count }}"
|
||||
translation: "Gepost op {{ . }}"
|
||||
- id: lastModified
|
||||
translation: "(Laatst gewijzigd op {{ .Count }})"
|
||||
translation: "(Laatst gewijzigd op {{ . }})"
|
||||
- id: translationsLabel
|
||||
translation: "Andere talen: "
|
||||
- id: translationsSeparator
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Opublikowany {{ .Count }}"
|
||||
translation: "Opublikowany {{ . }}"
|
||||
- id: lastModified
|
||||
translation: "(Ostatnia modyfikacja {{ .Count }})"
|
||||
translation: "(Ostatnia modyfikacja {{ . }})"
|
||||
- id: translationsLabel
|
||||
translation: "Inne języki: "
|
||||
- id: translationsSeparator
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "Опубликовано {{ .Count }}"
|
||||
translation: "Опубликовано {{ . }}"
|
||||
- id: lastModified
|
||||
translation: "(Последнее изменение {{ .Count }})"
|
||||
translation: "(Последнее изменение {{ . }})"
|
||||
- id: translationsLabel
|
||||
translation: "Другие языки: "
|
||||
- id: translationsSeparator
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "发表于 {{ .Count }}"
|
||||
translation: "发表于 {{ . }}"
|
||||
- id: lastModified
|
||||
translation: "(上次修改时间 {{ .Count }})"
|
||||
translation: "(上次修改时间 {{ . }})"
|
||||
- id: translationsLabel
|
||||
translation: "其它语言: "
|
||||
- id: translationsSeparator
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
- id: shortdateFormat
|
||||
translation: "2 Jan, 2006 15:04:05"
|
||||
- id: postedOnDate
|
||||
translation: "發表於 {{ .Count }}"
|
||||
translation: "發表於 {{ . }}"
|
||||
- id: lastModified
|
||||
translation: "(最後修改於 {{ .Count }})"
|
||||
translation: "(最後修改於 {{ . }})"
|
||||
- id: translationsLabel
|
||||
translation: "其他語言: "
|
||||
- id: translationsSeparator
|
||||
|
|
|
@ -9,25 +9,24 @@
|
|||
{{ end }}
|
||||
|
||||
<div class="posts-list">
|
||||
{{ $pag := .Paginate (where .Data.Pages "Type" "post") }}
|
||||
{{ range $pag.Pages }}
|
||||
{{ range .Paginator.Pages }}
|
||||
<article class="post-preview">
|
||||
<a href="{{ .Permalink }}">
|
||||
<h2 class="post-title">{{ .Title }}</h2>
|
||||
|
||||
{{ if .Params.subtitle }}
|
||||
<h3 class="post-subtitle">
|
||||
{{ .Params.subtitle }}
|
||||
{{ .Params.subtitle }}
|
||||
</h3>
|
||||
{{ end }}
|
||||
{{ if .Params.image }}
|
||||
<img src="{{ .Params.image }}" alt="{{ .Title }}" class="img-title" />
|
||||
{{ end }}
|
||||
</a>
|
||||
|
||||
{{ partial "post_meta.html" . }}
|
||||
<p class="post-meta">
|
||||
{{ partial "post_meta.html" . }}
|
||||
</p>
|
||||
<div class="post-entry">
|
||||
{{ if .Truncated }}
|
||||
{{ if .Params.summary }}{{ .Params.summary }}{{ else }}{{ .Summary }}{{ end }}
|
||||
{{ .Summary }}
|
||||
<a href="{{ .Permalink }}" class="post-read-more">[{{ i18n "readMore" }}]</a>
|
||||
{{ else }}
|
||||
{{ .Content }}
|
||||
|
@ -41,6 +40,7 @@
|
|||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
</article>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue