From ae8c3a1954bf257a58ea5fe6c88f1d3b02d85da8 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Sat, 2 May 2020 13:37:25 +0200 Subject: [PATCH] updated a bit to add description text. --- project.el | 11 ++++++---- project.el.sig | Bin 586 -> 586 bytes src/drafts/XXXX-roe-colorschemes/index.org | 9 ++++++++ src/posts/0010-Haskell-Now/index.org | 23 +++++++++++---------- src/posts/0012-solaryzed-theme/index.org | 3 ++- 5 files changed, 30 insertions(+), 16 deletions(-) create mode 100644 src/drafts/XXXX-roe-colorschemes/index.org diff --git a/project.el b/project.el index bfffeda..da9e7e8 100644 --- a/project.el +++ b/project.el @@ -107,6 +107,8 @@ " - " (format " §permalink" permalink))) "")) + (when-let ((description (plist-get info :description))) + (format "
%s
" description)) "")) (defun rand-obfs (c) @@ -259,13 +261,14 @@ (defun org-blog-publish-to-html (plist filename pub-dir) "Same as `org-html-publish-to-html' but modifies html before finishing." (let* ((file-path (org-html-publish-to-html plist filename pub-dir)) - (mk-path (format "./%s.html" (replace-regexp-in-string ".*/\\([^/]*\\)\\.org$" "\\1" filename)))) + (mk-path (format "./%s.html" + (replace-regexp-in-string ".*/\\([^/]*\\)\\.org$" + "\\1" + filename)))) (with-current-buffer (find-file-noselect file-path) (goto-char (point-min)) (search-forward "") - (insert (mapconcat 'identity - `("
") - "\n")) + (insert "
") (goto-char (point-max)) (search-backward "") (insert "\n
\n") diff --git a/project.el.sig b/project.el.sig index b2755529a9ab6187a49e4d482491422f70a90c49..560983c0e48e9a5c00e4c9c50a17915611b6b258 100644 GIT binary patch delta 533 zcmV+w0_y$B1j+=EBm!G&ktQI2Th9;t4ykhzC-oKn=-=fTQ#We zdLEV1y4@zUMRn!3aKFSv()uY3`ks*Z^(kW-c3I=DHtn}H(STOLX(7#4*Zz@X9su(b zqZPOAc-CTzJdv5`Uy+%4i_0=nFVX>G{$F|#WGK@^=0|23YLu<&rG))|)XmAx1yrcX zZiTf9e(3P)KQeBSRpwg3pu9!;WhCjHABT$CaN{8Omk0j=X_h2>fF8PV-IAV~57DCG zs6UYCA9obO7QAz*=&35%T|D1*7z9lFNUXq&2dPua@hH1 z(^9i0s5A48ILH3qhhidsGSfWP#`nPTsAqGPL~itJ`hBnOxXag=DAp5QoQqoSfvqQ& zPxro0Glc}U%;nMlUbUM|?+tL%5H@=VRe>~@t)Sc#pqEDdzS)%cNEYi$RH}9_JYCfF z%Fz&RwDP6qsqiGE8;mkI8s4f{5gOvexFhcmMBlhNt(o~Hb6SFb34|5+H(gE^5*Nmj z@tmKoCC3|5qq*nPP_%|wiLp;7w-2#uF??im+0 delta 533 zcmV+w0_y$B1j+=EBmzZ8ktQI21SAjsD2r*$6WE$@XG*2y-R;SOqElX_Y~hGsz_(~Z z`wUoGm%?o7SW9~0;L_3NJb5ayLA=ln%0E*w-Z;>wnuN$A7tp#6S_gTCr^ZVVipaVD^-NQ!rK$KzPk@87oDe4jbz~)fIdR;*ADH6lz4*p( z_Zjip4{Td)MI6fa4IcpsLuo|PjE`oVqd&y==NLorphEjT%5Iq*aqS5M<%NlFwk*qV zXXg&Ywm$$-1gkWM98D3Zgdi??zB$@qUi74%wn3P6e%ynycdO|;U{b1GC>DrWYFv8G X6f2@k>XT>pshLU$=x}cbHZheh1G@Z} diff --git a/src/drafts/XXXX-roe-colorschemes/index.org b/src/drafts/XXXX-roe-colorschemes/index.org new file mode 100644 index 0000000..d4d3843 --- /dev/null +++ b/src/drafts/XXXX-roe-colorschemes/index.org @@ -0,0 +1,9 @@ +#+title: Solaryzed: A Generalisation of Solarized +#+date: [2020-03-01 Sun] +#+author: Yann Esposito +#+EMAIL: yann@esposito.host +#+KEYWORDS: colorscheme +#+DESCRIPTION: A generalization of solarized (https://solaryzed.esy.fun). +#+DESCRIPTION: I tried to make keep the same fundamentals and to free some variables. +#+OPTIONS: auto-id:t toc:t +#+STARTUP: overview diff --git a/src/posts/0010-Haskell-Now/index.org b/src/posts/0010-Haskell-Now/index.org index bce78a9..5d82863 100644 --- a/src/posts/0010-Haskell-Now/index.org +++ b/src/posts/0010-Haskell-Now/index.org @@ -4,18 +4,14 @@ #+author: Yann Esposito #+EMAIL: yann@esposito.host #+keywords: Haskell, programming, functional, tutorial -#+DESCRIPTION: A dense introduction and Haskell tutorial. Brace yourself. +#+DESCRIPTION: A short and intense introduction to Haskell.
+#+DESCRIPTION:
+#+DESCRIPTION: This is an update of my old (2012) article.
+#+DESCRIPTION: A lot of things have changed since then.
+#+DESCRIPTION: I took the time to read it again.
#+OPTIONS: auto-id:t toc:t #+STARTUP: overview -#+begin_notes -A short and intense introduction to Haskell. - -This is an update of my old (2012) article. -A lot of things have changed since then. -I took the time to read it again. -#+end_notes - #+begin_quote *Prelude* @@ -169,8 +165,13 @@ The article contains five parts: #+CAPTION: Haskell logo [[./Haskell-logo.png]] -1. Install [[https://nixos.org/nix][nix]] (The version I use is nix (Nix) 2.3.1, future 2.X.X versions - should work with the examples in this article) +If you are not using either Linux nor macOS, you should look here: +https://www.haskell.org/downloads/. +Otherwise, you can follow my advice to use nix: + +1. Install [[https://nixos.org/nix][nix]] (The version I used while writting this article was + nix (Nix) 2.3.1, future 2.X.X versions should work with the + examples in this article) 3. create a new empty directory =hsenv= somewhere 4. Put the following =shell.nix= file inside it diff --git a/src/posts/0012-solaryzed-theme/index.org b/src/posts/0012-solaryzed-theme/index.org index 35bde99..37726b4 100644 --- a/src/posts/0012-solaryzed-theme/index.org +++ b/src/posts/0012-solaryzed-theme/index.org @@ -3,7 +3,8 @@ #+author: Yann Esposito #+EMAIL: yann@esposito.host #+keywords: colorscheme -#+DESCRIPTION: A generalization of solarized (https://solaryzed.esy.fun) +#+DESCRIPTION: A generalization of solarized (https://solaryzed.esy.fun). +#+DESCRIPTION: I tried to make keep the same fundamentals and to free some variables. #+OPTIONS: auto-id:t toc:t #+STARTUP: overview