From d330c8688d7121934ab3dfdd0e9ed3a3fef70523 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Wed, 27 Nov 2019 17:07:25 +0100 Subject: [PATCH] updated CSS and style --- build.sh | 12 +++++++++++- dup-for-themes.sh | 3 ++- project.el | 8 +++++++- project.el.sig | Bin 585 -> 586 bytes src/css/min.css | 4 ++++ src/css/mk.css | 7 ++++++- src/css/modern.css | 8 +++++++- src/css/sci.css | 5 +++++ src/index.org | 7 +++++++ src/posts/new-blog.org | 4 ++-- 10 files changed, 51 insertions(+), 7 deletions(-) diff --git a/build.sh b/build.sh index 05c1709..c6710c5 100755 --- a/build.sh +++ b/build.sh @@ -1,3 +1,13 @@ #!/usr/bin/env bash -emacs --load project.el --eval '(progn (delete-directory org-publish-timestamp-directory t) (org-publish "blog" nil) (evil-quit))' +emacs \ + --load project.el \ + --eval "(progn (org-publish \"blog\" t) (evil-quit))" + +echo "Update file size" +./update-file-size.sh +echo "Gen themes clones" +./dup-for-themes.sh +echo "Building RSS" +./mkrss.sh +echo "RSS Built" diff --git a/dup-for-themes.sh b/dup-for-themes.sh index ba15d4e..d7cc27d 100755 --- a/dup-for-themes.sh +++ b/dup-for-themes.sh @@ -17,11 +17,12 @@ else fi for fic in $filelist; do - if echo $fic|egrep -- '-(mk|sci|modern).html$'>/dev/null; then + if echo $fic|egrep -- '-(mk|min|sci|modern).html$'>/dev/null; then continue fi print -n -- "$fic " cat $fic | perl -p -e 's#href="/css/mk.css"#href="/css/sci.css"#' > ${fic:r}-sci.html + cat $fic | perl -p -e 's#href="/css/mk.css"#href="/css/min.css"#' > ${fic:r}-min.html cat $fic | perl -p -e 's#href="/css/mk.css"#href="/css/modern.css"#' > ${fic:r}-modern.html print "[OK]" done diff --git a/project.el b/project.el index 26939ce..2c189e5 100644 --- a/project.el +++ b/project.el @@ -53,7 +53,6 @@ "Pre-amble for whole blog." (concat "
" - (menu '("↓ bottom ↓")) (when-let ((date (plist-get info :date))) (format "%s" (format-time-string "%Y-%m-%d" @@ -155,6 +154,12 @@ "#+AUTHOR: " author-name "\n" "#+EMAIL: " author-email "\n" "#+DESCRIPTION: " descr "\n" + "@@html:" + "Home | " + "Posts | " + "Slides | " + "About" + "
@@" (mapconcat (lambda (li) (format "%s" (car li))) (seq-filter #'car (cdr list)) "\n"))) @@ -186,6 +191,7 @@ "
" "
" + "her.esy.fun - " "" " / " "" diff --git a/project.el.sig b/project.el.sig index 06e00bc5dc5fbcc491eadbfb0700c85cdeaa5b5a..f7513b0a4280b15bcaff69c8b370a6f7636f166b 100644 GIT binary patch delta 567 zcmV-70?7Tz1j+;^i2_Fi009aBF%}^N#o$ihO_s|vF@xXv%R&!;1@We01p-~(om7z~ zAb*Sk5CDf{be$_4KkyJ_n`?MD{=nY>_wlMQvdNZ-uVt4DQAd!RNkjbcqV0GkIO_5; z$cAX)EANF^=ogw?k0zBC>u@F69Io0cNMa%HI0yxf5m99OR|w|CFCveiVn^#F`;_R$ z!LJRW#IN6EK>l>$gc9}WRCQW;?t zGqdYi&t0H05yI?|;Au+Y;f>vRO z@&zLXw&5?FP(bW@DIfA3Raq27v&31VMFtQ#!21?|8Qlt)6UvzT!7tT6s>(^j7Jo*t z0?}5Qq+helZ9v1jj=Cz$OE@qyHYrEGa=YBa@H`p~ea7H&M|1_e1cGSSk$NQDcuW5r zoNuIhvOzd_{ufyXjOetNnL1%e3Yr)Qeh10e29irD zN50V!xQ|wl|4?2t9Nl_blPnS5bVJg*HTkI#6;bwtXBNT^%W!p-gO-ink6|Q~ zew8TApvxmQ)xNd1Qwr^)HqxVW<-%--@7{LLmD85Ql8D1w;DJRspuj6`;s|V=+wOP> FWC3oh4CVj; delta 566 zcmV-60?GZ#1jz&@i2_Ch009aBF%}^N#o$ihO_s|vF@xXv%R&!;1@We01p-~yQ|OT< zAb$Zr5BQNMKY0N9N44@jR(9b7QX$NshQNdrA zfGCNqQ!oDW%w#e&J=Z7HXe6p<}2T)Mo`&rJT|)wnmRlo4Ur>1333|Q#ZfsM z%-L+7T&{iKVfZYN;q2>%ZI&5tAIR{VPXgfVu}_^cS{YeRw16^3nq|q-Im1WZ)phz%c+p7mRzJNBp|| z*=`1M-7sIb#P>2 z?`nZ+2SNHZqT=zhF0Lr +Home | +Posts | +Slides | +About +@@ + #+INCLUDE: ../logo-svg.org Welcome to my personal website. diff --git a/src/posts/new-blog.org b/src/posts/new-blog.org index cfff69a..d5c85cf 100644 --- a/src/posts/new-blog.org +++ b/src/posts/new-blog.org @@ -256,7 +256,7 @@ a function used to transform org files to HTML, etc... (setq rss-title "Subscribe to articles") (setq publish-rss-dir publish-dir) (setq publish-rss-img (concat domainname "/rss.png")) - (setq css-path "/css/minimalist.css") + (setq css-path "/css/min.css") (setq author-name "John Doe") (setq author-email "john@doe.com") @@ -546,7 +546,7 @@ Here is the full code: (setq rss-title "Subscribe to articles") (setq publish-rss-dir publish-dir) (setq publish-rss-img (concat domainname "/rss.png")) - (setq css-path "/css/minimalist.css") + (setq css-path "/css/min.css") (setq author-name "John Doe") (setq author-email "john@doe.com")