744857d685
split blog logic
2024-11-09 16:54:38 +01:00
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
ci/woodpecker/manual/publish Pipeline was successful
ci/woodpecker/push/publish Pipeline was successful
2024-06-17 15:56:57 +02:00
b9194dd0fa
use new rss endpoint: blog.rss
ci/woodpecker/push/publish Pipeline was successful
2024-06-02 19:35:44 +02:00
aba8a501af
more clippy advices
ci/woodpecker/push/publish Pipeline was successful
2024-05-28 20:58:41 +02:00
0d924de79b
clippy::pendatic
ci/woodpecker/push/publish Pipeline is pending approval
2024-05-28 20:26:58 +02:00
9dfcc1101d
Basic cours support ( #44 )
...
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
9558202a46
blog genericity
2024-01-25 18:23:12 +01:00
5ce39b0453
variable for data directory path
2024-01-24 11:52:20 +01:00
4cb73dce3b
fix descriptions
ci/woodpecker/push/publish Pipeline was successful
2023-10-24 13:43:08 +02:00
49af05a565
add content type, allowing firefox to see source code of pages
ci/woodpecker/push/publish Pipeline was successful
2023-10-24 13:27:02 +02:00
6fe2ec2df3
add keywords
ci/woodpecker/push/publish Pipeline was successful
2023-10-24 12:48:16 +02:00
73b059b155
refactor
2023-10-24 11:57:50 +02:00
fe0ccd913c
fix url
ci/woodpecker/push/publish Pipeline was successful
2023-10-24 11:50:30 +02:00
19136f6c81
adjust cache
2023-10-21 23:08:03 +02:00
f84a37829c
Metadata and contacts ( #38 )
...
ci/woodpecker/push/publish Pipeline was successful
- Rework metadata, now each type of file based on markdown have his own metadata struct (blog/portfolio/contacts)
- Contact is now generated by markdown files
Reviewed-on: #38
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2023-10-20 18:21:11 +02:00
9f95eb2b6b
Rework ( #35 )
...
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
e42c5492e8
WIP: toc ( #31 )
ci/woodpecker/push/publish Pipeline is pending
2023-05-02 23:10:36 +02:00
490177e1e0
removal of dead code
ci/woodpecker/push/publish Pipeline is pending
2023-05-02 16:14:01 +02:00
67feca4fc2
tags in post
ci/woodpecker/push/publish Pipeline is pending
2023-05-02 16:02:50 +02:00
7d19eb645f
tags in RSS
ci/woodpecker/push/publish Pipeline is pending
2023-05-02 15:10:24 +02:00
7dcff0b810
WIP: tags support
ci/woodpecker/push/publish Pipeline is pending
2023-05-02 14:37:32 +02:00
76c682264f
Derive all struct and enum with debug
2023-05-02 13:34:43 +02:00
36d4889983
resolve crash when there a directory
ci/woodpecker/push/publish Pipeline was successful
2023-05-02 13:07:04 +02:00
49392f5ca5
Add publish option ( #28 )
ci/woodpecker/push/publish Pipeline is pending
2023-05-02 13:05:42 +02:00
16b9427612
give current url to all files for metadata
ci/woodpecker/push/publish Pipeline is pending
2023-04-29 14:09:41 +02:00
503173f129
use of name and fullname
ci/woodpecker/push/publish Pipeline was successful
2023-04-28 12:49:48 +02:00
61b94eb43e
fetch content for item description
ci/woodpecker/push/publish Pipeline was successful
2023-04-26 17:17:48 +02:00
56c87aa3c0
fix last commit
ci/woodpecker/push/publish Pipeline is pending
2023-04-26 16:59:00 +02:00
81ebbb97ff
change const name
ci/woodpecker/push/publish Pipeline is pending
2023-04-26 16:57:37 +02:00
fddef30bad
add atom compliance
ci/woodpecker/push/publish Pipeline was successful
2023-04-26 16:51:19 +02:00
5400166c2e
fix title of rss feed
2023-04-26 16:32:57 +02:00
ee9c5fbdd1
cache for rss
ci/woodpecker/push/publish Pipeline was successful
2023-04-26 16:22:54 +02:00
c2a9393ef1
ask for owner name
ci/woodpecker/push/publish Pipeline is pending
2023-04-26 16:21:57 +02:00
2e8e3a4a63
fix content type
ci/woodpecker/push/publish Pipeline was successful
2023-04-26 15:16:57 +02:00
a97e292565
hash the post
ci/woodpecker/push/publish Pipeline is pending
2023-04-26 14:19:02 +02:00
21785bbead
add items to rss
ci/woodpecker/push/publish Pipeline is pending
2023-04-26 13:49:05 +02:00
94387f02bf
WIP: rss
ci/woodpecker/push/publish Pipeline is pending
2023-04-26 12:50:08 +02:00
c1f724e8bc
if possible, use into instead of to_owned
ci/woodpecker/push/publish Pipeline is pending
2023-04-26 12:07:46 +02:00
39fde5225d
post now available on /p
ci/woodpecker/push/publish Pipeline is pending
2023-04-26 10:41:49 +02:00
bc08faf212
re: cache
ci/woodpecker/push/publish Pipeline is pending
2023-04-24 19:15:28 +02:00
76a79bf192
Add description
ci/woodpecker/push/publish Pipeline is pending
2023-04-24 18:41:40 +02:00
65de1f1777
WIP: new blog layout
ci/woodpecker/push/publish Pipeline is pending
2023-04-24 18:01:38 +02:00
fd228be916
don't crash if blog folder doesnt exist
ci/woodpecker/push/publish Pipeline is pending
2023-04-24 17:34:58 +02:00
b0112c06d6
use to_owned instead of clone
ci/woodpecker/push/publish Pipeline is pending
2023-04-24 12:18:21 +02:00
dce767d641
change to_string to to_owned
ci/woodpecker/push/publish Pipeline is pending
2023-04-21 19:22:00 +02:00
0541887c28
use metadata from frontmatter
ci/woodpecker/push/publish Pipeline is pending
2023-04-21 16:48:31 +02:00
a1dc7d538a
* use comrak instead of markdown-rs
...
ci/woodpecker/push/publish Pipeline is pending
* move markdown stuff to markdown file
2023-04-21 16:27:06 +02:00
2c0fe8d6e5
meta: cleanup
...
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