Added tags and post about LinuxDays.
This commit is contained in:
@@ -30,4 +30,10 @@ other = "Přednášející"
|
||||
other = "Datum přednášky"
|
||||
|
||||
[talks-paginator-heading]
|
||||
other = "Nadcházející a proběhlé Talky"
|
||||
other = "Nadcházející a proběhlé Talky"
|
||||
|
||||
[tags]
|
||||
other = "Tagy"
|
||||
|
||||
[posts_with_tag]
|
||||
other = "Přízpěvky s tagem"
|
||||
@@ -25,4 +25,10 @@ other = "{{ .Name }} didn't tell us anything about themselves."
|
||||
other = "Speaker"
|
||||
|
||||
[talks-paginator-heading]
|
||||
other = "Upcoming and past Talks"
|
||||
other = "Upcoming and past Talks"
|
||||
|
||||
[tags]
|
||||
other = "Tags"
|
||||
|
||||
[posts_with_tag]
|
||||
other = "Posts with tag"
|
||||
@@ -1,15 +1,4 @@
|
||||
{{ define "main" }}
|
||||
{{ partial "pageHeader.html" . }}
|
||||
{{ $baseUrl := .Site.BaseURL }}
|
||||
{{ $paginator := .Paginate (.Pages.ByPublishDate.Reverse) }}
|
||||
{{ partial "paginator-buttons.html" $paginator }}
|
||||
{{ range $paginator.Pages }}
|
||||
<div class="box">
|
||||
<div class="pageHeaderContainer">
|
||||
{{ partial "blogPageHeader.html" . }}
|
||||
</div>
|
||||
<div class="content"><p> {{ .Summary }} <a href="{{ .Permalink }}">{{ T "readmore" }}</a> </p></div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ partial "paginator-buttons.html" $paginator }}
|
||||
{{ partial "blogList.html" . }}
|
||||
{{ end }}
|
||||
@@ -0,0 +1,12 @@
|
||||
{{ $baseUrl := .Site.BaseURL }}
|
||||
{{ $paginator := .Paginate (.Pages.ByPublishDate.Reverse) }}
|
||||
{{ partial "paginator-buttons.html" $paginator }}
|
||||
{{ range $paginator.Pages }}
|
||||
<div class="box">
|
||||
<div class="pageHeaderContainer">
|
||||
{{ partial "blogPageHeader.html" . }}
|
||||
</div>
|
||||
<div class="content"><p> {{ .Summary }} <a href="{{ .Permalink }}">{{ T "readmore" }}</a> </p></div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ partial "paginator-buttons.html" $paginator }}
|
||||
@@ -4,4 +4,10 @@
|
||||
<p class="has-text-grey">
|
||||
{{- T "author" -}}: {{ range .Params.authors }}{{ with $.Site.GetPage (printf "authors/%s" .) }}<a class="separateWithCommas" href="{{ .Permalink }}">{{ .Title }}</a>{{ end }}{{ end }}
|
||||
</p>
|
||||
{{ $baseUrl := .Site.BaseURL }}
|
||||
{{ if .Params.tags }}
|
||||
<p class="has-text-grey">
|
||||
{{- T "tags" -}}: {{ range .Params.tags }}{{ with $.Site.GetPage (printf "tags/%s" .) }}<a class="separateWithCommas" href="{{ .Permalink }}">{{ .Title }}</a>{{ end }}{{ end }}
|
||||
</p>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
{{ define "main" }}
|
||||
<div class="pageHeader">
|
||||
<h2 class="title pageTitle"><a href="{{ .Permalink }}">{{ T "posts_with_tag" }} "{{ .Title }}":</a></h2>
|
||||
</div>
|
||||
{{ partial "blogList.html" . }}
|
||||
{{ end }}
|
||||
{{ define "title" }}{{ T "posts_with_tag" }} "{{ .Title }}" | {{ .Site.Title }}{{ end }}
|
||||
Reference in New Issue
Block a user