Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions content/press/cbcoct20.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: "CBC Article"
date: 2020-10-12T12:14:34+06:00
image: "images/gallery/IMG_7536.jpg"
isInTheNews: true
firstSentence: "A team of students at the University of Calgary wants to make it easier to convert gas-powered vehicles to electric."
weblink: "https://www.cbc.ca/news/canada/calgary/u-of-c-students-electric-car-conversions-1.5764374"
outlet: "CBC"
---

A team of students at the University of Calgary wants to make it easier to convert gas-powered vehicles to electric.

11 changes: 11 additions & 0 deletions content/press/cheraldpostoct20.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "Calgary Herald Article"
date: 2020-10-12T12:14:34+06:00
image: "images/gallery/IMG_7536.jpg"
isInTheNews: true
firstSentence: "A team of students at the University of Calgary wants to make it easier to convert gas-powered vehicles to electric."
weblink: "https://calgaryherald.com/news/local-news/volts-under-the-hood-u-of-c-team-wants-to-make-electric-car-conversions-easier"
outlet: "Calgary Herald"
---

A team of students at the University of Calgary wants to make it easier to convert gas-powered vehicles to electric.
1 change: 1 addition & 0 deletions themes/kross/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ <h4>{{ .title }}</h4>
{{ partial "subteams.html" . }}
{{ end }} -->

{{ partial "inthenews.html" . }}

{{ partial "projects.html" . }}

Expand Down
27 changes: 27 additions & 0 deletions themes/kross/layouts/partials/inthenews.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<section class="section">
<div class="container">
<div class="row">
<div class="col-12 text-center">
<h2 class="section-title">In the News</h2>
</div>
</div>

<div class="row shuffle-wrapper">
{{ range .Site.Pages }}
{{ if and .IsPage .Params.isInTheNews }}
<div class="col-lg-4 col-6 mb-4 shuffle-item">
<div class="position-relative rounded hover-wrapper">
<img src="{{ .Params.Image | absURL }}" alt="portfolio-image" class="img-fluid rounded w-100 d-block">
<div class="hover-overlay">
<div class="hover-content">
{{ with .Title }}<p class="project-title">{{ . }}</p> {{ end }}
<a class="btn btn-light btn-sm" href="{{ .Params.weblink }}">More Info</a>
</div>
</div>
</div>
</div>
{{ end }}
{{ end }}
</div>
</div>
</section>