Add the :base-url to org rendering context

Bu işleme şunda yer alıyor:
Sameer Rahmani 2022-06-29 17:20:28 +01:00
ebeveyn ab977855e2
işleme 1cc1b49c00
3 değiştirilmiş dosya ile 5 ekleme ve 6 silme

Dosyayı Görüntüle

@ -55,7 +55,7 @@ serve: build
.PHONY: deploy-docs
deploy-docs: docs
rsync -vlcr --delete-after ./build/* core.lxsameer.com:/home/www/public/fg42/
rsync -vlcr --delete-after ./build/site-build/* core.lxsameer.com:/home/www/public/fg42/
.PHONY: dummy-x
dummy-x:

Dosyayı Görüntüle

@ -311,9 +311,8 @@ Not pages."
(message "Creating the main index file")
(copy-template (from-root "/docs/site/templates/index.org")
(expand-file-name "site/index.org" build-dir)
(list
(cons :links
(latest-org-list base-url))))
`((:links . ,(latest-org-list base-url))
(:base-url . ,base-url)))
(message "Creating categories")
(copy-template (from-root "/docs/site/templates/categories.org")

Dosyayı Görüntüle

@ -9,10 +9,10 @@
#+INCLUDE: "../../README.org::*Future Gadgets 42" :only-contents t
* Contribute
FG42 made possible by the effort of the community of [[http:/pages/contributors.html][Contributors]].
FG42 made possible by the effort of the community of [[<<<:base-url>>>/pages/contributors.html][Contributors]].
If you're interested in *FG42* and wants to contribute to the project please follow
the [[http:/pages/how-to-contribute.html][How to Contribute Guitd]]. Also please read our [[http:/pages/code-of-conduct.html][Code of Conduct]] as well.
the [[<<<:base-url>>>/pages/how-to-contribute.html][How to Contribute Guitd]]. Also please read our [[<<<:base-url>>>/pages/code-of-conduct.html][Code of Conduct]] as well.
* Recent updates:
<<<:links>>>