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 b275552..560983c 100644 Binary files a/project.el.sig and b/project.el.sig differ 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