added events for 2017

This commit is contained in:
Jeremy Kidwell 2017-11-29 13:43:55 +00:00
parent e30ca9720d
commit fdfb1eb10b
4 changed files with 12 additions and 12 deletions

View file

@ -68,9 +68,9 @@
{{ range first 5 (where .Data.Pages.ByDate "Section" "publications").Reverse }}
<li><i class="fa-li fa {{ if eq .Type "unpublished" }}fa-file-o {{ else if eq .Params.kind "book" }}fa-book {{ else }}fa-file {{ end }} fa-fw" style="color:#03396c;font-size:80%;padding-top:6px;"></i> {{ .Params.citation | safeHTML }}
<a href="{{ .Permalink }}" class="badge badge-small">Abstract</a>
{{ end }}
{{ if isset .Params "file" }}<a href="{{.Site.BaseURL}}files/papers/{{ .Params.file }}" class="badge badge-small"><i class="fa fa-file-pdf-o"></i>&nbsp;pdf</a>{{ end }}
</li>
{{ end }}
</ul>
<footer class="group">
<nav class="navbar navbar-right"><a href="/publications">&rarr; More Papers</a></nav>
@ -80,12 +80,12 @@
<h3>Recent &amp; Upcoming Presentations</h3>
<ul class="compact fa-ul">
{{ range (where .Data.Pages.ByDate "Section" "presentations").Reverse }}
{{ if (ge .Date.Unix .Now.Unix) }}
{{ if (le .Date.Unix (add .Now.Unix 10368000)) }}
<li><i class="fa-li fa fa-comment-o fa-fw" style="color:#b00;font-size:80%;padding-top:6px;"></i><a href="{{ .Permalink }}"><em>{{ .Title | safeHTML }}</em></a>, {{ .Params.host | safeHTML }} ({{ .Date.Format "2 January 2006" }}). {{ partial "comingsoon.html" . }}
</li>
{{ end }}
{{ end }}
{{ if (ge .Date.Unix .Now.Unix) }}
{{ if (le .Date.Unix (add .Now.Unix 10368000)) }}
<li><i class="fa-li fa fa-comment-o fa-fw" style="color:#b00;font-size:80%;padding-top:6px;"></i><a href="{{ .Permalink }}"><em>{{ .Title | safeHTML }}</em></a>, {{ .Params.host | safeHTML }} ({{ .Date.Format "2 January 2006" }}). {{ partial "comingsoon.html" . }}
</li>
{{ end }}
{{ end }}
{{ if (ge .Now.Unix .Date.Unix ) }}
{{ if (le .Now.Unix (add .Date.Unix 12368000)) }}
<li><i class="fa-li fa fa-comment-o fa-fw" style="color:#e88;font-size:80%;padding-top:6px;"></i><a href="{{ .Permalink }}"><em>{{ .Title | safeHTML }}</em></a>, {{ .Params.host | safeHTML }} ({{ .Date.Format "2 January 2006" }}).