Commit Graph
100 Commits
Author SHA1 Message Date
Vojtěch Káně 770ebfb7b0 Apply @vojta001's suggestions, gramatické chybičky
Apply 1 suggestion(s) to 1 file(s)
2023-03-31 18:02:57 +02:00
Vojtěch Káně 8cb78f4853 Franta přednáší až od čtyř 2022-06-17 00:00:26 +02:00
Vojtěch Káně db4f1cc24a Merge branch 'franta+gs/ml-talk' into 'master'
Přidána anotace přednášky Franty Kmječe o neuronkách.

See merge request patek-devs/patek.cz!68
2022-06-16 13:08:17 +00:00
Vojtěch Káně ab6542efc3 Whitespace cleanup 2022-02-21 12:00:17 +01:00
Vojtěch Káně 40f9f97241 devops talk: presentation link 2022-02-21 10:21:15 +01:00
Vojtěch Káně 17d249dda6 Add blog post PF 2022 2022-01-14 17:30:58 +01:00
Vojtěch Káně 06e4d9eabe Apply 1 suggestion(s) to 1 file(s) 2022-01-02 17:26:14 +00:00
Vojtěch Káně d420e81689 Merge branch 'gentoo-recording' into 'master'
Add recording to Gentoo talk

See merge request patek-devs/patek.cz!58
2021-05-25 07:31:42 +00:00
Vojtěch Káně c84698c887 Convert some links from hardcoded ones to relref shortcode 2021-05-24 12:25:35 +02:00
Vojtěch Káně 99794e328a Add recording to Gentoo talk 2021-05-24 12:12:22 +02:00
Vojtěch Káně 9409924176 Add git-annex talk 2021-05-24 12:04:27 +02:00
Vojtěch Káně 5daa7f66de Add blog post about IRL Pátek 2021-05-24 11:13:47 +02:00
Vojtěch Káně 4205deb0f1 Add blog post PF 2021 2020-12-27 12:11:11 +01:00
Vojtěch Káně ea2df0c26a Merge branch 'vojta001/links-to-rss' into 'master'
Add links to RSS

See merge request patek-devs/patek.cz!54
2020-12-15 08:13:39 +00:00
Vojtěch Káně 502b321268 Fix dash length in blog/covidbreak-part2 2020-11-24 14:13:17 +01:00
Vojtěch Káně 5ca2d9b301 Merge branch 'vojta001/talks-cal' into 'master'
Support talks iCal output

See merge request patek-devs/patek.cz!51
2020-11-13 15:00:15 +00:00
Vojtěch Káně 4b933552b4 Merge branch 'vojta001/update-hugo' into 'master'
Update Hugo from 0.55.6 to 0.78.1

See merge request patek-devs/patek.cz!53
2020-11-11 15:10:28 +00:00
Vojtěch Káně 685ed5d809 Add links to RSS
We have been supporting RSS from the beginning, but it wasn't immediately obvious. The RSS we generate stays the same, only links were added.

Given the current styling, I had to enforce paginator display even when there is only one page.
2020-11-11 13:27:44 +01:00
Vojtěch Káně 2b3a8ff9bd Fix the date of the patek.cz's internals talk 2020-11-11 09:23:46 +01:00
Vojtěch Káně 1f5e311cf9 Explicitly enable RSS output format for talks
RSS is enabled by default (which we want), but explicitly setting output formats disabled it.
2020-11-10 23:07:06 +01:00
Vojtěch Káně 84194ded8a Merge branch 'vojta001/remove-baseurl' into 'master'
Remove $baseUrl variable

See merge request patek-devs/patek.cz!52
2020-11-10 21:54:06 +00:00
Vojtěch Káně 9fb41b7b4a Merge branch 'vojta001/update-hugo' into vojta001/talks-cal
Features of the new Hugo are needed for the iCals to build
2020-11-10 22:00:19 +01:00
Vojtěch Káně 24c59f3bfb Update Hugo from 0.55.6 to 0.78.1 2020-11-10 21:55:19 +01:00
Vojtěch Káně d552a14513 Remove $baseUrl variable
I am convinced it is unused and occurs just because of being copy pasted.
2020-11-10 20:41:06 +01:00
Vojtěch Káně 0fcc265bb9 Support talks iCal output 2020-11-10 20:28:28 +01:00
Vojtěch Káně bd4ddefff3 Remove when field from content/talks/_index.en.md
`when` applies to individual talks only, not to the listing.

There is also no such value in the Czech language version.
2020-11-10 19:30:48 +01:00
Vojtěch Káně 7ab2c45019 Merge branch 'vojta001/dark-mode-fix' into 'master'
Fix emphasized text color in dark mode

Closes #16

See merge request patek-devs/patek.cz!48
2020-10-29 22:20:23 +00:00
Vojtěch Káně 7ec43bc5ca Extend @ondrejmachota's fix #16 for good old bs as well 2020-10-29 19:57:25 +01:00
Vojtěch Káně 70b95279bf Update the date of talks/install-gentoo
It was postponed to psp4 instead of psp3.
2020-10-28 11:03:37 +01:00
Vojtěch Káně b3214cd336 Fix talk name in blog/psp3 2020-10-28 10:45:58 +01:00
Vojtěch Káně 5cf95dec8e Replace hardcoded internal links with ref and relref shortcodes 2020-10-28 10:43:58 +01:00
Vojtěch Káně 78a7de80fb Use relref instead of ref in blog/covidbreak-part2 2020-10-16 12:10:33 +02:00
Vojtěch Káně f99a30e668 Merge branch 'vojta001/patek_cz-internals' into 'master'
Add talk about patek.cz's internals

See merge request patek-devs/patek.cz!44
2020-10-14 17:25:35 +00:00
Vojtěch Káně 03fe1f02a3 Add talk about patek.cz's internals 2020-10-14 17:21:50 +02:00
Vojtěch Káně b0d578dbe4 Fix Cache-Control headers for files under img dir
The glob pattern did not work (probably issues with the negation).

RE2 (Google's high performance RegEx engine) does not support negation either, that's why it has to be expanded this way (negated character groups are supported).

Glob patterns are not matched against the leading slash, but regexes are (undocumented, but observed).

Relates to !43 and therefore ae3148337b (the behavior finaly matches the description).
2020-10-10 10:48:53 +02:00
Vojtěch Káně 9342033393 Merge branch 'vojta001/cache-control' into 'master'
Set Cache-Control headers for certain content on Firebase

See merge request patek-devs/patek.cz!43
2020-10-07 20:13:45 +00:00
Vojtěch Káně 9230d8e16c Merge branch 'vojta001/grey-text' into 'master'
Make `.has-text-grey` constrast enought with white to pass the WCAG AA requirements

See merge request patek-devs/patek.cz!42
2020-10-07 16:10:49 +00:00
Vojtěch Káně edf81d21bb Merge branch 'vojta001/darkmode-toggle-button' into 'master'
Add a button to toggle dark mode and polish darkmode in general.

Closes #14 and #3

See merge request patek-devs/patek.cz!38
2020-10-07 14:28:04 +00:00
Vojtěch Káně ae3148337b Set Cache-Control headers for certain content on Firebase
My reasoning is:

* any CSS or JS files
	their name contains their hash — 1 month
* anything under img folder
	might change while keeping name — 1 day
* any image anywhere except img folder
	usually giant photos attached to blog posts, rarely change and if they do, they usually change name as well — 1 month
2020-10-07 13:36:17 +02:00
Vojtěch Káně 28ca2b6092 Merge branch 'vojta001/html-lang' into 'master'
Add lang attribute to the <html> element

See merge request patek-devs/patek.cz!41
2020-10-07 10:59:43 +00:00
Vojtěch Káně c3aec2e29f Make .has-text-grey constrast enought with white to pass the WCAG AA requirements
While being unspottable with the naked eye, this will make some pages of your site formally accessible (blog listing for example).
2020-10-07 11:54:07 +02:00
Vojtěch Káně eb6f8be3b4 Add lang attribute to the <html> element
This should improve SEO and accessibility.
2020-10-07 11:18:44 +02:00
Vojtěch Káně 4160dc3a25 Replace custom styles on dark mode button with Bulma's is-arrowless 2020-10-07 11:03:04 +02:00
Vojtěch Káně f1c790f63e Improve accessibility of the dark mode button 2020-10-07 10:59:44 +02:00
Vojtěch Káně b3617e4ef0 Set the moon icon using a CSS class
This ensures higher compatibility and better code readability
2020-10-07 10:55:55 +02:00
Vojtěch Káně 2c22cfcd8d Update the creation timestamp of blog/covidbreak-part2
Make it match the actual release date as the article was pending for realy long and its target changed.

The timestamp is based on the author date of 9bca1ac17d
2020-10-06 22:19:59 +02:00
Vojtěch Káně 22210def86 Fix typo 2020-10-06 07:59:43 +02:00
Vojtěch Káně 10977c2e55 Add a button to toggle dark mode
Also drop support for setting it through the URL query parameter
2020-09-30 22:15:54 +02:00
Vojtěch Káně f819d6108a Merge branch 'vojta001/ci-artifacts' into 'master'
Shorten CI artifacts expirations

See merge request patek-devs/patek.cz!37
2020-09-29 11:32:24 +00:00
Vojtěch Káně 667d7e75a4 Shorten CI artifacts expirations
Our CI artifacts currently take up over 2GB, which is A LOT given they can easily be rebuilt later.
2020-09-28 17:11:45 +02:00
Vojtěch Káně 595ba1b1de Add talk about Python programming and the KSP-Z seminar 2020-09-28 16:50:25 +02:00
Vojtěch Káně e1d3e20056 Rephrase blog/covidbreak-part2 so that it cannot be interpreted offensively 2020-09-23 15:50:47 +02:00
Vojtěch Káně baa9a2d977 Fix typo in blog/covidbreak-part2 2020-09-23 13:11:18 +02:00
Vojtěch Káně fe60cdf9fc Add info about IRL meetings interruption 2020-09-23 12:32:58 +02:00
Vojtěch Káně 90357b5e2c Merge branch 'vojta001/datetime' into 'master'
Add a machine readable time representation to <time> tags

See merge request patek-devs/patek.cz!35
2020-09-07 14:21:18 +00:00
Vojtěch Káně c6ed42bbc2 Add a summary of my FOSS talk 2020-09-07 14:25:23 +02:00
Vojtěch Káně 96a0148a1f Fix partials/linkedContent
There was a forgotten debug constant
2020-09-07 14:22:49 +02:00
Vojtěch Káně ebc8a763a9 Create my author page
Also change the link from Vojta to vojta001 as I use the abbrev kinda often.
2020-09-07 13:39:03 +02:00
Vojtěch Káně 5d2fb163e9 Add a machine readable time representation to <time> tags 2020-09-07 13:02:48 +02:00
Vojtěch Káně bdfb146b76 Fix a typo in blog/psp2.cs.md 2020-09-07 13:01:46 +02:00
Vojtěch Káně e0fb96b50c Merge branch 'vojta001/patek20_21' into 'master'
Add a blog post about the new school year 2020/21

See merge request patek-devs/patek.cz!34
2020-09-07 09:47:00 +00:00
Vojtěch Káně 82476cb227 Add a blog post about the new school year 2020/21 2020-09-07 11:34:33 +02:00
Vojtěch Káně 0a837acb14 Fix typo in Greenscreener's author page
I see a UCW keyboard layout user here :)
2020-09-07 10:45:10 +02:00
Vojtěch Káně 9b16e10c1e Add talk about thermites 2020-05-23 14:13:35 +02:00
Vojtěch Káně a4dde5820a Merge branch 'vojta001/slides-recordings' into 'master'
Link to slides and recordings right at talks header

See merge request patek-devs/patek.cz!29
2020-05-21 14:34:13 +00:00
Vojtěch Káně 798ac04a16 Fix links to 100 vědců event
Their website does not support HTTPS.
2020-05-21 12:32:49 +02:00
Vojtěch Káně 44af2b5627 Fix link to Greenscreener's author page in about.en 2020-05-21 12:24:10 +02:00
Vojtěch Káně afdc06975c Link slides and recording to talks using the new linkedContent feature 2020-05-21 11:14:04 +02:00
Vojtěch Káně c60bfc2f4c Fix link to OpenPGP talk recording 2020-05-21 11:03:34 +02:00
Vojtěch Káně 399e503647 Allow slides and recordings be linked to talks 2020-05-21 10:56:05 +02:00
Vojtěch Káně d710a9eb87 Merge branch 'pgp' into 'master'
Add summary of Sijisu's talk about OpenPGP

See merge request patek-devs/patek.cz!25
2020-05-19 12:11:43 +00:00
Vojtěch Káně 7853ec8007 Merge branch 'vojta001/manual-docker-build' into 'master'
Run docker-build in CI when manually requested only

See merge request patek-devs/patek.cz!26
2020-05-18 20:28:28 +00:00
Vojtěch Káně f4bfb14430 Run docker-build in CI when manually requested only
The mentioned job is run very often, because of issues in GitLab:
https://gitlab.com/gitlab-org/gitlab/-/issues/27318
https://gitlab.com/gitlab-org/gitlab-foss/-/issues/59354

Given how rarely a rebuild is actually needed, I consider this to be an
acceptable compromise.
2020-05-18 17:04:41 +02:00
Vojtěch Káně 1bbe070960 Add summary of Sijisu's talk about OpenPGP 2020-05-18 16:40:06 +02:00
Vojtěch Káně 52cde96ba1 Fix a typo in blog/psp1 2020-05-14 23:47:37 +02:00
Vojtěch Káně 076ae393ba Merge branch 'vojta001/patek-logo-fallback' into 'master'
Provide fallback values for <patek-logo>s

See merge request patek-devs/patek.cz!21
2020-05-14 18:04:53 +00:00
Vojtěch Káně 4562b4255d Provide fallback values for <patek-logo>s
This is targeted to browsers without custom elements support, or with
disabled JavaScript.
2020-05-12 08:51:16 +02:00
Vojtěch Káně 7d3dee0b8c Merge branch 'vojta001/rss' into 'master'
Add link to RSS feed to <head>

See merge request patek-devs/patek.cz!20
2020-05-11 14:23:36 +00:00
Vojtěch Káně ebedef09ab Add link to RSS feed to <head> 2020-05-11 15:29:36 +02:00
Vojtěch Káně d5a2f75647 Merge grammar and stylistic fixes into 'master'
See merge request patek-devs/patek.cz!18
2020-05-05 14:29:36 +00:00
Vojtěch Káně 853b1c0426 Fix gramar: remove extra comma
The items of the list are not contrary to each other, therefore a comma
shall not be used. See https://prirucka.ujc.cas.cz/?id=155
2020-05-05 16:20:43 +02:00
Vojtěch Káně 6166306025 Merge branch 'blog-photo-link' into 'master'
Add link to original image to blogPhoto

Closes #13

See merge request patek-devs/patek.cz!19
2020-05-05 11:43:31 +00:00
Vojtěch Káně f031cb9826 Add link to original image to blogPhoto shortcode
We might decide to link to still slightly compressed version, but this
currently works fine.
2020-05-05 13:01:23 +02:00
Vojtěch Káně e1d673f293 Fix grammar and stylistic issues 2020-05-05 10:52:40 +02:00
Vojtěch Káně db795989ac Fix typos 2020-05-05 09:56:01 +02:00
Vojtěch Káně 22dd589af0 Merge in blog post about activities during COVID19 pandemic
See merge request patek-devs/patek.cz!17
2020-05-04 20:54:03 +00:00
Vojtěch Káně 02e9938d11 Change title of blog/covid19 to be more descriptive 2020-05-04 20:00:01 +02:00
Vojtěch Káně 21c11c6e52 Add blog post about COVID19 2020-05-04 14:21:19 +02:00
Vojtěch Káně d10218c320 Merge new blogPhoto shortcode into 'master'
See merge request patek-devs/patek.cz!9
2020-05-04 12:17:57 +00:00
Vojtěch Káně 058de79991 Remove the sizes attribute
It defaults to 100vw, which may be wasteful sometimes, but it guarantees
smooth experience. I am not aware of any simple way of requesting the
current widescreen behavior "make it as wide as possible while not
exceeding 30rem height" using the sizes attribute.

This setting may be especially wasteful for portrait images, as their
rendered width will be much smaller than the viewport width.
2020-05-03 14:55:51 +02:00
Vojtěch Káně 5be48c59c6 Raise the quality of low res images
They might be scaled up by the browser making compression artifacts much
more visible.
2020-05-03 14:47:11 +02:00
Vojtěch Káně 710b7ad71c Merge in a license proposal as a final license
Closes #5

See merge request patek-devs/patek.cz!11
2020-05-01 11:41:49 +00:00
Vojtěch Káně ab2ee65539 Replace "webpage" with "website" in the license proposal 2020-04-29 12:37:10 +02:00
Vojtěch Káně 7e4e5267ab Merge branch 'remove-hugo-folder' into 'master'
Remove unused `hugo` folder

See merge request patek-devs/patek.cz!12
2020-04-27 14:24:14 +00:00
Vojtěch Káně 7387f12c28 Remove unused hugo folder
This folder is probably a relict. It is neither mentioned in the docs
(at least not in b760aceb1e99b4c0e83039b0f9c1864ed8b738ac) nor created
by default by `hugo new site`.
2020-04-23 23:22:09 +02:00
Vojtěch Káně 24f9649f97 Propose a license. 2020-04-22 15:23:29 +02:00
Vojtěch Káně e922f2f28d Merge in using <figure> element
See merge request patek-devs/patek.cz!10
2020-04-22 13:23:39 +02:00
Vojtěch Káně e591d16e9d Use <figure> and <figcaption> in blogPhoto shortcode 2020-04-21 22:55:57 +02:00
Vojtěch Káně 891110771e Include the compressed original image in src/srcset, if it happens to be
smaller than the largest size we resize to.
2020-04-20 23:06:27 +02:00
Vojtěch Káně 315ec5b77b Generalize blogPhoto shortcode
Generate the resized images from simple config array + generate only
those, that are actualy smaller then the original.
2020-04-20 13:54:08 +02:00