This repository has been archived by the owner on Nov 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use CoworkersPatchwork in CoworkersPage
- Loading branch information
1 parent
ea1b526
commit 37ed4a9
Showing
2 changed files
with
5 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
{% extends 'partials/layout.html.twig' %} | ||
{% block content %} | ||
|
||
<div class="CoworkersPage {{ classElement }}"> | ||
{% for p in page.collection %} | ||
<h2>{{ p.header.custom.first_name}} {{p.header.custom.last_name }}</h2> | ||
<img src="coworkers/{{ p.slug | lower }}/{{ p.header.custom.profile_picture }}" alt="{{p.header.custom.first_name}} {{p.header.custom.last_name}}"/> | ||
{{ p.summary }} | ||
{% endfor %} | ||
</div> | ||
{# Patchwork #} | ||
{% include "components/CoworkersPatchwork.html.twig" | ||
with { classElement: 'HomePage_coworkersPatchwork' } %} | ||
|
||
{% endblock %} |