Skip to content

Commit

Permalink
show build future only in json list
Browse files Browse the repository at this point in the history
  • Loading branch information
hilmanski committed Jul 28, 2021
1 parent 5f40319 commit 891197a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ baseURL : https://freestuff.dev
languageCode : en
title : Free Dev Stuff

buildFuture : true

params:
description: List of free stuff for developer by developer to use. This is a collective list of useful services for developer you can use for your next MVP or prototpying your idea.

Expand Down
8 changes: 6 additions & 2 deletions layouts/partials/stuff-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,17 @@
{{ if eq .Kind "term" }}
<h1>List of free {{ .Title }} tool/service for developer 👇🏽 </h1>
{{ range where .Pages "Type" "stuff" | shuffle}}
{{ partial "stuff-cards.html" . }}
{{ if le .Params.Date.Unix now.Unix }}
{{ partial "stuff-cards.html" . }}
{{ end }}
{{ end }}

{{ else }}
<h1>Free Dev Tool/Services for developer 👇🏽</h1>
{{ range where .Site.RegularPages "Type" "stuff"}}
{{ partial "stuff-cards.html" . }}
{{ if le .Params.Date.Unix now.Unix }}
{{ partial "stuff-cards.html" . }}
{{ end }}
{{ end }}
{{ end }}

Expand Down

0 comments on commit 891197a

Please sign in to comment.