Skip to content

Commit

Permalink
Moar
Browse files Browse the repository at this point in the history
- ujednolicenie QRZ, maili do flag w authors.yml, dodanie mastodona do obsługiwania (rel=me dla verify też)
- Ogarnięcie wyświetlania niezerowych zasług na liście wszystkich
- Zmiana layoutu wyświetlania wystąpień i projektów na taki, jak na podstronie z projektami
- dummy.jpg - lvl wyzej i zastosowanie do wystapien przy puku i talkach
  • Loading branch information
wprzyb committed Jun 29, 2024
1 parent 270b1d0 commit 652997e
Show file tree
Hide file tree
Showing 160 changed files with 442 additions and 252 deletions.
36 changes: 6 additions & 30 deletions _data/authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,10 @@ sq9wtf:
speaker : no
callsign : SQ9WTF
authorpage : "/authors/sq9wtf"
links:
- label: "Email"
icon: "fas fa-fw fa-envelope-square"
url: "mailto:[email protected]"
- label: "QRZ.com"
icon: "fas fa-fw fa-book"
url: "https://www.qrz.com/db/sq9wtf"
email : "[email protected]"
github : "wprzyb"
instagram : "wprzyb"
mastodon : "https://mastodon.radio/@sq9wtf"

sp6mar:
name : "Martyna"
Expand All @@ -25,10 +22,7 @@ sp6mar:
constructor : no
speaker : no
authorpage : "/authors/sp6mar"
links:
- label: "Email"
icon: "fas fa-fw fa-envelope-square"
url: "mailto:[email protected]"
email : "[email protected]"

sq9zaq:
name : "canis_lupus"
Expand All @@ -41,13 +35,7 @@ sq9zaq:
zjazd_orga : yes
constructor : yes
speaker : no
links:
- label: "Email"
icon: "fas fa-fw fa-envelope-square"
url: "mailto:[email protected]"
- label: "QRZ.com"
icon: "fas fa-fw fa-book"
url: "https://www.qrz.com/db/sq9zaq"
email : "[email protected]"

sp3htf:
name : "Rafał"
Expand Down Expand Up @@ -88,10 +76,6 @@ sp9mrn:
zjazd_orga : yes
constructor : yes
speaker : no
links:
- label: "QRZ.com"
icon: "fas fa-fw fa-book"
url: "https://www.qrz.com/db/sp9mrn"

sp2fp:
name : "Paweł"
Expand All @@ -101,10 +85,6 @@ sp2fp:
zjazd_orga : no
constructor : yes
speaker : no
links:
- label: "QRZ.com"
icon: "fas fa-fw fa-book"
url: "https://www.qrz.com/db/sp2fp"

sq7hjb:
name : "Marek"
Expand All @@ -115,10 +95,6 @@ sq7hjb:
zjazd_orga : no
constructor : yes
speaker : no
links:
- label: "QRZ.com"
icon: "fas fa-fw fa-book"
url: "https://www.qrz.com/db/sq7hjb"

ekipa:
name : "Zjazd Techniczny Krótkofalowców"
Expand Down
17 changes: 16 additions & 1 deletion _includes/author-profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h3 class="author__name p-name" itemprop="name">
{% endif %}
{% endif %}
</div>

<hr>
<div class="author__urls-wrapper">
<button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
<ul class="author__urls social-icons">
Expand All @@ -63,6 +63,13 @@ <h3 class="author__name p-name" itemprop="name">
</li>
{% endif %}

<li>
<a href="http://www.qrz.com/db/{{ author.callsign | downcase }}" rel="me" class="u-qrz">
<meta itemprop="qrz" content="{{ author.callsign | downcase }}" />
<i class="fas fa-fw fa-book" aria-hidden="true"></i><span class="label">{{ site.data.ui-text[site.locale].qrz_label | default: "QRZ" }}</span>
</a>
</li>

{% if author.email %}
<li>
<a href="mailto:{{ author.email }}" rel="me" class="u-email">
Expand All @@ -80,6 +87,14 @@ <h3 class="author__name p-name" itemprop="name">
</li>
{% endif %}

{% if author.mastodon %}
<li>
<a href="{{ author.mastodon }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-mastodon" aria-hidden="true"></i><span class="label">Mastodon</span>
</a>
</li>
{% endif %}

{% if author.twitter %}
<li>
<a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
Expand Down
2 changes: 1 addition & 1 deletion _includes/author_count.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
{% endif %}
{% endfor %}

<span>{{ author_count }}</span>
{{ author_count }}
55 changes: 49 additions & 6 deletions _layouts/author.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: archive
classes: wide
---

{% assign author = site.data.authors[page.author] %}
Expand All @@ -9,9 +10,30 @@
<h2 class="archive__subtitle">Projekty:</h2>
<div class="entries-list">

{% for post in posts %}
{% include archive-single.html type=entries_layout %}
{% endfor %}
<div class="project-category-grid">
{% for post in posts %}
<div class="project-item-half">
{% if post.header.overlay_image %}
<img src="{{ post.header.overlay_image | relative_url }}" alt="{{ post.title }}" class="project-image">
{% endif %}
<div class="project-details">
<a href="{{ post.url | relative_url }}" class="project-title">{{ post.title }}</a>
<div class="project-meta">
<span class="project-author">Autor:
{% for author in post.author %}
{% assign author_info = site.data.authors[author] %}
- <a href="{{ author_info.authorpage | relative_url }}">{{ author_info.name }}
{% if author_info.callsign and author_info.callsign != '' %}
({{ author_info.callsign }})
{% endif %}</a>
{% endfor %}
</span>
Rok {{ post.puk_year }} numer {{post.puk_place}} kategoria {{ post.puk_category}}
</div>
</div>
</div>
{% endfor %}
</div>

</div>
</section>
Expand All @@ -22,9 +44,30 @@ <h2 class="archive__subtitle">Projekty:</h2>
<h2 class="archive__subtitle">Wystąpienia:</h2>
<div class="entries-list">

{% for post in posts %}
{% include archive-single.html type=entries_layout %}
{% endfor %}
<div class="project-category-grid">
{% for post in posts %}
<div class="project-item-half">
{% if post.header.overlay_image %}
<img src="{{ post.header.overlay_image | relative_url }}" alt="{{ post.title }}" class="project-image">
{% endif %}
<div class="project-details">
<a href="{{ post.url | relative_url }}" class="project-title">{{ post.title }}</a>
<div class="project-meta">
<span class="project-author">Autor:
{% for author in post.author %}
{% assign author_info = site.data.authors[author] %}
- <a href="{{ author_info.authorpage | relative_url }}">{{ author_info.name }}
{% if author_info.callsign and author_info.callsign != '' %}
({{ author_info.callsign }})
{% endif %}</a>
{% endfor %}
</span>
Kiedy: {{ post.starttime }} sala {{post.room}}.
</div>
</div>
</div>
{% endfor %}
</div>

</div>
</section>
Expand Down
13 changes: 8 additions & 5 deletions _pages/authors.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<br>
<br>
Warto dodać, że nieobecność kogoś na tej liście nie oznaczy umniejszenia zasług tej osoby - choćby w przypadku <a href="/puk/warsztaty_qrp">osób organizujących Warsztaty QRP</a> - nie ma jeszcze dopisanej obsługi pojedynczych historycznych zjazdów jako odkładająca się na profilu użytkownika i na tej liście "zasługa".
Warto dodać, że nieobecność kogoś na tej liście nie oznaczy umniejszenia zasług tej osoby - choćby w przypadku <a href="/warsztaty_qrp">osób organizujących Warsztaty QRP</a> - nie ma jeszcze dopisanej obsługi pojedynczych historycznych zjazdów jako odkładająca się na profilu użytkownika i na tej liście "zasługa".

<br>
<br>
Expand Down Expand Up @@ -69,14 +69,17 @@ <h2 class="archive__item-title">{{ display_name }}
{% include author_count.html current_author=f current_collection='talks'%}
{% endcapture %}

{%assign pcount = project_count | strip %}
{%assign tcount = talk_count | strip%}

<p><a href="/authors/{{ f[0] }}" class="page__taxonomy-item p-category">
{% if f[1].zjazd_orga %}
Organizator,
Organizator.
{% endif %}
{% unless project_count == "0" %}
Projektów: {{ project_count }},
{% unless pcount == "0" %}
Projektów: {{ project_count }}.
{% endunless %}
{% unless talk_count == "0" %} Wystąpień: {{ talk_count }}
{% unless tcount == "0" %} Wystąpień: {{ talk_count }}.
{% endunless %}</a></p>

</div>
Expand Down
14 changes: 8 additions & 6 deletions _pages/projekty.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,21 @@ <h3>Kategoria {{ category_key | upcase }} - {{ category_name }}</h3>
<div class="project-category-grid">
{% assign sorted_projects = category_projects | sort: "puk_place" %}
{% for project in sorted_projects %}
<div class="project-item">
<div class="project-item-fourth">
{% if project.header.overlay_image %}
<img src="{{ project.header.overlay_image | relative_url }}" alt="{{ project.title }}" class="project-image">
{% endif %}
<div class="project-details">
<a href="{{ project.url | relative_url }}" class="project-title">{{ project.title }}</a>
<div class="project-meta">
<span class="project-author">Autor:
{% assign author_info = site.data.authors[project.author] %}
- <a href="{{ author_info.authorpage | relative_url }}">{{ author_info.name }}
{% if author_info.callsign and author_info.callsign != '' %}
({{ author_info.callsign }})
{% endif %}</a>
{% for author in project.author %}
{% assign author_info = site.data.authors[author] %}
- <a href="{{ author_info.authorpage | relative_url }}">{{ author_info.name }}
{% if author_info.callsign and author_info.callsign != '' %}
({{ author_info.callsign }})
{% endif %}</a>
{% endfor %}
</span>
<span class="project-place">Projekt nr {{ project.puk_place }}</span>
</div>
Expand Down
3 changes: 2 additions & 1 deletion _puk/3z6aef_automatyczny_tuner_antenowy_qrp.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ title: Automatyczny tuner antenowy QRP
puk_category: B
puk_year: 2011
puk_place: 2
author: 3z6aef
author:
- 3z6aef
tagline: ""
layout: puk
proofread: yes
Expand Down
3 changes: 2 additions & 1 deletion _puk/3z6aef_zestaw_tłumików_oraz_mostków_pomiarowych.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ title: Zestaw tłumików oraz mostków pomiarowych
puk_category: C
puk_year: 2010
puk_place: 3
author: 3z6aef
author:
- 3z6aef
tagline: ""
layout: puk
proofread: yes
Expand Down
3 changes: 2 additions & 1 deletion _puk/sp2cnw_antena_yagi_na_pasmo_23_cm.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ title: Antena Yagi na pasmo 23 cm
puk_category: B
puk_year: 2019
puk_place: 4
author: sp2cnw
author:
- sp2cnw
tagline: ""
layout: puk
proofread: yes
Expand Down
3 changes: 2 additions & 1 deletion _puk/sp2fp_hydra.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ title: HYDRA - TRX KF CW/SSB 3,5/7/14 MHz
puk_category: A
puk_year: 2019
puk_place: 1
author: sp2fp
author:
- sp2fp
tagline: ""
layout: puk
classes: wide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ title: Sterownik klucza telegraficznego wg DK3LJ/AI4SV/KC9ON
puk_category: D
puk_year: 2019
puk_place: 17
author: sp2fp
author:
- sp2fp
tagline: ""
layout: puk
proofread: yes
classes: wide
header:
overlay_image: /assets/images/puk/dummy.jpg
overlay_image: /assets/images/dummy.jpg
overlay_filter: 0.5
teaser: /assets/images/puk/dummy.jpg
teaser: /assets/images/dummy.jpg
---

Odnośniki
Expand Down
3 changes: 2 additions & 1 deletion _puk/sp2fp_trx_kaefelek.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ title: TRX KaeFeLek
puk_category: A
puk_year: 2016
puk_place: 2
author: sp2fp
author:
- sp2fp
tagline: ""
layout: puk
proofread: yes
Expand Down
3 changes: 2 additions & 1 deletion _puk/sp2fp_trx_scorpion_80.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ title: TRX SCORPION 80
puk_category: A
puk_year: 2016
puk_place: 1
author: sp2fp
author:
- sp2fp
tagline: ""
layout: puk
proofread: no
Expand Down
3 changes: 2 additions & 1 deletion _puk/sp2fp_uniwersalna_synteza_częstotliwości_kf_8_pasm.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ title: Uniwersalna synteza częstotliwości KF 8 pasm
puk_category: D
puk_year: 2019
puk_place: 9
author: sp2fp
author:
- sp2fp
tagline: ""
layout: puk
proofread: no
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ title: Uniwersalny zespół filtrów dolnoprzepustowych nadajnika
puk_category: D
puk_year: 2018
puk_place: 8
author: sp2fp
author:
- sp2fp
tagline: ""
layout: puk
proofread: no
classes: wide
header:
overlay_image: /assets/images/puk/dummy.jpg
overlay_image: /assets/images/dummy.jpg
overlay_filter: 0.5
teaser: /assets/images/puk/dummy.jpg
teaser: /assets/images/dummy.jpg
---


Expand Down
3 changes: 2 additions & 1 deletion _puk/sp2gya_analizator_antenowy.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ title: Analizator antenowy
puk_category: C
puk_year: 2012
puk_place: 8
author: sp2gya
author:
- sp2gya
tagline: ""
layout: puk
proofread: no
Expand Down
7 changes: 4 additions & 3 deletions _puk/sp2gya_antena_na_wyjazdy_3_5_28_mhz.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ title: Antena na wyjazdy 3,5 – 28 MHz
puk_category: B
puk_year: 2017
puk_place: 6
author: sp2gya
author:
- sp2gya
tagline: ""
layout: puk
proofread: no
classes: wide
header:
overlay_image: /assets/images/puk/dummy.jpg
overlay_image: /assets/images/dummy.jpg
overlay_filter: 0.5
teaser: /assets/images/puk/dummy.jpg
teaser: /assets/images/dummy.jpg
---

![](assets/img/work-in-progress.jpg)
Expand Down
Loading

0 comments on commit 652997e

Please sign in to comment.