This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ define "title" }}People{{ end }} | |
{{- range .Pages.GroupByParam "rank_id" }} | |
{{/* Need to Substr the Key because we have numerical prefix for sorting */}} | |
<h3>{{ substr .Key 2 }}</h3> | |
<div class="container"> | |
{{- range .Pages.ByParam "affiliation" }} | |
{{ if eq .Params.current 1 }} | |
<div class="col-md-3" style="text-align: center;"> | |
<div class="caption"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mock up of the desired output: | |
<h2>Faculty</h2> | |
image image image | |
name name name | |
<h2>Post Docs</h2> | |
image image image | |
name name name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(website/content/members/homer/index.md) | |
title: "Homer Simpson" | |
date: 2019-10-22T11:14:44-07:00 | |
affiliation: ["PhD Student"] | |
sort_order: "6" | |
tags: [] | |
draft: false | |
website: ["http://hsimpson.info/"] | |
featured_image: "homer.png" |