Commit graph

217 commits

Author SHA1 Message Date
fd228be916
don't crash if blog folder doesnt exist
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-24 17:34:58 +02:00
8ba2862cca
better js minification
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-24 15:43:08 +02:00
930d639da4
reduce hljs warnings
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-24 13:12:21 +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
1afa14dfed
show title on link hovering 2023-04-24 12:08:23 +02:00
e75d900935
fix math detection
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2023-04-22 03:03:27 +02:00
6ab1d42c75
compilation
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-22 02:42:09 +02:00
687250cb35
Revert "use of mathml instead of katex"
This reverts commit 22b68f549e.
2023-04-22 02:39:41 +02:00
3a8f046404
Revert "replace latex with mathml"
This reverts commit 9b9065eb1c.
2023-04-22 02:39:18 +02:00
9b9065eb1c
replace latex with mathml
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-21 22:31:20 +02:00
f2359be6a3
add comments
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-21 19:47:47 +02:00
2ca24f020e
remove empty structs 2023-04-21 19:47:41 +02:00
22b68f549e
use of mathml instead of katex
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-21 19:34:34 +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
69149681f7
pass mermaid/syntax metadata
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-21 18:58:36 +02:00
0541887c28
use metadata from frontmatter
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-21 16:48:31 +02:00
a1dc7d538a
* use comrak instead of markdown-rs
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
* move markdown stuff to markdown file
2023-04-21 16:27:06 +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
44266a3787
fix sorting
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-20 15:19:41 +02:00
d9c9ff0828
order by date
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-20 15:08:09 +02:00
0fd74dd449
Add date support!
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-20 14:41:36 +02:00
fa3bdca37e
wip: date implementation
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-20 11:57:06 +02:00
a293ef4332
better metadata
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-19 21:16:39 +02:00
2bc0f14475
blog works! sort of
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-19 20:54:05 +02:00
6f5b563f97
Add index blog info
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-19 20:32:04 +02:00
8c615338e5
Add style of index
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-19 20:27:40 +02:00
c344243484
* move get_post to blog.rs
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
* wip index blog
2023-04-19 20:17:03 +02:00
ec2389ce2f
better arg name
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-19 20:11:13 +02:00
7339486467
move get_post to utils
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-19 20:08:15 +02:00
00f65be0f3
add keywords 2023-04-19 20:07:53 +02:00
1d860d58b7
wip/blog 2023-04-19 18:55:03 +02:00
d8a1693dd7
* Doesnt convert in Rust the latex
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
* add math detection
* fix mermaid and code detection
2023-04-19 18:36:52 +02:00
57ed1dd8e1
better error handling 2023-04-19 16:57:16 +02:00
3da1ce6aa9
better handling of empty datas
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-19 14:28:53 +02:00
c5d3856313
wip: add cv page
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-18 20:33:47 +02:00
ac2c50e567
add cours endpoint
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-16 13:18:15 +02:00
37ba6bf09d
readd cache 2023-04-14 20:59:44 +02:00
218c01a1a1
add gaming endpoint
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-14 18:03:30 +02:00
de2b9bb45a
WIP: Web3 files
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-14 17:57:10 +02:00
e02709aedc
silent pass latex error
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-14 13:36:09 +02:00
e5b5020d58
add web3 route
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-14 12:25:20 +02:00
d2b520d9b6
cut the md reader in half 2023-04-14 12:25:14 +02:00
274a6d567b
sort by nb of contrib
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-14 12:00:16 +02:00
c934d5f42e
better imports
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-14 11:44:49 +02:00
cef6e9f4b1
WIP: Blogs
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-14 11:30:58 +02:00
4b5fa8561c
import instead of qualify 2023-04-14 11:30:47 +02:00
dc82d7baf8
use optional member
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-14 11:12:43 +02:00
08900b5c2d
print error
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-12 01:44:02 +02:00
fac3e89d1c
minor fixes
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2023-04-12 01:32:42 +02:00
addf6e0035
better error handling
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-12 01:21:07 +02:00
cfe0620aa9
typo
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-12 01:12:45 +02:00
4b85a948bc
filter
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-12 01:12:14 +02:00
a50d894926
wip contrib logic
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-12 01:04:16 +02:00
a76bdc867c
use enum 2023-04-12 00:56:39 +02:00
3a5fafc6c0
use vec of projects
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-11 23:26:54 +02:00
e42430d24b
add merge status
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-11 23:08:45 +02:00
3f4657b0cf
split files
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-11 22:45:44 +02:00
097cf018fc
WIP: request to github my projects
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-11 11:31:01 +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
2f35b9bdbd
qualify instead of import 2023-04-11 10:45:14 +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
568a864dc9
minify css and js inside html + pass w3 validator
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2023-04-11 02:31:30 +02:00
a151cd32a6
use portfolio2 and delete portfolio
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-11 02:13:17 +02:00
2b3e7491a2
replace data by content 2023-04-11 02:13:04 +02:00
708b48d45b
use file struct 2023-04-11 01:53:02 +02:00
2dd4995479
test route 2023-04-11 01:52:54 +02:00
c46a61fba6
add syntax highlight
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-11 01:20:11 +02:00
46ced07b2a
use global config
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-11 01:08:07 +02:00
ff7fa90cdc
* useless compileoption
* use any instead of fold
2023-04-11 00:57:59 +02:00
d4ff53cee8
Specify app name 2023-04-11 00:57:30 +02:00
c2e65f6365
derive to content
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-11 00:19:53 +02:00
dfa62c8e07
fix metadata
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-10 21:08:42 +02:00
52df4bd9c3
detect mermaid diagram
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-10 20:05:57 +02:00
2215f3e4e8
add yaml frontmatter
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-10 19:16:25 +02:00
15b13c30bf
WIP: Markdown implementation
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-10 18:59:30 +02:00
4a1aae9fa4
fmt
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-09 19:44:24 +02:00
144081da09
don't delete the dist directory
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-09 19:43:55 +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
d1f1d5d478
Revert "always use dist directory"
This reverts commit d1568f406d.
2023-04-09 18:23:51 +02:00
6ebd48aeb6
Revert "add script"
This reverts commit 7322bf0057.
2023-04-09 18:23:46 +02:00
7322bf0057
add script
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 17:59:18 +02:00
d1568f406d
always use dist directory
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 17:35:15 +02:00
c42238a624
cleanup
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 17:01:30 +02:00
ea5ce83658
Template minification
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
* use dist/template when exists
* move the minification in config.rs
* load askama.toml for the templates dirs name
* extract the minification of file to minify_and_copy
2023-04-09 16:58:21 +02:00
f368e57d7f
don't always minify when rendering html
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 16:52:07 +02:00
45b2de54fb
use relative path 2023-04-09 16:51:50 +02:00
5ccec75536
move logging to correct location
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 15:21:11 +02:00
6a592f179a
split config and fileconfig
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-09 15:19:23 +02:00
ae43734297
Add contrib file
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-02-20 15:14:08 +01:00
9f0a51b9e5
add scheme
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-02-16 22:20:38 +01:00
c419f92334
support onion
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-02-16 21:59:04 +01:00
b0d1402431
use hostname instead of internal IP
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-02-16 21:44:00 +01:00
e6438cee08
Add Docker support (#1) 2023-02-16 20:06:07 +01:00
23f0c99540
Complete the config file with default values 2023-02-16 15:58:43 +01:00
2ae5270d5e
Move the default configuration to the config file 2023-02-09 12:42:39 +01:00
81a50a237d
Add robots.txt #9 2023-02-09 12:01:35 +01:00
6f3beb6368
#15 awareness 2023-02-09 11:42:51 +01:00
b33c98958d
fix config path 2023-02-09 11:42:39 +01:00
6b932d45ba
use default trait 2023-02-09 11:42:33 +01:00
d57231cfc4
all the config is optional 2023-02-09 11:36:22 +01:00
00cd6405ea
minify all pages 2023-02-09 11:19:53 +01:00
c4a80e15cd
add networks and portfolio endpoints 2023-02-09 10:59:06 +01:00
2a3045e5da
change fn name 2023-02-09 10:57:18 +01:00
23774abc1b
better 404 page 2023-02-09 10:55:49 +01:00
5c9b03ab65
add current website 2023-02-09 10:45:59 +01:00
c423780266
minify only some files 2023-02-09 10:24:29 +01:00
61badd7e08
typo 2023-02-09 00:10:21 +01:00
830d61f28c
add static files support with minifization on release #2 2023-02-09 00:08:31 +01:00
5c6e3e6941
useless comment 2023-02-08 22:29:21 +01:00
0612b09ca0
Initial 404 page #13 2023-02-08 22:27:40 +01:00
9b75dbb7d2
Initial #9 #10 #11 2023-02-08 22:22:20 +01:00
d7ee3f903f
add security.txt 2023-02-08 22:14:57 +01:00
691c766312
add port on config 2023-02-08 20:58:24 +01:00
a8a39cf5b9
add hello world 2023-02-08 20:49:05 +01:00
7a09376134
cargo init 2023-02-02 11:06:27 +01:00