|
@@ -34,7 +34,7 @@
|
|
|
{{ if eq $page.Params.view 0 }}
|
|
|
|
|
|
<div class="row isotope projects-container js-layout-row">
|
|
|
- {{ range where $.Site.RegularPages "Type" "project" }}
|
|
|
+ {{ range where $.Site.RegularPages "Type" ($page.Params.folder | default "project") }}
|
|
|
<div class="col-md-12 project-item isotope-item {{ delimit .Params.tags " " }}" itemscope itemtype="http://schema.org/CreativeWork">
|
|
|
<i class="fa fa-files-o pub-icon" aria-hidden="true"></i>
|
|
|
|
|
@@ -56,7 +56,7 @@
|
|
|
|
|
|
<div class="row isotope projects-container js-layout-masonry">
|
|
|
|
|
|
- {{ range $project := where $.Site.RegularPages "Type" "project" }}
|
|
|
+ {{ range $project := where $.Site.RegularPages "Type" ($page.Params.folder | default "project") }}
|
|
|
{{ $.Scratch.Set "project_url" $project.Permalink }}
|
|
|
{{ $.Scratch.Set "target" "" }}
|
|
|
{{ if $project.Params.external_link }}
|