diff --git a/pandoc/defaults/bavbavhaus.net.yaml b/pandoc/defaults/bavbavhaus.net.yaml index a923539..def78fe 100644 --- a/pandoc/defaults/bavbavhaus.net.yaml +++ b/pandoc/defaults/bavbavhaus.net.yaml @@ -10,5 +10,4 @@ filters: - collect_internal_linked.lua - resolve_internal_links.lua - link_headings.lua -- current_date.lua ... diff --git a/pandoc/filters/current_date.lua b/pandoc/filters/current_date.lua deleted file mode 100644 index cad0f19..0000000 --- a/pandoc/filters/current_date.lua +++ /dev/null @@ -1,19 +0,0 @@ -SCRIPT_NAME = "current_date.lua" -os.setlocale("C") - -local utils = pandoc.utils - -LOCALEMAP = { - de = "de_DE.UTF-8", - en = "en_US.UTF-8", - it = "it_IT.UTF-8", - sl = "sl_SI.UTF-8", -} - -return { - { Meta = function(m) - os.setlocale(LOCALEMAP[utils.stringify(m.lang)]) - m.date = os.date("%c") - return m - end } -} diff --git a/pandoc/templates/bavbavhaus.net.html5 b/pandoc/templates/bavbavhaus.net.html5 index d451f7b..ccbe26d 100644 --- a/pandoc/templates/bavbavhaus.net.html5 +++ b/pandoc/templates/bavbavhaus.net.html5 @@ -44,11 +44,6 @@ $abstract$ $endif$ $body$ -$if(date)$ - -$endif$
$for(parts)$