update `pandoc` data dir

master
urosm 2024-06-26 16:13:31 +02:00
parent 8f8f05a200
commit d78dd9330c
3 changed files with 0 additions and 25 deletions

View File

@ -10,5 +10,4 @@ filters:
- collect_internal_linked.lua
- resolve_internal_links.lua
- link_headings.lua
- current_date.lua
...

View File

@ -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 }
}

View File

@ -44,11 +44,6 @@ $abstract$
</div>
$endif$
$body$
$if(date)$
<footer>
<p>$date$</p>
</footer>
$endif$
</article>
<article id="recto">
$for(parts)$