Commit 58b6bccd authored by Pierre Neidhardt's avatar Pierre Neidhardt

publish.el: Add license header

parent 143bc9a3
;; Inspiration:
;;; publish.el --- Build and Org blog -*- lexical-binding: t -*-
;; Copyright (C) 2018 Pierre Neidhardt <[email protected]>
;; Author: Pierre Neidhardt <[email protected]>
;; Maintainer: Pierre Neidhardt <[email protected]>
;; URL:
;; Version: 0.0.1
;; Package-Requires: ((emacs "26.1"))
;; Keywords: hypermedia, blog, feed, rss
;; This file is not part of GNU Emacs.
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <>.
;;; Commentary:
;; The entry point is `ambrevar/publish': run it to prodice the website.
;; Inspirations include and various websites
;; listed in source/blog-architecture/
;;; Code:
;; TODO: Load this file as .dir-locals for .org files so that we can org-publish from there?
(require 'ox-publish)
......@@ -195,3 +227,6 @@ See `org-publish-sitemap-default-entry'."
(delete "index.html"
(mapcar (lambda (f) (replace-regexp-in-string ".*/public/" "" f))
(directory-files-recursively "public" "index.html")))))
(provide 'publish)
;;; publish.el ends here
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment