diff --git a/content/projekte/2011-12-31-ernteteilen.md b/content/projekte/2011-12-31-ernteteilen.md index ec2697a5..82c4e0d0 100644 --- a/content/projekte/2011-12-31-ernteteilen.md +++ b/content/projekte/2011-12-31-ernteteilen.md @@ -4,7 +4,6 @@ lab: [berlin] #needed for Aggregation on Lab-Page imgname: berlin/ernteteilen.png title: Ernte Teilen showcase: true -excerpt: links: - url: https://ernte-teilen.org diff --git a/content/projekte/2014-05-01-portable-linked-profiles.md b/content/projekte/2014-05-01-portable-linked-profiles.md index 59884475..c93436ac 100644 --- a/content/projekte/2014-05-01-portable-linked-profiles.md +++ b/content/projekte/2014-05-01-portable-linked-profiles.md @@ -4,9 +4,6 @@ lab: [berlin] #needed for Aggregation on Lab-Page imgname: berlin/portablelinkedprofiles.png title: Portable Linked Profiles -excerpt: - PLP proposes a pattern for the creation, storage, listing and representation of public profile data. - links: - url: https://github.com/hackers4peace/plp-docs name: Dokumentation diff --git a/themes/codefor-theme/layouts/partials/project-preview.html b/themes/codefor-theme/layouts/partials/project-preview.html index 09ccbf95..02a585a6 100644 --- a/themes/codefor-theme/layouts/partials/project-preview.html +++ b/themes/codefor-theme/layouts/partials/project-preview.html @@ -24,7 +24,7 @@ {{ end }} - +
{{- if (and (not (eq .Params.imgname nil)) (fileExists (printf "static/projects/%s" .Params.imgname ))) -}} Screenshot {{ .Title }} @@ -33,16 +33,7 @@ {{- end -}}

{{.Title}}

- {{ if (isset .Params "Excerpt") }} - {{ if (gt (len .Params.Excerpt) 0)}} - {{ .Params.Excerpt | truncate 200 }} - {{ else }} - {{ .Summary | truncate 200 }} - {{ end }} - {{ else }} {{ .Summary | truncate 200 }} - {{ end }} -