Added talks. Fixed grammar in home.
This commit is contained in:
@@ -118,4 +118,28 @@ h2 a {
|
||||
font-size: 95px;
|
||||
}
|
||||
}
|
||||
// "Stolen" from my own code for gbl.cz:
|
||||
@include desktop {
|
||||
.navbar-item {
|
||||
&.is-active .navbar-dropdown, &.is-hoverable .navbar-dropdown {
|
||||
display: block;
|
||||
visibility: hidden;
|
||||
filter: alpha(opacity=0);
|
||||
opacity: 0;
|
||||
-webkit-transition: 400ms ease;
|
||||
-moz-transition: 400ms ease;
|
||||
-o-transition: 400ms ease;
|
||||
transition: 400ms ease;
|
||||
}
|
||||
|
||||
&.is-hoverable:hover .navbar-dropdown {
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=100);
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
// /Stolen
|
||||
|
||||
|
||||
// /Custom styles
|
||||
@@ -21,4 +21,13 @@ other = "Členové"
|
||||
other = "Vedoucí"
|
||||
|
||||
[missing_author]
|
||||
other = "{{ .Name }} nám o sobě nic neřekl/a."
|
||||
other = "{{ .Name }} nám o sobě nic neřekl/a."
|
||||
|
||||
[presenter]
|
||||
other = "Přednášející"
|
||||
|
||||
[talks-when]
|
||||
other = "Datum přednášky"
|
||||
|
||||
[talks-paginator-heading]
|
||||
other = "Nadcházející a proběhlé Talky"
|
||||
@@ -19,4 +19,10 @@ other = "Members"
|
||||
other = "Leader"
|
||||
|
||||
[missing_author]
|
||||
other = "{{ .Name }} didn't tell us anything about themselves."
|
||||
other = "{{ .Name }} didn't tell us anything about themselves."
|
||||
|
||||
[presenter]
|
||||
other = "Speaker"
|
||||
|
||||
[talks-paginator-heading]
|
||||
other = "Upcoming and past Talks"
|
||||
@@ -0,0 +1,8 @@
|
||||
<div class="pageHeader">
|
||||
<h2 class="title pageTitle"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
|
||||
<p class="has-text-grey-light">{{- T "published" -}}: <time>{{ .PublishDate.Format "02.01.2006 15:04" }}</time></p>
|
||||
<p class="">{{- T "talks-when" -}}: <time>{{ dateFormat "02.01.2006 15:04" .Params.when }}</time></p>
|
||||
<p class="">
|
||||
{{- T "presenter" -}}: {{ range .Params.authors }}{{ with $.Site.GetPage (printf "authors/%s" .) }}<a class="separateWithCommas" href="{{ .Permalink }}">{{ .Title }}</a>{{ end }}{{ end }}
|
||||
</p>
|
||||
</div>
|
||||
@@ -0,0 +1,19 @@
|
||||
{{ define "main" }}
|
||||
{{ partial "pageHeader.html" . }}
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
<h3 class="title">{{ T "talks-paginator-heading" }}:</h3>
|
||||
{{ $baseUrl := .Site.BaseURL }}
|
||||
{{ $paginator := .Paginate ((.Pages.ByParam "when").Reverse) }}
|
||||
{{ partial "paginator-buttons.html" $paginator }}
|
||||
{{ range $paginator.Pages }}
|
||||
<div class="box">
|
||||
<div class="pageHeaderContainer">
|
||||
{{ partial "talksPageHeader.html" . }}
|
||||
</div>
|
||||
<div class="content"><p> {{ .Summary }} <a href="{{ .Permalink }}">{{ T "readmore" }}</a> </p></div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ partial "paginator-buttons.html" $paginator }}
|
||||
{{ end }}
|
||||
@@ -0,0 +1,6 @@
|
||||
{{ define "main" }}
|
||||
<div class="pageHeaderContainer">
|
||||
{{ partial "talksPageHeader.html" . }}
|
||||
</div>
|
||||
<div class="content"> {{ .Content }} </div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user