From 78e35534cc90c8c0bde817eb02a2c21809b56dab Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Tue, 3 Sep 2019 08:49:45 +0200 Subject: Add meta data readings from Pandoc plugin Update the Pandoc plugin to read more YAML Pandoc meta data. --- .ikiwiki/IkiWiki/Plugin/pandoc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ikiwiki/IkiWiki/Plugin/pandoc.pm b/.ikiwiki/IkiWiki/Plugin/pandoc.pm index 25081ef..cbc9cb7 100755 --- a/.ikiwiki/IkiWiki/Plugin/pandoc.pm +++ b/.ikiwiki/IkiWiki/Plugin/pandoc.pm @@ -452,7 +452,7 @@ sub htmlize ($@) { my @format_keys = grep { $_ ne 'pdf' } keys %extra_formats; my %scalar_meta = map { ($_=>undef) } qw( title date bibliography csl subtitle abstract summary - description version lang locale); + description version lang locale sortas titlesort tag tags); $scalar_meta{$_.'_template'} = undef for @format_keys; my %bool_meta = map { ("generate_$_"=>0) } keys %extra_formats; my %list_meta = map { ($_=>[]) } qw/author references/; -- cgit v1.2.3