Skip to content

Commit

Permalink
add bluesky to speakers' profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-nika committed Nov 27, 2024
1 parent e963e51 commit 1325480
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 80 deletions.
192 changes: 113 additions & 79 deletions _layouts/participant.html
Original file line number Diff line number Diff line change
@@ -1,92 +1,126 @@
<!DOCTYPE html>
<!doctype html>
<html>
{% include imports/head.html %}
{% include imports/head.html %}

<body>
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe height="0" src="https://www.googletagmanager.com/ns.html?id=GTM-W5JWPV6M"
style="display:none;visibility:hidden" width="0"></iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->
<body>
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe
height="0"
src="https://www.googletagmanager.com/ns.html?id=GTM-W5JWPV6M"
style="display: none; visibility: hidden"
width="0"
></iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->

{% include navigation_2.html %}
<div class="speaker-content">
<div class="speaker-card">
<div class="speaker-head">
<div class="img" style="background-image: url('{{site.baseurl}}{{ page.pic_url }}');"></div>
<div class="speaker-col">
<h1 class="speaker-name">
{{ page.name }}
</h1>
<h2 class="speaker-position">{{ page.tagline }}</h2>
<div class="speaker-social">
{% if page.github %}
<a href="https://github.com/{{ page.github }}" target="_blank">
<i class="fa fa-github"></i>
</a>
{% endif %}
{% if page.twitter %}
<a href="https://twitter.com/{{ page.twitter }}" target="_blank">
<i class="fa fa-twitter"></i>
</a>
{% endif %}
{% if page.linkedin %}
<a href="https://linkedin.com/{{ page.linkedin }}" target="_blank">
<i class="fa fa-linkedin"></i>
</a>
{% endif %}
{% if page.mastodon %}
<a href="{{ page.mastodon }}" target="_blank">
<i class="fa-brands fa-mastodon"></i>
</a>
{% endif %}
</div>
<div class="speaker-desc">{{ page.content | markdownify }}</div>


{% assign filtered_keynotes = site.keynotes | where_exp: "keynote", "keynote.speakers contains page.path " %}
{% include navigation_2.html %}
<div class="speaker-content">
<div class="speaker-card">
<div class="speaker-head">
<div
class="img"
style="background-image: url('{{site.baseurl}}{{ page.pic_url }}');"
></div>
<div class="speaker-col">
<h1 class="speaker-name">{{ page.name }}</h1>
<h2 class="speaker-position">{{ page.tagline }}</h2>
<div class="speaker-social">
{% if page.github %}
<a
href="https://github.com/{{ page.github }}"
target="_blank"
>
<i class="fa fa-github"></i>
</a>
{% endif %} {% if page.twitter %}
<a
href="https://twitter.com/{{ page.twitter }}"
target="_blank"
>
<i class="fa fa-twitter"></i>
</a>
{% endif %} {% if page.linkedin %}
<a
href="https://linkedin.com/{{ page.linkedin }}"
target="_blank"
>
<i class="fa fa-linkedin"></i>
</a>
{% endif %} {% if page.mastodon %}
<a href="{{ page.mastodon }}" target="_blank">
<i class="fa-brands fa-mastodon"></i>
</a>
{% endif %} {% if page.bluesky %}
<a
href="https://bsky.app/profile/{{ page.bluesky }}"
target="_blank"
>
<svg
class="fa"
style="width: 14px; height: 14px"
viewBox="0 0 24 24"
>
<path
fill="currentColor"
d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm3.96 15.95l-6.79-2.05 2.05-6.79 6.79 2.05-2.05 6.79z"
/>
</svg>
</a>
{% endif %}
</div>
<div class="speaker-desc">
{{ page.content | markdownify }}
</div>

{% for keynote in filtered_keynotes %}
<h4 class="speaker-training">Keynote:
<br>
<a href="{{site.baseurl}}{{ keynote.url }}">{{ keynote.title }}</a>
</h4>
{% assign filtered_keynotes = site.keynotes | where_exp:
"keynote", "keynote.speakers contains page.path " %} {%
for keynote in filtered_keynotes %}
<h4 class="speaker-training">
Keynote:
<br />
<a href="{{site.baseurl}}{{ keynote.url }}"
>{{ keynote.title }}</a
>
</h4>

{% endfor %}

{% assign filtered_talks = site.talks | where_exp: "talk", "talk.speakers contains page.path " %}

{% for talk in filtered_talks %}
<h4 class="speaker-training">Talk:
<br>
<a href="{{site.baseurl}}{{ talk.url }}">{{ talk.title }}</a>
</h4>
<!-- <p class="speaker-talk">
{% endfor %} {% assign filtered_talks = site.talks |
where_exp: "talk", "talk.speakers contains page.path "
%} {% for talk in filtered_talks %}
<h4 class="speaker-training">
Talk:
<br />
<a href="{{site.baseurl}}{{ talk.url }}"
>{{ talk.title }}</a
>
</h4>
<!-- <p class="speaker-talk">
<strong>Audience:</strong>
{{ talk.audience | join: ","}}
</p> -->

<div class="speaker-desc mt-0">{{ talk.content | markdownify }}</div>
{% endfor %}

{% assign filtered_trainings = site.trainings | where_exp: "training", "training.trainers contains page.path " %}
{% for training in filtered_trainings %}
<h4 class="speaker-training">Training:
<br>
<a href="{{site.baseurl}}{{ training.url }}">{{ training.title }}</a>

</h4>
<div class="speaker-desc mt-0">{{ training.summary }}</div>
{% endfor %}


<div class="speaker-desc mt-0">
{{ talk.content | markdownify }}
</div>
{% endfor %} {% assign filtered_trainings =
site.trainings | where_exp: "training",
"training.trainers contains page.path " %} {% for
training in filtered_trainings %}
<h4 class="speaker-training">
Training:
<br />
<a href="{{site.baseurl}}{{ training.url }}"
>{{ training.title }}</a
>
</h4>
<div class="speaker-desc mt-0">
{{ training.summary }}
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</div>
{% include footer.html %}
{% include imports/js.html %}
</body>

{% include footer.html %} {% include imports/js.html %}
</body>
</html>
3 changes: 2 additions & 1 deletion _participants/louis-pilfold.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ tagline: "Creator of Gleam"
github: lpil
twitter: louispilfold
linkedin: /in/louis-pilfold/
bluesky: lpil.uk.bsky.social

---
Creator of the Gleam programming language and all-round BEAMer!
Creator of the Gleam programming language and all-round BEAMer!

0 comments on commit 1325480

Please sign in to comment.