Skip to content

Instantly share code, notes, and snippets.

@fzipi
Created December 7, 2017 18:19
Show Gist options
  • Save fzipi/19f51db01673fb3677f5c4932126492a to your computer and use it in GitHub Desktop.
Save fzipi/19f51db01673fb3677f5c4932126492a to your computer and use it in GitHub Desktop.
Hugo Template for Participant
<!DOCTYPE html>
<html>
<head>
{{ partial "header.html" . }}
</head>
<body>
{{ partial "menu.html" . }}
<div class="page-content">
<div class="participants">
<div class="container">
<h1>Participants</h1>
<p>To add your name to this repo please fork the repo and use
<a href="{{ .Site.Params.github }}/tree/master/content/participants" target="_blank"> &#32; these pages.</a></p>
<p>If you want to participate remotely, see <a href="{{ .Site.BaseURL }}/content/participants-remote.html">this page</a>.</p>
<h4>Current list of Summit attendees</h4>
<br />
<div class="row">
{{ $local := where (where .Site.RegularPages "Type" "participant") ".Params.type" "eq" "participant" }}
{{ range $local }}
{{ partial "participant" . }}
{{ end }}
</div>
<h1>Remote Participants</h1>
<div class="row">
<p>This is the current list of remote participants (see the <a href="{{.Site.BaseURL}}/participants-remote.html">Remote Participants</a> page for more details and instructions on how to register)</p>
{{ $remote := where .Site.RegularPages "Type" "participant-remote" }}
{{ range $remote }}
<div class="col-xs-4 col-sm-2">
{{ partial "participant" . }}
</div>
{{ end }}
</div>
</div><!-- container -->
</div><!-- participants -->
</div>
{{ partial "footer.html" . }}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment