Skip to content

london-emacs-hacking/london-emacs-hacking.github.io

Repository files navigation

emacs.london

This is the source for https://emacs.london, the website for the Emacs London meetup.

It’s hosted on Github Pages, so any changes that are merged into master will automatically go live.

Building the site

You can build the site locally by evaluating the snippet below, and then running the command emacs-london/publish.

  (defvar emacs-london/directory (expand-file-name "."))

(defun emacs-london/publish ()
  (interactive)
  (let ((org-html-htmlize-output-type 'inline-css)
        (org-publish-project-alist
         `(("emacs-london"
            :base-directory ,emacs-london/directory
            :publishing-directory ,emacs-london/directory
            :base-extension "org"
            :exclude ,(regexp-opt '("README.org"))
            :recursive nil
            :auto-sitemap nil
            :auto-preamble t
            :headline-levels 4
            :author "Emacs London"
            :with-toc nil
            :with-date t
            :with-author nil
            :with-creator nil
            :with-title nil
            :html-style nil
            :html-head "<link rel=\"stylesheet\" type=\"text/css\" href=\"assets/css/style.css\"/>"
            :html-preamble "<center><a class=\"logo-href\" href=\"/index.html\"><img src=\"./assets/images/emacs-london-logo.png\" alt=\"emacs-london image\" class=\"logo\"></a></center>"
            :html-postamble-format '("en" " <p class=\"date\">Date: %d</p> ")
            :publishing-function org-html-publish-to-html))))
    (org-publish-project "emacs-london" t nil)))