Commit graph

53 commits

Author SHA1 Message Date
Chris Josten 7bcc91a2fa Use fallback date when there are no visible articles
This fixes a crash
2024-10-12 23:11:20 +02:00
Chris Josten 0e7aa0451f atom: add atom feed to website for posts 2024-10-12 22:31:23 +02:00
Chris Josten 63f177475b old style; update for new grid layout
It still looks terrible, but I suppose that was the entire idea of this
optional style
2024-10-12 20:54:03 +02:00
Chris Josten c68094cd11 gitignore: ignore result
This file is created by running nix build
2024-10-12 20:51:23 +02:00
Chris Josten 6874b14916 style: move to grid layout from flex
This allows to reposition items without hiding/showing classes
2024-10-12 20:37:26 +02:00
Chris Josten c1dfa1f065 Update copyright year 2024-10-12 14:04:51 +02:00
Chris Josten 0ad53b1a24 Update dub selections 2023-12-08 22:59:09 +01:00
Chris Josten 7bb5c65d90 Bump version to 0.0.3 2023-12-08 22:57:15 +01:00
Chris Josten 651668526d Update dmd version + dependencies 2023-12-08 22:52:11 +01:00
Chris Josten bdb7615044 Fix building on NixOS 2022-09-15 20:29:06 +02:00
Chris Josten 9a5aeb1526 Upgrade version number 2022-09-15 17:43:07 +02:00
Chris Josten cc526e88f0 Upgrade dependencies 2022-09-15 17:41:15 +02:00
Chris Josten 40eeb9d25a Fix whitespace 2022-05-30 12:48:57 +02:00
Chris Josten 16f25d8297 Update nix deps 2022-05-25 14:49:54 +02:00
Chris Josten 223ca8bc29 Workaround broken l10n, upgrade deps 2022-05-25 14:46:37 +02:00
Chris Josten 1d0d1a54b1 Fix crash caused by lastIndexOf returning negative numbers
The ArticleParser would crash when a negative number was returned by
lastIndexOf, since it was casted to an unsigned integer. This unsigned
integer then was used to allocate memory, which would allocate way to
much memory, causing a MemoryException and crashing the process.
2021-10-13 14:07:27 +02:00
Chris Josten 48b95c4a13 Article: parse document separators properly
Document separators should start with a newline, followed by three
dashes, followed by a newline again.
2021-10-11 15:15:12 +02:00
Chris Josten 75f5d447d6 Update dependencies Nix 2021-08-17 10:04:36 +02:00
Chris Josten e806dbf1cd Fix NixOS build 2021-06-27 12:50:21 +02:00
Chris Josten 35d5b02b5e Refractor code
* This project now should make proper use of modules
* HTTP specific logic was extracted from app.d to http.d
* Logic for managing files in memory was moved to cache.d from watcher.d
* Added license
2021-06-22 01:37:51 +02:00
Chris Josten 7e01e575fc Fix crash on starup when syntax error in YAML 2021-03-25 20:06:47 +01:00
Chris Josten 46b5cfdbb5 Fix template indentation 2021-03-25 18:37:27 +01:00
Chris Josten eaef4ef6f6 Add contact menu option and hide unneeded sections on project page 2021-03-16 16:09:57 +01:00
Chris Josten 3d90927433 Merge branch 'master' of githee.netsoj.nl:chris/chris-website 2021-03-11 17:23:04 +01:00
Chris Josten 46bea4fa58 Add more support for internationalisation, style changes 2021-03-11 17:22:40 +01:00
Chris Josten a53b1c6ef7 Update nix 2021-03-10 18:49:07 +01:00
Chris Josten 93b83daad6 Merge branch 'master' of netsoj.nl:chris/chris-website 2021-03-10 18:45:30 +01:00
Chris Josten 5506163cba Add accidentally removed files 2021-03-10 18:45:12 +01:00
Chris Josten 5cdd5b322c Merge branch 'master' of netsoj.nl:chris/chris-website 2021-03-10 18:42:10 +01:00
Chris Josten 82ef786b7f Update Nix dependencies 2021-03-10 18:41:56 +01:00
Chris Josten ceecf899fb Remove trailing comma 2021-03-10 18:35:49 +01:00
Chris Josten 75a4e86ea1 Use translations, fix 'old' style. 2021-03-10 18:30:32 +01:00
Chris Josten ed2926fb16 Fix crash when pages are updated and quickly removed 2020-10-03 21:50:43 +02:00
Chris Josten c958780e76 Add css backwards-compatibility
Hardcoded some values for older browsers which may not understand css
custom properties.
2020-06-30 12:42:39 +02:00
Chris Josten 791a08363a Properly wait for spawned processes to end 2020-06-29 23:51:40 +02:00
Chris Josten 76b3ca0d33 Add human readable date, keep machine readable 2020-06-28 00:43:15 +02:00
Chris Josten 9f879be71b WIP: translation (but it ain't broken) 2020-06-28 00:12:16 +02:00
Chris Josten 8d2feaa76b Make metadata more consistent 2020-06-27 16:54:06 +02:00
Chris Josten 561bcdc366 Add ability to hide posts 2020-06-27 16:48:26 +02:00
Chris Josten 7ee1664698 Merge branch 'master' into release 2020-06-26 11:50:09 +02:00
Chris Josten e3f14ee085 Fix author not being set and image layout 2020-06-26 11:49:21 +02:00
Chris Josten ed5ef93be2 Fix author not being set 2020-06-26 11:43:55 +02:00
Chris Josten 1e24ed327a Add backwards-compat friendly way for sizing main 2020-06-26 09:34:52 +02:00
Chris Josten 503d2d1ad0 Improve page speeds
* Defer loading of highlight css
* Cache /static for up to 16 days
2020-06-25 11:20:33 +02:00
Chris Josten ad1724b47f Add Apple Touch Icon (mainly for Sailfish OS) 2020-06-25 00:26:11 +02:00
Chris Josten e73f6e9316 Ignore folders with content 2020-06-25 00:23:02 +02:00
Chris Josten 76ea5885dd Added README 2020-06-24 22:04:51 +02:00
Chris Josten 09fdfeb112 Add debug logging 2020-06-24 22:04:31 +02:00
Chris Josten acd02aea20 Refractored code and added extra comments 2020-06-24 19:57:04 +02:00
Chris Josten 99f493dec3 Restructured parts of the website 2020-06-24 17:40:20 +02:00