diff options
author | Cristian Cezar Moisés <[email protected]> | 2024-02-18 06:30:43 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-02-18 06:30:43 +0000 |
commit | ba9f120b68041817aebb500258b80806677b58a7 (patch) | |
tree | a6e9ccdb265024fbe5859dac257f539df9006a0a /useful.scm | |
parent | 4f5ad6a7af15a43e1469e994618e24c623177359 (diff) |
Add files via upload
Diffstat (limited to 'useful.scm')
-rw-r--r-- | useful.scm | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -34,7 +34,7 @@ default-theme static-page research-posts - misc-posts + projects-posts centered-image commonmark-reader* date)) @@ -83,19 +83,19 @@ "Check if POST has a research tag." (contains? (post-ref post 'tags) "research")) -(define (misc? post) - "Check if POST has a misc tag." - (contains? (post-ref post 'tags) "misc")) +(define (projects? post) + "Check if POST has a projects tag." + (contains? (post-ref post 'tags) "projects")) (define (research-posts posts) "Returns POSTS that contain research tag in reverse chronological order." (posts/reverse-chronological (filter research? posts))) -(define (misc-posts posts) - "Returns POSTS that contain misc tag in reverse chronological order." +(define (projects-posts posts) + "Returns POSTS that contain projects tag in reverse chronological order." (posts/reverse-chronological - (filter misc? posts))) + (filter projects? posts))) ;;; Links ------------------------------------------------------------ @@ -122,9 +122,9 @@ (define (header-box) `(div (@ (id "block")) (p "+>---------------------------<+") - (p ,(link* "About" "https://cristiancmoises.github.io/site/about.html")-- - ,(link* "Research" "https://cristiancmoises.github.io/site/research.html")-- - ,(link* "Miscellany" "https://cristiancmoises.github.io/site/misc.html")) + (p ,(link* "About" "/about.html")-- + ,(link* "Research" "/research.html")-- + ,(link* "Projects" "/projects.html")) (p "+>---------------------------<+") (br))) |