Просмотр исходного кода

manual, news: Document org-html-meta-tags

* docs/org-manual.org, etc/ORG-NEWS: Document and announce the new
setting `org-html-meta-tags'.

[km: spacing and spelling tweaks]
TEC 5 лет назад
Родитель
Сommit
5b0eb9aada
2 измененных файлов с 10 добавлено и 0 удалено
  1. 3 0
      doc/org-manual.org
  2. 7 0
      etc/ORG-NEWS

+ 3 - 0
doc/org-manual.org

@@ -12624,6 +12624,9 @@ settings described in [[*Export Settings]].
   multiple =DESCRIPTION= lines.  The exporter takes care of wrapping
   multiple =DESCRIPTION= lines.  The exporter takes care of wrapping
   the lines properly.
   the lines properly.
 
 
+  The exporter includes a number of other meta tags, which can be customized
+  by modifying ~org-html-meta-tags~.
+
 - =HTML_DOCTYPE= ::
 - =HTML_DOCTYPE= ::
 
 
   #+cindex: @samp{HTML_DOCTYPE}, keyword
   #+cindex: @samp{HTML_DOCTYPE}, keyword

+ 7 - 0
etc/ORG-NEWS

@@ -81,6 +81,13 @@ block. ~org-babel-latex-preamble~, ~org-babel-latex-begin-env~ and
 the user to specify the preamble and code that preceedes and proceeds
 the user to specify the preamble and code that preceedes and proceeds
 the contents of the source block.
 the contents of the source block.
 
 
+*** New option ~org-html-meta-tags~ allows for HTML meta tags customization
+
+New variable ~org-html-meta-tags~ makes it possible to customize the
+=<meta>= tags used in an HTML export.  Accepts either a static list of
+values, or a function that generates such a list (see
+~org-html-meta-tags-default~ as an example of the latter).
+
 ** New features
 ** New features
 *** =ob-python= improvements to =:return= header argument 
 *** =ob-python= improvements to =:return= header argument