From 50b21661612b403b58b24eba7cbb904936416f81 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sun, 23 Oct 2022 20:37:11 +0200 Subject: CSS reorg cleanup. --- publish-mlnp.org | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) (limited to 'publish-mlnp.org') diff --git a/publish-mlnp.org b/publish-mlnp.org index 7b81406..32d82e3 100644 --- a/publish-mlnp.org +++ b/publish-mlnp.org @@ -6,7 +6,7 @@ #+DATE: <2022-01-26 Wed> #+OPTIONS: toc:nil -#+HTML_HEAD: +#+HTML_HEAD: #+HTML_HEAD: #+INCLUDE: resources/topnav.html export html @@ -21,7 +21,7 @@ logic, making it possible to efficiently revisit and upgrade this website at a later date. #+end_abstract -#+TOC: headlines 3 +#+TOC: headlines 2 * Introduction @@ -74,7 +74,7 @@ uncorrelated content. │   ├── favicon.png │   ├── favicon.xcf │   ├── fonts/ -│   ├── mlnp.css +│   ├── global.css │   └── topnav.html ├── sitemap.org └── wiki/ @@ -293,7 +293,7 @@ on locally published pages. :publishing-function org-publish-attachment) ("mlnp-resources" :base-directory "resources/" - :base-extension "css\\|js\\|png" + :base-extension "css\\|js\\|png\\|jpg" :publishing-directory ,(concat org-publish-location-local "mlnp.fr/resources/") :publishing-function org-publish-attachment) ("resources-pages" @@ -368,7 +368,7 @@ dashes when exported to the sitemap titles. :base-extension "org" :publishing-directory ,(concat org-publish-location-local "wiki.mlnp.fr/") :recursive t ; Encompass all wiki pages. - :html-head " + :html-head " " :auto-sitemap t :sitemap-title "Full sitemap for [[https://wiki.mlnp.fr][wiki.mlnp.fr]]" @@ -385,7 +385,7 @@ dashes when exported to the sitemap titles. :base-extension "org" :publishing-directory ,(concat org-publish-location-local "wiki.mlnp.fr/") :recursive nil ; Only top-level wiki pages. - :html-head " + :html-head " " :auto-sitemap nil :publishing-function org-html-publish-to-html) @@ -401,7 +401,7 @@ dashes when exported to the sitemap titles. :base-extension "org" :publishing-directory ,(concat org-publish-location-local "wiki.mlnp.fr/engineering") :recursive t - :html-head " + :html-head " " :auto-sitemap t :sitemap-filename "index.org" @@ -420,7 +420,7 @@ dashes when exported to the sitemap titles. :base-extension "org" :publishing-directory ,(concat org-publish-location-local "wiki.mlnp.fr/emacs") :recursive t - :html-head " + :html-head " " :auto-sitemap t :sitemap-filename "index.org" @@ -439,7 +439,7 @@ dashes when exported to the sitemap titles. :base-extension "org" :publishing-directory ,(concat org-publish-location-local "wiki.mlnp.fr/languages") :recursive t - :html-head " + :html-head " " :auto-sitemap t :sitemap-filename "index.org" @@ -458,7 +458,7 @@ dashes when exported to the sitemap titles. :base-extension "org" :publishing-directory ,(concat org-publish-location-local "wiki.mlnp.fr/linux") :recursive t - :html-head " + :html-head " " :auto-sitemap t :sitemap-filename "index.org" @@ -477,7 +477,7 @@ dashes when exported to the sitemap titles. :base-extension "org" :publishing-directory ,(concat org-publish-location-local "wiki.mlnp.fr/programming") :recursive t - :html-head " + :html-head " " :auto-sitemap t :sitemap-filename "index.org" @@ -496,7 +496,7 @@ dashes when exported to the sitemap titles. :base-extension "org" :publishing-directory ,(concat org-publish-location-local "wiki.mlnp.fr/fitness") :recursive t - :html-head " + :html-head " " :auto-sitemap t :sitemap-filename "index.org" @@ -515,7 +515,7 @@ dashes when exported to the sitemap titles. :base-extension "org" :publishing-directory ,(concat org-publish-location-local "wiki.mlnp.fr/typography") :recursive t - :html-head " + :html-head " " :auto-sitemap t :sitemap-filename "index.org" @@ -538,7 +538,7 @@ dashes when exported to the sitemap titles. :base-extension "org" :publishing-directory ,(concat org-publish-location-local "blog.mlnp.fr/") :recursive t - :html-head " + :html-head " " :auto-sitemap t :sitemap-filename "index.org" @@ -571,7 +571,7 @@ dashes when exported to the sitemap titles. :base-extension "org" :publishing-directory ,(concat org-publish-location-local "apps.mlnp.fr/") :recursive t - :html-head " + :html-head " " :auto-sitemap t :sitemap-filename "sitemap.org" @@ -609,7 +609,8 @@ to build the entire website. ;; (org-publish-remove-all-timestamps) ;; Prepare resources: - (org-babel-tangle-file "resources/css.org") + (org-babel-tangle-file "resources/css-global.org") + (org-babel-tangle-file "resources/css-cv.org") (save-window-excursion (find-file "cv.org") (org-ascii-export-to-ascii)) @@ -619,7 +620,7 @@ to build the entire website. (let* ((local org-publish-location-local) (local-websites (concat local "*mlnp.fr")) (remote org-publish-location-remote) - (sync-command (format "rsync -azvP %s %s" local-websites remote))) + (sync-command (format "rsync -azvP %s %s --chown=mpeter:www-data" local-websites remote))) (if (not (yes-or-no-p "Push local changes to remote target? ")) (message "Didn't publish remotely to %s." remote) (message @@ -628,7 +629,7 @@ to build the entire website. #+END_SRC #+RESULTS: main -: # +: # The following links to the locally built homepages are useful after building the website locally, to check that everything proceeded smoothly. -- cgit v1.2.3