Function: org-html-meta-tags-default

org-html-meta-tags-default is a byte-compiled function defined in ox-html.el.gz.

Signature

(org-html-meta-tags-default INFO)

Documentation

A default value for org-html-meta-tags.

Generate a list items, each of which is a list of arguments that can be passed to org-html--build-meta-entry, to generate meta tags to be included in the HTML head.

Use document's plist INFO to derive relevant information for the tags.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-html.el.gz
;;; Template

(defun org-html-meta-tags-default (info)
  "A default value for `org-html-meta-tags'.

Generate a list items, each of which is a list of arguments that can
be passed to `org-html--build-meta-entry', to generate meta tags to be
included in the HTML head.

Use document's plist INFO to derive relevant information for the tags."
  (let ((author (and (plist-get info :with-author)
                     (let ((auth (plist-get info :author)))
                       ;; Return raw Org syntax.
                       (and auth (org-element-interpret-data auth))))))
    (list
     (when (org-string-nw-p author)
       (list "name" "author" author))
     (when (org-string-nw-p (plist-get info :description))
       (list "name" "description"
             (plist-get info :description)))
     (when (org-string-nw-p (plist-get info :keywords))
       (list "name" "keywords" (plist-get info :keywords)))
     '("name" "generator" "Org Mode"))))