Compare commits

..

3 commits

Author SHA1 Message Date
Dibyashanu Pati
494f5599fa added separate git links for clearweb and i2p 2025-03-03 21:55:18 +05:30
Dibyashanu Pati
a278e87b76 changed body background color in site.css 2025-03-03 21:09:33 +05:30
Dibyashanu Pati
0d247f46c2 added citation framework 2025-03-03 16:47:38 +05:30
4 changed files with 13 additions and 6 deletions

View file

@ -106,7 +106,7 @@ body {
font-size: 1.3rem; font-size: 1.3rem;
line-height: 1.5; line-height: 1.5;
color: #eeffff; color: #eeffff;
background-color: #857470; background-color: #633F3F;
} }
p { p {

View file

@ -4,6 +4,9 @@
rm -rf ./public/exocortex-hugo-md/public/* rm -rf ./public/exocortex-hugo-md/public/*
rm -rf ./public/exocortex-hugo-md/content/ rm -rf ./public/exocortex-hugo-md/content/
# sync bibtex references
rsync -avi ~/projects/thought_garden/References.bib ./public/exocortex-hugo-md/References.bib
# create hugo md files using ox-hugo # create hugo md files using ox-hugo
emacs -Q --batch -l ox-hugo-exocortex.el emacs -Q --batch -l ox-hugo-exocortex.el

View file

@ -76,12 +76,12 @@
(a (@ (class "nav-link") (href "/")) "Home") " " (a (@ (class "nav-link") (href "/")) "Home") " "
(a (@ (class "nav-link") (href "/exocortex/")) "Thought Garden") " " (a (@ (class "nav-link") (href "/exocortex/")) "Thought Garden") " "
(a (@ (class "nav-link") (href "/blogs/")) "Blog") " " (a (@ (class "nav-link") (href "/blogs/")) "Blog") " "
(a (@ (class "nav-link") (href "https://cosmicflow.space:3030/")) "Git") " " (a (@ (class "nav-link") (href "https://cosmicflow.space:3030/")) "Git-(clearweb)") " "
(a (@ (class "nav-link") (href "http//git.cosmicflow.i2p/")) "Git-(i2p)") " "
(a (@ (class "nav-link") (href "/about/")) "About") " " (a (@ (class "nav-link") (href "/about/")) "About") " "
(a (@ (class "nav-link") (href "/contact/")) "PGP") " " (a (@ (class "nav-link") (href "/contact/")) "PGP") " "
(a (@ (class "nav-link") (href "/links/")) "Links") " " (a (@ (class "nav-link") (href "/links/")) "Links") " "
(a (@ (class "nav-link") (href "/gallery/")) "Gallery") " " (a (@ (class "nav-link") (href "/gallery/")) "Gallery") " "
;; (a (@ (class "nav-link") (href "https://store.systemcrafters.net?utm_source=sc-site-nav")) "Store") " "
(a (@ (class "nav-link") (href "/news/")) "News"))))))) (a (@ (class "nav-link") (href "/news/")) "News")))))))
(defun my/site-footer () (defun my/site-footer ()
@ -93,9 +93,9 @@
" · " " · "
(a (@ (href "/credits/")) "Credits") (a (@ (href "/credits/")) "Credits")
" · " " · "
(a (@ (href "https://cosmicflow.space:3030/DibyashanuPati/cosmicflow")) "Source Code") (a (@ (href "https://cosmicflow.space:3030/DibyashanuPati/cosmicflow")) "Source Code (clearweb)")
;; " · " " · "
;; (a (@ (rel "me") (href "https://fosstodon.org/@daviwil")) "Fediverse")) (a (@ (href "http://git.cosmicflow.i2p/DibyashanuPati/cosmicflow")) "Source Code (i2p)")
(p "© 2024-2025 Dibyashanu Pati - Except where otherwise noted, this work is licensed under http://creativecommons.org/licenses/by/3.0/" (p "© 2024-2025 Dibyashanu Pati - Except where otherwise noted, this work is licensed under http://creativecommons.org/licenses/by/3.0/"
(img (@ (class "column align-left") (img (@ (class "column align-left")
(src "/pics/CCLogoColorPop1.gif") (src "/pics/CCLogoColorPop1.gif")

View file

@ -29,6 +29,10 @@
) )
(setq org-roam-directory "~/projects/thought_garden/") (setq org-roam-directory "~/projects/thought_garden/")
;; See https://ox-hugo.scripter.co/doc/org-cite-citations/
(with-eval-after-load 'ox-hugo
(plist-put org-hugo-citations-plist :bibliography-section-heading "Bibliography"))
;; modified this function from https://github.com/kaushalmodi/ox-hugo/discussions/585#discussioncomment-2335203 ;; modified this function from https://github.com/kaushalmodi/ox-hugo/discussions/585#discussioncomment-2335203
(defun ox-hugo/export-all (&optional org-files-root-dir dont-recurse) (defun ox-hugo/export-all (&optional org-files-root-dir dont-recurse)
"Export all Org files (including nested) under ORG-FILES-ROOT-DIR. "Export all Org files (including nested) under ORG-FILES-ROOT-DIR.