Fork of the Hugo theme hyde-hyde that introduces some necessary cleanup and changes.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

65 lines
3.2 KiB

<span class="section__title">{{ .Title | default "Projects" }}</span>
<div class="portfolio__content">
{{ range first 1 (where .Data.Pages "Params.featured" "==" true) }}
<section class="portfolio__featured-project">
<div class="section-inner">
<div class="portfolio_content">
<div class="item featured text-center">
<span class="project__title">
<a href="{{ .RelPermalink }}" target="_blank" rel="noopener noreferrer">{{ .Title }}</a>
</span>
<p class="project__subtitle-big">
{{ .Params.description }}
</p>
<span class="blog__meta">
{{ partial "page-single/post-meta.html" . }}
</span>
<span class="project__screenshot">
{{ if .Params.screenshots }}
<a href={{ .RelPermalink }} target="_blank" rel="noopener noreferrer"><img class="project__image img-responsive" src="{{ .Params.screenshots.s1.file }}" alt="{{ .Params.screenshots.s1.caption }}" title="{{ .Params.screenshots.s1.caption }}"></a>
{{ end }}
</span>
<div class="project__summary">
{{ .Summary }}
</div>
<span class="read_more">
<a href="{{ .RelPermalink }}" target="_blank" rel="noopener noreferrer">READ MORE</a>
</span>
</div>
</div>
</div>
</section>
{{ end }}
<section>
<div class="portfolio_content">
<hr class="divider">
{{ range (where .Data.Pages "Params.featured" "!=" true).ByDate.Reverse }}
<div class="row">
<div class="col-md-8 col-sm-8 col-xs-12">
<span class="project__title">
<a href="{{ .RelPermalink }}" target="_blank" rel="noopener noreferrer">{{ .Title }}</a>
</span>
<span class="project__subtitle-small">
{{ .Params.description }}
</span>
<span class="project__meta">
{{ partial "page-single/post-meta.html" . }}
</span>
<span class="project__primary-screen">
{{ if .Params.screenshots }}
<a href={{ .RelPermalink }} target="_blank" rel="noopener noreferrer"><img class="project__image img-responsive" src="{{ .Params.screenshots.s1.file }}" alt="{{ .Params.screenshots.s1.caption }}" title="{{ .Params.screenshots.s1.caption }}"></a>
{{ end }}
</span>
<span class="project__summary">
{{ .Summary }}
</span>
<span class="read_more">
<a href="{{ .RelPermalink }}" target="_blank" rel="noopener noreferrer">READ MORE</a>
</span>
</div>
</div>
<div class="row-space">&nbsp;</div>
{{ end }}
</div>
</section>
</div>