publications: Use consistent listing format across pages (Fix #148)

This commit is contained in:
Jordan Stanway authored and gcushen committed 2017-09-18 01:58:19 +01:00
1 parent ab24e5646c
commit 405058b8d9
3 files changed
+11 -4

No files matched your search

+1 -1
View File
@@ -3,10 +3,10 @@ title = "Publications"
date = "2017-01-01T00:00:00Z"
math = false
highlight = false
detailed_list = false
# Optional featured image (relative to `static/img/` folder).
[header]
image = ""
caption = ""
+++
@@ -0,0 +1,5 @@
<div class="pub-list-item" style="margin-bottom: 1rem" itemscope itemtype="http://schema.org/CreativeWork">
<i class="fa fa-file-text-o pub-icon" aria-hidden="true"></i>
<span itemprop="name">{{ .Title }}</span>
<p>{{ partial "publication_links" (dict "content" . "is_list" 1) }}</p>
</div>
+5 -3
View File
@@ -34,9 +34,11 @@
{{ end }}
<div class="grid-sizer col-md-12 isotope-item pubtype-{{ $.Scratch.Get "pubtype" }}">
<i class="fa fa-file-text-o" aria-hidden="true"
style="color:#03396c;font-size:80%;padding-top:6px; padding-right: 10px;"></i>{{ .Title }}
<p>{{ partial "publication_links" (dict "content" . "is_list" 1) }}</p>
{{ if $.Params.detailed_list }}
{{ partial "publication_li_detailed" . }}
{{ else }}
{{ partial "publication_li_simple_div" . }}
{{ end }}
</div>
{{ end }}