Commit Graph
85 Commits
Author SHA1 Message Date
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
Vojtěch Káně cc5e75e469 Fix blogPhoto shortcode
w unit inside srcset means width in original photo pixels, not height
2020-04-20 13:35:43 +02:00
Vojtěch Káně 0a61815dcb Add blogPhoto shortcode
This shortcode is intended to be used in blogposts to include photos. It
downscales them and uses srcset to serve appropriate sizes to the
browsers.
2020-04-16 23:14:46 +02:00
Vojtěch Káně 5e5c5df3ef Move content specific assets under that content 2020-04-15 23:54:42 +02:00
Vojtěch Káně 7696ed3952 Simplify Dockerfiles
There is no need to run explicit mkdir, since the new directory is not
used during the build and workdir command creates it automatically.
2020-01-01 12:49:45 +01:00
Vojtěch Káně d4293c9f08 Fix typo in Print text 2019-12-09 12:05:13 +01:00
Vojtěch Káně a427b7a211 Fix grammar in czech version of talks overview 2019-10-25 12:12:34 +02:00
Vojtěch Káně dcf3944bbf Add Intro to UNIX talk 2019-10-25 10:18:28 +02:00
Vojtěch Káně 885f144931 Fix Czech declension of Alan's name 2019-10-24 17:27:14 +02:00
vojta001 87b389e839 Fix content/talks/ProjectDocs' front matter 2019-09-09 11:43:39 +02:00
Vojtěch Káně d7fbcc0ebc Temporarily hide address 2019-09-08 19:17:37 +02:00
Vojtěch Káně 933f9b4f87 Update website source code link 2019-09-08 18:48:48 +02:00
Vojtěch Káně 9c5dbf1c35 Fix sponsors logo animation 2019-09-08 18:12:14 +02:00
Vojtěch Káně c63825bfd4 Enable Gitlab CI to test buildability. 2019-07-16 11:34:03 +02:00
Vojtěch Káně b715d297fd Clone submodules over HTTPS not to require authentication (for users comfort al well as for easier CI/CD).
Unified .gitmodules syntax.
2019-07-15 13:45:52 +02:00