Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion content/projekte/2011-12-31-ernteteilen.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions content/projekte/2014-05-01-portable-linked-profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 1 addition & 10 deletions themes/codefor-theme/layouts/partials/project-preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{{ end }}
</ul>
</div>

<div class="card-body p-4">
{{- if (and (not (eq .Params.imgname nil)) (fileExists (printf "static/projects/%s" .Params.imgname ))) -}}
<img class="project-image" src="/projects/{{ .Params.imgname }}" alt="Screenshot {{ .Title }}">
Expand All @@ -33,16 +33,7 @@
{{- end -}}
<a class="text-dark no-underline project-link" href="{{.Permalink}}"><h3 class="title">{{.Title}}</h3></a>
<div class="text-dark description" >
{{ if (isset .Params "Excerpt") }}
{{ if (gt (len .Params.Excerpt) 0)}}
{{ .Params.Excerpt | truncate 200 }}
{{ else }}
{{ .Summary | truncate 200 }}
{{ end }}
{{ else }}
{{ .Summary | truncate 200 }}
{{ end }}

</div>
</div>
<div class="card-footer border-top-0 bg-white d-flex justify-content-between">
Expand Down