Skip to content

Commit

Permalink
Merge pull request 4C-multiphysics#12 from c-p-schmidt/update-contact…
Browse files Browse the repository at this point in the history
…-page

Update the contact page
  • Loading branch information
c-p-schmidt authored Jan 23, 2025
2 parents 3af719c + 7c6e1d4 commit f606315
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 41 deletions.
19 changes: 1 addition & 18 deletions _data/contact.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1 @@
[
{ institute: 'Institute for Computational Mechanics',
university: 'Technische Universität München',
institutelink: 'https://www.epc.ed.tum.de/lnm/home/',
contact_button_link: 'contact',
email-name: "Prof. Dr.-Ing. W. A. Wall",
email-address: "sekretariat.lnm@ed.tum.de"
}
# ,
# {
# institute: 'New Institute',
# university: 'The address is given in _data/contact.json',
# institutelink: 'https://www.google.com',
# contact_button_link: 'contact',
# email-name: "Prof. Dr.-Ing. M. Musterperson",
# email-address: "info@4c-multiphysics.org"
# }
]
contact_button_link: 'contact'
28 changes: 5 additions & 23 deletions _layouts/contact.html
Original file line number Diff line number Diff line change
@@ -1,34 +1,16 @@
---
layout: page
title: Contact
layout: default
bodyClass: "page-contact"
---

<div class="container pb-6 pt-6 pt-md-10 pb-md-10">
<div class="row justify-content-start">
{% for contact in site.data.contact %}
<div class="col-12 col-md-8 pb-2">
<div class="col-12 col-md-8">
<div class="service service-single">

<div class="call">
<div class="call-box-top">
{% if contact.institute %}
<div class="call-institute">
<a href="{{ contact.institutelink }}">
{{ contact.institute }}
</a>
</div>
{% endif %}
{% if contact.university %}
<div class="call-university"> {{ contact.university }} </div>
{% endif %}
{% if contact.email-address %}
<div class=""><a href="mailto: {{ contact.email-address }}">{{ contact.email-name }}</a></div>
{% endif %}
</div>
</div>

<h1 class="title">{{page.title}}</h1>
<div class="content mt-4">{{content}}</div>
</div>
</div>
{% endfor %}
</div>
</div>
4 changes: 4 additions & 0 deletions contact.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
title: Contact
layout: contact
description: Contact
permalink: "/contact/"
---

You can become part of the 4C community via the [4C GitHub repository](https://github.com/4C-multiphysics/4C).

For any questions, suggestions, or to report issues, please feel free to open an [Issue](https://github.com/4C-multiphysics/4C/issues) or start a [Discussion](https://github.com/4C-multiphysics/4C/discussions).

0 comments on commit f606315

Please sign in to comment.