mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-05 16:13:52 +00:00
* feature is consistent across Posts, Projects, Talks, Publications, and nodes (#105) * `image` parameter is moved under a `[header]` section at the end of existing content's frontmatter * `caption` parameter can be used to specify image credit/caption (#103) * set `preview = false` under `[header]` to hide a post's thumbnail on homepage (#113) * add example of customizing a taxonomy list page at `/tags/academic/` * revert i18n->hard-coded change for node page titles (#118)
48 lines
1.3 KiB
HTML
48 lines
1.3 KiB
HTML
{{ partial "header.html" . }}
|
|
{{ partial "navbar.html" . }}
|
|
|
|
{{ if .Params.header.image }}
|
|
<div class="article-header">
|
|
<img src="{{ "/img/" | relURL }}/{{ .Params.header.image }}" class="article-banner" itemprop="image">
|
|
{{ with .Params.header.caption }}<span class="article-header-caption">{{ . | markdownify | emojify }}</span>{{ end }}
|
|
</div>
|
|
{{end}}
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<h1>{{ .Title | default (i18n "talks") }}</h1>
|
|
|
|
{{ with .Content }}
|
|
<div class="article-style" itemprop="articleBody">{{ . }}</div>
|
|
{{ end }}
|
|
|
|
{{ range .Data.Pages.GroupByDate "2006" }}
|
|
<div class="row" id="talk_list">
|
|
<div class="col-md-2">
|
|
<h3>{{ .Key }}</h3>
|
|
</div>
|
|
<div class="col-md-10">
|
|
<ul class="compact fa-ul">
|
|
|
|
{{ range .Pages.ByDate.Reverse }}
|
|
<li>
|
|
<i class="fa-li fa fa-comment-o" aria-hidden="true"
|
|
style="color:#03396c;font-size:80%;padding-top:6px;"></i>
|
|
{{ .Title }}
|
|
<p>{{ partial "talk_links" (dict "content" . "is_list" 1) }}</p>
|
|
</li>
|
|
{{ end }}
|
|
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
{{ end }}
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
{{ partial "footer_container.html" . }}
|
|
{{ partial "footer.html" . }}
|