hugo-theme-introduction/layouts/partials/projects.html

37 lines
1.5 KiB
HTML
Raw Normal View History

2017-03-13 09:14:02 +00:00
<div class="content" id="projects">
<h2 class="section-head">Projects</h2>
<div class="row project-grid">
<div class="col-md-4 col-xs-12 text-center">
<a href="{{ .Site.Params.project1link }}" class="thumbnail">
{{ if .Site.Params.project1img }}
<img class="img-responsive" src="/{{ .Site.Params.project1img }}" alt="{{ .Site.Params.project1title }}">
</a>
{{ end }}
<a href="{{ .Site.Params.project1link }}" class="thumbnail">
<span class="project-title">{{ .Site.Params.project1title }}</span>
</a>
</div>
<div class="col-md-4 col-xs-12 text-center">
<a href="{{ .Site.Params.project2link }}" class="thumbnail">
{{ if .Site.Params.project2img }}
<img class="img-responsive" src="/{{ .Site.Params.project2img }}" alt="{{ .Site.Params.project2title }}">
</a>
{{ end }}
<a href="{{ .Site.Params.project1link }}" class="thumbnail">
<span class="project-title">{{ .Site.Params.project2title }}</span>
</a>
</div>
<div class="col-md-4 col-xs-12 text-center">
<a href="{{ .Site.Params.project3link }}" class="thumbnail">
{{ if .Site.Params.project3img }}
<img class="img-responsive" src="/{{ .Site.Params.project3img }}" alt="{{ .Site.Params.project3title }}">
</a>
{{ end }}
<a href="{{ .Site.Params.project1link }}" class="thumbnail">
<span class="project-title">{{ .Site.Params.project3title }}</span>
</a>
</div>
</div>
<div class="nav"><a href="#top"><i class="fa fa-arrow-up"></i></a></div>
</div>