diff --git a/layouts/partials/widgets/projects.html b/layouts/partials/widgets/projects.html index 009643dd..fa6fc3bd 100644 --- a/layouts/partials/widgets/projects.html +++ b/layouts/partials/widgets/projects.html @@ -56,15 +56,19 @@
{{ range $project := where $.Data.Pages "Type" "project" }} + {{ $.Scratch.Set "project_url" $project.Permalink }} + {{ if $project.Params.external_link }} + {{ $.Scratch.Set "project_url" $project.Params.external_link }} + {{ end }}
{{ with $project.Params.image_preview }} - + {{ end }}
-

{{ .Title }}

+

{{ .Title }}

{{ with $project.Params.summary }}

{{ . }}

{{ end }}