Commit graph

37 commits

Author SHA1 Message Date
40cd5bdca5
rename utils to misc rs file + split cours into specific utils directory specialized in utils for specific routes 2024-11-09 16:41:56 +01:00
9dde91f8ed
rename misc dir to utils dir 2024-11-09 16:36:04 +01:00
b5683be191
make multiple fields public
All checks were successful
ci/woodpecker/manual/publish Pipeline was successful
ci/woodpecker/push/publish Pipeline was successful
2024-06-17 15:56:57 +02:00
bece8ef147
don't lose data when obfuscating mails
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2024-06-02 18:19:58 +02:00
0d924de79b
clippy::pendatic
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending approval
2024-05-28 20:26:58 +02:00
2e43c6df12
clippy
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2024-05-16 18:08:58 +02:00
9dfcc1101d
Basic cours support (#44)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
feat: Basic support for new `/cours` endpoint (not ready for release yet), see commit description for more

- Basic /cours support
- Fix LaTeX support (see #47 / cours+blog)
  - Better detection of when there is LaTeX in document
  - Don't shuffle markdown and LaTeX processing (thanks to comrak)
  - Macros on release
- Local image support (cours+blog)
- PDF support
- Support of markdown files integration in other markdown files
- Very basic exclusion support in toc (need a lot of improvement!!)
- Update multiple dependencies (actix-web, ramhorns, comrak, reqwest, hljs)
- Reformat some code
- ToC in /cours support (very basic, works via building it in rust and processing it in js)
- Remove very old assets (font + jspdf)
- Hide navbar when printing the website
- New tag in index page
- Fix OCaml support for HLJS + add "pseudocode" derived from Julia

Reviewed-on: #44
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-04-01 18:11:46 +02:00
116bc311c8
rounded square pfp #55
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2024-03-03 20:55:00 +01:00
c18c0adf34
add metadata for index file
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2024-01-24 13:09:20 +01:00
978cc48a57
index is now a md file, fallback to README, fallback to info about how to setup the index page
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2024-01-24 12:38:37 +01:00
49af05a565
add content type, allowing firefox to see source code of pages
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2023-10-24 13:27:02 +02:00
6fe2ec2df3
add keywords
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2023-10-24 12:48:16 +02:00
fe0ccd913c
fix url
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2023-10-24 11:50:30 +02:00
9f95eb2b6b
Rework (#35)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
- Style rework
- Update dependencies to latest

Close #33
Close #34

Reviewed-on: #35
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2023-10-15 20:58:20 +02:00
9384ef278e
debug log 2023-04-29 14:39:27 +02:00
ec90edfc3d
give url to templates
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2023-04-29 14:13:22 +02:00
16b9427612
give current url to all files for metadata
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-29 14:09:41 +02:00
503173f129
use of name and fullname
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2023-04-28 12:49:48 +02:00
c1f724e8bc
if possible, use into instead of to_owned
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-26 12:07:46 +02:00
b0112c06d6
use to_owned instead of clone
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-24 12:18:21 +02:00
2ca24f020e
remove empty structs 2023-04-21 19:47:41 +02:00
dce767d641
change to_string to to_owned
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-21 19:22:00 +02:00
2c0fe8d6e5
meta: cleanup
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
* move date to utils dir
* rename get_* to build_*
* increase index ttl from 60 to 120
* split index blog build in half
2023-04-20 15:43:25 +02:00
00f65be0f3
add keywords 2023-04-19 20:07:53 +02:00
4b5fa8561c
import instead of qualify 2023-04-14 11:30:47 +02:00
136ad0ecf4
cache all page 60s
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-11 10:45:25 +02:00
91d9ff4157
use header on every templates
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-11 10:16:46 +02:00
80e27bd32c
give extra info to template
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-11 10:03:22 +02:00
eb9e7e22f3
impl render to template class
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 19:26:20 +02:00
6d3b4c8398
migration: askama to ramhorns
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 19:02:06 +02:00
45b2de54fb
use relative path 2023-04-09 16:51:50 +02:00
00cd6405ea
minify all pages 2023-02-09 11:19:53 +01:00
2a3045e5da
change fn name 2023-02-09 10:57:18 +01:00
5c9b03ab65
add current website 2023-02-09 10:45:59 +01:00
5c6e3e6941
useless comment 2023-02-08 22:29:21 +01:00
d7ee3f903f
add security.txt 2023-02-08 22:14:57 +01:00
a8a39cf5b9
add hello world 2023-02-08 20:49:05 +01:00