Author SHA1 Message Date
Greenscreener 42f63626a2 Přidán testovací článek 2020-11-06 14:20:25 +00:00
23 changed files with 55 additions and 156 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ lint:
build: build:
stage: lint_build_test stage: lint_build_test
image: image:
name: klakegg/hugo:0.78.1-ext-alpine@sha256:7c2d3702546b5aaddf7f960d138715f12ba4b94906d9dfcc2d4a5a4e8c4cb760 name: klakegg/hugo:0.55.6-ext-alpine
entrypoint: entrypoint:
- /bin/sh - /bin/sh
- "-c" - "-c"
@@ -44,7 +44,7 @@ build:
test: test:
stage: lint_build_test stage: lint_build_test
image: image:
name: klakegg/hugo:0.78.1-ext-alpine@sha256:7c2d3702546b5aaddf7f960d138715f12ba4b94906d9dfcc2d4a5a4e8c4cb760 name: klakegg/hugo:0.55.6-ext-alpine
entrypoint: entrypoint:
- /bin/sh - /bin/sh
- "-c" - "-c"
+1 -8
View File
@@ -24,12 +24,5 @@
"project": "projects", "project": "projects",
"author": "authors" "author": "authors"
}, },
"pygmentsCodeFences": true, "pygmentsCodeFences": true
"markup": {
"goldmark": {
"renderer": {
"unsafe": true
}
}
}
} }
+1 -1
View File
@@ -10,7 +10,7 @@ menu:
landing: landing:
weight: 1 weight: 1
--- ---
Zatímco pátek je pátý den v týdnu, Pátek je kroužek a skupina studentů, kteří se zajímají nejen o informatiku, ale také fyziku, elektrotechniku, radioamatérství, matematiku, biologii a vše co je zajímavé. Stejně jako se [pátečníci](https://cs.wikipedia.org/wiki/P%C3%A1te%C4%8Dn%C3%ADci) Karla Čapka scházeli v jeho vile každé páteční odpoledne, tak se také my scházíme každé páteční odpoledne v jedné či více učebnách brandýského gymnázia poté, co všichni příčetní studenti odejdou domů. Velkou část těchto schůzek trávíme diskusemi o absurdních tématech (např. teorie myšlenky, antimyšlenky a jejich vzájemné anihilace), hádáním se o kontroverzních názorech (např. proč je GNU/Linux bezkonkurenčně lepší oproti ostatním operačním systémům) či prací na čemkoliv co, zrovna daný člen nestíhá. Děláme ale také mnoho *bohulibějších* činností: Zatímco pátek je pátý den v týdnu, Pátek je kroužek a skupina studentů, kteří se zajímají nejen o informatiku, ale také fyziku, elektrotechniku, radioamatérství, matematiku, biologii a vše co je zajímavé. Stejně jako se [pátečníci](https://cs.wikipedia.org/wiki/P%C3%A1te%C4%8Dn%C3%ADci) Karla Čapka scházeli v jeho vile každé páteční odpoledne, tak se také my scházíme každé páteční odpoledne v jedné či více učebnách brandýského gymnázia poté, co všichni příčetní studenti odejdou domů. Velkou část těchto schůzek trávíme diskusemi o absurdních tématech (např. teorie myšlenky, antimyšlenky a jejich vzájemné anihilace), hádáním se o kontroverzních názorech (např. proč je Linux bezkonkurenčně lepší oproti ostatním operačním systémům) či prací na čemkoliv co, zrovna daný člen nestíhá. Děláme ale také mnoho *bohulibějších* činností:
### Přednášky PátekTalks ### Přednášky PátekTalks
Dle známého českého přísloví *„Kdo umí, umí, kdo neumí, učí.“* si členové, kteří vědí něco, co ostatní neví, připravují jednou za čas přednášky o tématech, která jim připadají zajímavá. Vzhledem k tomu, že většina starších členů Pátku jsou skalní informatici, se většina přednášek ubírá tímto směrem, avšak kdo má odvahu, může se jim postavit se svým tématem. Dle známého českého přísloví *„Kdo umí, umí, kdo neumí, učí.“* si členové, kteří vědí něco, co ostatní neví, připravují jednou za čas přednášky o tématech, která jim připadají zajímavá. Vzhledem k tomu, že většina starších členů Pátku jsou skalní informatici, se většina přednášek ubírá tímto směrem, avšak kdo má odvahu, může se jim postavit se svým tématem.
+1 -1
View File
@@ -10,7 +10,7 @@ menu:
landing: landing:
weight: 1 weight: 1
--- ---
While "pátek" is the name of the fifth day of the week in Czech, Pátek is a group of students interested not only in IT and programming but also physics, electrical engineering, amateur radio, math, biology and anything interesting in general. Like [the Friday Men](https://en.wikipedia.org/wiki/Friday_Men) met in Karel Čapek's house every Friday afternoon, we meet every Friday afternoon in one or more classrooms in the grammar school in Brandýs nad Labem after all the sane students have gone home. A big part of these meetings is spent with discussions about absurd topics (e.g. the theory of thought, anti-thought and their mutual annihilation), arguing about controversial topics (e.g. why GNU/Linux is unbeatably better than all other OSes) and people tend to work on stuff they procrastinated to the last moments. We also do some *useful* stuff: While "pátek" is the name of the fifth day of the week in Czech, Pátek is a group of students interested not only in IT and programming but also physics, electrical engineering, amateur radio, math, biology and anything interesting in general. Like [the Friday Men](https://en.wikipedia.org/wiki/Friday_Men) met in Karel Čapek's house every Friday afternoon, we meet every Friday afternoon in one or more classrooms in the grammar school in Brandýs nad Labem after all the sane students have gone home. A big part of these meetings is spent with discussions about absurd topics (e.g. the theory of thought, anti-thought and their mutual annihilation), arguing about controversial topics (e.g. why Linux is unbeatably better than all other OSes) and people tend to work on stuff they procrastinated to the last moments. We also do some *useful* stuff:
### PátekTalks ### PátekTalks
In the spirit of a known Czech saying, that can be roughly translated to *"Who is good at something does it, who is bad at something teaches it."* students, who know something the others don't, prepare talks about topics they consider interesting. Because most members are conservative computer scientists, most these talks follow this direction, but if there is anyone brave enough, they can stand up to them with their topics. In the spirit of a known Czech saying, that can be roughly translated to *"Who is good at something does it, who is bad at something teaches it."* students, who know something the others don't, prepare talks about topics they consider interesting. Because most members are conservative computer scientists, most these talks follow this direction, but if there is anyone brave enough, they can stand up to them with their topics.
+1 -1
View File
@@ -1,5 +1,5 @@
--- ---
title: "COVID část druhá" title: "COVID část druhá"
date: 2020-10-06T21:59:34+02:00 date: 2020-10-06T21:59:34+02:00
draft: false draft: false
authors: [ "vojta001", "Greenscreener" ] authors: [ "vojta001", "Greenscreener" ]
-14
View File
@@ -1,14 +0,0 @@
---
title: "PF 2021"
date: 2020-12-27T12:09:17+01:00
draft: false
authors: [ "vojta001" ]
tags: [ ]
---
Rok 2020 byl zatím asi nejbláznivějším v dějinách Pátku. Ovlivnil nejen Pátek jako celek a jeho pravidelné schůzky, ale i každého z nás naši pohodu, naše časové dispozice, naše vzdělávání.
Nic z toho na nás však nezanechalo šrámy. Nepolevili jsme ani ve scházení, ani v podílení na informatickém stavu školy, ani v nadšení, speciálně do akcí, jako hackatony a jiné kutilské počiny. Spousta musela proběhnout jinak, **ale proběhla**, a to nejen v kruhu klasiků, ale i nových tváří školního roku 2020/2021 a dokonce i naopak dávných příznivců dnes pohlcených vysokými školami. A aby toho nebylo málo, navázali jsme přátelství s Microlabem, což nám vyneslo skvěle přednášky a velký potenciál do budoucna.
**Velký dík vám všem**, kdo jste se podíleli a účastnili. Přeji nám všem, ať je rok 2021 co nejblíže normálu a co nejplnější osobního kontaktu. Jsem si však jistý, že ať už přinese cokoli, hravě se s tím vypořádáme!
Vojta
+15
View File
@@ -0,0 +1,15 @@
---
title: "Testovací článek"
date: 2020-11-06T15:15:00+01:00
draft: false
authors: [ "Greenscreener", "avekos" ]
tags: [ ]
---
# Nadpis
**tučné**, *italic* a tak dále
- nice
- nice
- nice
-5
View File
@@ -11,11 +11,6 @@ menu:
landing: landing:
weight: 4 weight: 4
title: "<patek-logo title='Talks' subtitle='Pátek'>Talks</patek-logo>" title: "<patek-logo title='Talks' subtitle='Pátek'>Talks</patek-logo>"
cascade:
outputs:
- HTML
- RSS
- Calendar
--- ---
Dle známého českého přísloví *„Kdo umí, umí, kdo neumí, učí.“* si členové, kteří vědí něco, co ostatní neví, připravují jednou za čas přednášky o tématech, která jim připadají zajímavá. Vzhledem k tomu, že většina starších členů Pátku jsou skalní informatici, se většina přednášek ubírá tímto směrem, avšak kdo má odvahu, může se jim postavit se svým tématem. Dle známého českého přísloví *„Kdo umí, umí, kdo neumí, učí.“* si členové, kteří vědí něco, co ostatní neví, připravují jednou za čas přednášky o tématech, která jim připadají zajímavá. Vzhledem k tomu, že většina starších členů Pátku jsou skalní informatici, se většina přednášek ubírá tímto směrem, avšak kdo má odvahu, může se jim postavit se svým tématem.
+1 -5
View File
@@ -3,6 +3,7 @@ title: "Talks"
date: 2019-08-06T09:43:00+02:00 date: 2019-08-06T09:43:00+02:00
draft: false draft: false
authors: [ "unknown" ] authors: [ "unknown" ]
when: 2019-08-06T09:43:00+02:00
buttonColor: "red" buttonColor: "red"
navColor: "red" navColor: "red"
menu: menu:
@@ -11,11 +12,6 @@ menu:
landing: landing:
weight: 4 weight: 4
title: "<patek-logo title='Talks' subtitle='Pátek'>Talks</patek-logo>" title: "<patek-logo title='Talks' subtitle='Pátek'>Talks</patek-logo>"
cascade:
outputs:
- HTML
- RSS
- Calendar
--- ---
In the spirit of a known Czech saying, that can be roughly translated to *"Who is good at something does it, who is bad at something teaches it."* students, who know something the others don't, prepare talks about topics they consider interesting. Because most members are conservative computer scientists, most these talks follow this direction, but if there is anyone brave enough, they can stand up to them with their topics. In the spirit of a known Czech saying, that can be roughly translated to *"Who is good at something does it, who is bad at something teaches it."* students, who know something the others don't, prepare talks about topics they consider interesting. Because most members are conservative computer scientists, most these talks follow this direction, but if there is anyone brave enough, they can stand up to them with their topics.
+1 -1
View File
@@ -3,7 +3,7 @@ title: "Pohled pod pokličku patek.cz"
date: 2020-10-14T17:21:50+02:00 date: 2020-10-14T17:21:50+02:00
draft: false draft: false
authors: [ "vojta001" ] authors: [ "vojta001" ]
when: 2020-10-16T15:00:00+02:00 when: 2020-10-15T15:00:00+02:00
--- ---
[patek.cz]({{< relref "/" >}}) je klasická webovka obsahující základní informace o svém provozovateli a blog. Nebo ne? [patek.cz]({{< relref "/" >}}) je klasická webovka obsahující základní informace o svém provozovateli a blog. Nebo ne?
-13
View File
@@ -316,19 +316,6 @@ patek-logo {
// To make the color constrast enought with white to pass the WCAG AA requirements // To make the color constrast enought with white to pass the WCAG AA requirements
color: #737373 !important; color: #737373 !important;
} }
.rel-alternate-buttons {
display: flex;
flex-direction: row-reverse;
align-items: center;
a {
margin-left: .3rem;
}
i {
font-size: 1.3rem;
}
}
// /Custom styles // /Custom styles
.patek-logo-top { .patek-logo-top {
-2
View File
@@ -33,8 +33,6 @@ other = "Datum přednášky"
other = "Nadcházející a proběhlé Talky" other = "Nadcházející a proběhlé Talky"
[talks-slides] [talks-slides]
one = "Prezentace"
few = "Prezentace"
other = "Prezentace" other = "Prezentace"
[talks-recording] [talks-recording]
+2 -10
View File
@@ -1,14 +1,6 @@
{{ $baseUrl := .Site.BaseURL }}
{{ $paginator := .Paginate (.Pages.ByPublishDate.Reverse) }} {{ $paginator := .Paginate (.Pages.ByPublishDate.Reverse) }}
<div class="level is-mobile"> {{ partial "paginator-buttons.html" $paginator }}
<div class="level-left">
{{ partial "paginator-buttons.html" $paginator }}
</div>
<div class="level-right">
<div class="rel-alternate-buttons">
<a class="button is-link" rel="alternate" href="{{ (.OutputFormats.Get "RSS").Permalink }}"><span class="icon is-medium"><i class="fas fa-2x fa-rss"></i></span></a>
</div>
</div>
</div>
{{ range $paginator.Pages }} {{ range $paginator.Pages }}
<div class="box"> <div class="box">
<div class="pageHeaderContainer"> <div class="pageHeaderContainer">
@@ -4,6 +4,7 @@
<p class="has-text-grey"> <p class="has-text-grey">
{{- T "author" -}}: {{ range .Params.authors }}{{ with $.Site.GetPage (printf "authors/%s" .) }}<a class="separateWithCommas" href="{{ .Permalink }}">{{ .Title }}</a>{{ end }}{{ end }} {{- T "author" -}}: {{ range .Params.authors }}{{ with $.Site.GetPage (printf "authors/%s" .) }}<a class="separateWithCommas" href="{{ .Permalink }}">{{ .Title }}</a>{{ end }}{{ end }}
</p> </p>
{{ $baseUrl := .Site.BaseURL }}
{{ if .Params.tags }} {{ if .Params.tags }}
<p class="has-text-grey"> <p class="has-text-grey">
{{- T "tags" -}}: {{ range .Params.tags }}{{ with $.Site.GetPage (printf "tags/%s" .) }}<a class="separateWithCommas" href="{{ .Permalink }}">{{ .Title }}</a>{{ end }}{{ end }} {{- T "tags" -}}: {{ range .Params.tags }}{{ with $.Site.GetPage (printf "tags/%s" .) }}<a class="separateWithCommas" href="{{ .Permalink }}">{{ .Title }}</a>{{ end }}{{ end }}
@@ -1,18 +0,0 @@
{{- /* Note this file has CRLF line endings as required by the specs */ -}}
{{- /* replace does not support piping */ -}}
{{- $escaped := replace (replace (replace (replace . "\\" "\\\\") "\n" "\\n") "," "\\,") ";" "\\;" -}}
{{- $escapedLen := strings.RuneCount $escaped -}}
{{- $lineLen := 60 -}}
{{- $parts := (div $escapedLen $lineLen) -}}
{{- if (not (modBool $escapedLen $lineLen)) -}}
{{- $parts = (add $parts 1) -}}
{{- end -}}
{{- /* print the string by parts of at most 75 chars as required by the specs */ -}}
{{- range (seq (sub $parts 0)) -}}
{{- if (eq . 1) -}}
{{- substr $escaped (mul (sub . 1) $lineLen) $lineLen -}}
{{- else }}{{- /* the leading whitespace is important here */}}
{{ substr $escaped (mul (sub . 1) $lineLen) $lineLen -}}
{{- end -}}
{{- end -}}
+2 -10
View File
@@ -1,14 +1,6 @@
{{ $baseUrl := .Site.BaseURL }}
{{ $paginator := .Paginate (.Pages.ByPublishDate.Reverse) }} {{ $paginator := .Paginate (.Pages.ByPublishDate.Reverse) }}
<div class="level"> {{ partial "paginator-buttons.html" $paginator }}
<div class="level-left">
{{ partial "paginator-buttons.html" $paginator }}
</div>
<div class="level-right">
<div class="rel-alternate-buttons">
<a class="button is-link" rel="alternate" href="{{ (.OutputFormats.Get "RSS").Permalink }}"><span class="icon is-medium"><i class="fas fa-2x fa-rss"></i></span></a>
</div>
</div>
</div>
{{ range $paginator.Pages }} {{ range $paginator.Pages }}
<div class="box"> <div class="box">
<div class="pageHeaderContainer"> <div class="pageHeaderContainer">
-1
View File
@@ -37,7 +37,6 @@
{{ end }} {{ end }}
</div> </div>
<div class="navbar-end"> <div class="navbar-end">
<a rel="alternate" href="{{ (.Site.Home.OutputFormats.Get "RSS").Permalink }}" class="navbar-item"><span class="icon"><i class="fas fa-lg fa-rss"></i></span></a>
<a href="#" class="navbar-item dark-mode-toggler" role="button" aria-label="Toggle dark mode"> <a href="#" class="navbar-item dark-mode-toggler" role="button" aria-label="Toggle dark mode">
<i class="fas fa-moon" aria-hidden="true" title="Toggle dark mode"></i> <i class="fas fa-moon" aria-hidden="true" title="Toggle dark mode"></i>
</a> </a>
@@ -1,5 +1,6 @@
{{ $paginator := . }} {{ $paginator := . }}
{{ if gt $paginator.TotalPages 1 }} {{ if gt $paginator.TotalPages 1 }}
<div class="has-margin-bottom-1em">
<nav class="pagination" role="navigation" aria-label="pagination"> <nav class="pagination" role="navigation" aria-label="pagination">
<ul class="pagination-list"> <ul class="pagination-list">
<li> <li>
@@ -23,4 +24,5 @@
</li> </li>
</ul> </ul>
</nav> </nav>
</div>
{{ end }} {{ end }}
@@ -1,14 +0,0 @@
{{- /* Note this file has CRLF line endings as required by the specs */ -}}
BEGIN:VEVENT
UID:{{ partial "icalEscape.ics" .Permalink }}
CREATED:{{ dateFormat "20060102T150405Z" .Date.UTC }}
DTSTAMP:{{ dateFormat "20060102T150405Z" (now).UTC }}
SUMMARY:{{ .Title | plainify | partial "icalEscape.ics" }}
DESCRIPTION:{{ printf "%s %s" (.Content | plainify | truncate 200) .Permalink | partial "icalEscape.ics" }}
DTSTART:{{ dateFormat "20060102T150405Z" (time .Params.When).UTC }}
DTEND:{{ $length := 30 -}}
{{- with .Params.Length -}}
{{ $length = (int .) }}
{{- end -}}
{{- dateFormat "20060102T150405Z" (time (add (time .Params.When).Unix (mul $length 60))).UTC }}
END:VEVENT
@@ -1,7 +1,7 @@
<div class="pageHeader"> <div class="pageHeader">
<h2 class="title pageTitle"><a href="{{ .Permalink }}">{{ .Title }}</a></h2> <h2 class="title pageTitle"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<p class="has-text-grey">{{- T "published" -}}:&nbsp;<time datetime="{{ .PublishDate.Format "2006-01-02T15:04:05.000-0700" }}">{{ .PublishDate.Format "02.01.2006 15:04" }}</time></p> <p class="has-text-grey">{{- T "published" -}}:&nbsp;<time datetime="{{ .PublishDate.Format "2006-01-02T15:04:05.000-0700" }}">{{ .PublishDate.Format "02.01.2006 15:04" }}</time></p>
<p class="">{{- T "talks-when" -}}:&nbsp;<time datetime="{{ dateFormat "2006-01-02T15:04:05.000-0700" .Params.when }}">{{ dateFormat "02.01.2006 15:04" .Params.when }}</time> <a rel="alternate" href="{{ (.OutputFormats.Get "Calendar").Permalink | safeURL }}"><span class="icon"><i class="fas fa-calendar-alt"></i></span></a></p> <p class="">{{- T "talks-when" -}}:&nbsp;<time datetime="{{ dateFormat "2006-01-02T15:04:05.000-0700" .Params.when }}">{{ dateFormat "02.01.2006 15:04" .Params.when }}</time></p>
<p class=""> <p class="">
{{- T "presenter" -}}: {{ range .Params.authors }}{{ with $.Site.GetPage (printf "authors/%s" .) }}<a class="separateWithCommas" href="{{ .Permalink }}">{{ .Title }}</a>{{ end }}{{ end }} {{- T "presenter" -}}: {{ range .Params.authors }}{{ with $.Site.GetPage (printf "authors/%s" .) }}<a class="separateWithCommas" href="{{ .Permalink }}">{{ .Title }}</a>{{ end }}{{ end }}
</p> </p>
+1 -10
View File
@@ -4,18 +4,9 @@
{{ .Content }} {{ .Content }}
</div> </div>
<h3 class="title">{{ T "talks-paginator-heading" }}:</h3> <h3 class="title">{{ T "talks-paginator-heading" }}:</h3>
{{ $baseUrl := .Site.BaseURL }}
{{ $paginator := .Paginate ((.Pages.ByParam "when").Reverse) }} {{ $paginator := .Paginate ((.Pages.ByParam "when").Reverse) }}
<div class="level is-mobile">
<div class="level-left">
{{ partial "paginator-buttons.html" $paginator }} {{ partial "paginator-buttons.html" $paginator }}
</div>
<div class="level-right">
<div class="rel-alternate-buttons">
<a class="button is-link" rel="alternate" href="{{ (.OutputFormats.Get "Calendar").Permalink | safeURL }}"><span class="icon is-medium"><i class="fas fa-2x fa-calendar-alt"></i></span></a>
<a class="button is-link" rel="alternate" href="{{ (.OutputFormats.Get "RSS").Permalink }}"><span class="icon is-medium"><i class="fas fa-2x fa-rss"></i></span></a>
</div>
</div>
</div>
{{ range $paginator.Pages }} {{ range $paginator.Pages }}
<div class="box"> <div class="box">
<div class="pageHeaderContainer"> <div class="pageHeaderContainer">
-9
View File
@@ -1,9 +0,0 @@
{{- /* Note this file has CRLF line endings as required by the specs */ -}}
BEGIN:VCALENDAR
VERSION:2.0
PRODID:gohugo
CALSCALE:GREGORIAN
{{ range .RegularPages -}}
{{ partial "talkIcal.ics" . -}}
{{- end -}}
END:VCALENDAR
-7
View File
@@ -1,7 +0,0 @@
{{- /* Note this file has CRLF line endings as required by the specs */ -}}
BEGIN:VCALENDAR
VERSION:2.0
PRODID:gohugo
CALSCALE:GREGORIAN
{{ partial "talkIcal.ics" . -}}
END:VCALENDAR