Skip to content

Commit

Permalink
Merge pull request spf13#70 from JCapul/patch-1
Browse files Browse the repository at this point in the history
Unquoting true value for Params.featured
  • Loading branch information
htr3n authored Apr 30, 2019
2 parents 6c6fb83 + b1ed0f1 commit 3551425
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/portfolio/content.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<span class="section__title">{{ .Title | default "Projects" }}</span>
<div class="portfolio__content">
{{ range first 1 (where .Data.Pages "Params.featured" "==" "true") }}
{{ range first 1 (where .Data.Pages "Params.featured" "==" true) }}
<section class="portfolio__featured-project">
<div class="section-inner">
<div class="portfolio_content">
Expand All @@ -27,7 +27,7 @@
<section>
<div class="portfolio_content">
<hr class="divider">
{{ range (where .Data.Pages "Params.featured" "!=" "true").ByDate.Reverse }}
{{ range (where .Data.Pages "Params.featured" "!=" true).ByDate.Reverse }}
<div class="row">
<div class="col-md-4 col-sm-4 col-xs-12" href="{{ .Params.link }}"
target="_blank" rel="noopener noreferrer">
Expand Down

0 comments on commit 3551425

Please sign in to comment.