#+TITLE: Welcome!
#+DATE: 2019-07-04
#+KEYWORDS: programming
#+AUTHOR: Yann Esposito
#+EMAIL: yann.esposito@gmail.com
#+DESCRIPTION:
#+LANGUAGE: en
#+LANG: en
#+OPTIONS: H:5
This is a new take on my personal blog.
With a lot more minimalism in mind.
I know light is more usual, but I prefer to use a dark background as it will
tend to consume slightly less energy for some screen technologies.
With [[http://orgmode.org][org-mode]]
* Code magic :noexport:
#+begin_src elisp :results none
(require 'org)
(require 'ox-publish)
(require 'ox-html)
(require 'org-element)
(require 'ox-rss)
(defun org-blog-prepare (project-plist)
"With help from `https://github.com/howardabrams/dot-files'.
Touch `index.org' to rebuilt it.
Argument `PROJECT-PLIST' contains information about the current project."
(let* ((base-directory (plist-get project-plist :base-directory))
(buffer (find-file-noselect (expand-file-name "index.org" base-directory) t)))
(with-current-buffer buffer
(set-buffer-modified-p t)
(save-buffer 0))))
(defvar org-blog-head
(concat
""
""
""
""))
(defun org-blog-preamble (info)
"Pre-amble for whole blog."
(concat
"Her.esy.fun"
(when-let ((date (get-from-info info :date)))
(format " - %s" date))
"
"))
(defun menu ()
"Blog menu"
(concat
"