Files
HugoBlox-kit/layouts/talk/single.html
T
George Cushen de269ebdb8 feat(project): add showcase mode and revert card view to resized images
* add project showcase layout, set `view = 2` in `projects.md` to use
* revert card view to use resized images rather than cropped images
* fix project filters for tags with non-ASCII (i18n) characters
* add single column wide layout for project widget, to use set
  `widget_layout` in `projects.md`
* add `flip_alt_rows` widget option to flip alternate rows in showcase
  mode
* `url_` link buttons can now be added for projects
* all link buttons now appear in page header rather than under a 'links'
  section within the page
* Markdown slides can now be linked from any page by using new `slides`
  option
* Isotope JS is now only activated when required (i.e. when using card
  view or when filters are defined)
* `links` translation removed from i18n
* consolidate talk, pub., and new project links files into new single
  `page_links.html` for all pages
* move project widget layouts to their own files

Close #764
Close #785
Close #776
Close #645
Close #326

BREAKING CHANGE:

CSS class names of project tags are now prefixed with `js-id-` to
namespace them and prevent clashes with existing CSS classes.

Migrate any filter `tag`s in `projects.md` that are prefixed `.` to the
new `.js-id-` prefix.
2018-11-03 20:13:43 +00:00

89 lines
2.6 KiB
HTML

{{ partial "header.html" . }}
{{ partial "navbar.html" . }}
<div class="pub" itemscope itemtype="http://schema.org/Event">
{{ partial "page_header.html" . }}
<div class="article-container">
{{ if .Params.abstract }}
<h3>{{ i18n "abstract" }}</h3>
<p class="pub-abstract" itemprop="text">{{ .Params.abstract | markdownify }}</p>
{{ else }}
<br>
{{ end }}
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-10">
<div class="row">
<div class="col-12 col-md-3 pub-row-heading">{{ i18n "date" }}</div>
<div class="col-12 col-md-9" itemprop="datePublished">
{{ $date := .Params.time_start | default .Date }}
{{ (time $date).Format $.Site.Params.date_format }}
<div class="talk-time">
{{ if $.Site.Params.talks.time }}
{{ (time $date).Format ($.Site.Params.time_format | default "3:04 PM") }}
{{ with .Params.time_end }}
&mdash; {{ (time .).Format ($.Site.Params.time_format | default "3:04 PM") }}
{{ end }}
{{ end }}
</div>
</div>
</div>
</div>
<div class="col-md-1"></div>
</div>
<div class="d-md-none space-below"></div>
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-10">
<div class="row">
<div class="col-12 col-md-3 pub-row-heading">{{ i18n "event" }}</div>
<div class="col-12 col-md-9">
{{ with .Params.event_url }}<a href="{{ . }}" target="_blank" rel="noopener">{{ end }}
{{ .Params.event | markdownify }}
{{ if .Params.event_url }}</a>{{ end }}
</div>
</div>
</div>
<div class="col-md-1"></div>
</div>
<div class="d-md-none space-below"></div>
{{ with .Params.location }}
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-10">
<div class="row">
<div class="col-12 col-md-3 pub-row-heading">{{ i18n "location" }}</div>
<div class="col-12 col-md-9">{{ . | markdownify }}</div>
</div>
</div>
<div class="col-md-1"></div>
</div>
<div class="d-md-none space-below"></div>
{{ end }}
<div class="space-below"></div>
<div class="article-style">
{{ .Content }}
</div>
{{ partial "tags.html" . }}
{{ partial "page_author.html" . }}
</div>
</div>
{{ if .Site.Params.section_pager }}
<div class="article-container article-widget">
{{ partial "section_pager.html" . }}
</div>
{{ end }}
{{ partial "footer_container.html" . }}
{{ partial "footer.html" . }}