diff options
Diffstat (limited to 'org/default_misc.org')
-rw-r--r-- | org/default_misc.org | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/org/default_misc.org b/org/default_misc.org index b87a1f3..4fe8a7b 100644 --- a/org/default_misc.org +++ b/org/default_misc.org @@ -65,7 +65,7 @@ import #+name: ao_defaults_template_registers #+BEGIN_SRC d -string[string][string] conf_aa() { +string[string][string] conf_aa_empty() { auto conf_ = [ "webserv": [ "url_root" : "", @@ -120,18 +120,7 @@ string[string][string] conf_aa() { "action" : "", "db" : "", "title" : "" - ] - ]; - return conf_; -} -#+END_SRC - -**** make associative array - -#+name: ao_defaults_template_registers -#+BEGIN_SRC d -string[string][string] make_aa() { - auto make_ = [ + ], "make": [ "bold" : "", "breaks" : "", @@ -147,9 +136,9 @@ string[string][string] make_aa() { "num_depth" : "", "substitute" : "", "texpdf_font" : "" - ] + ], ]; - return make_; + return conf_; } #+END_SRC @@ -157,7 +146,7 @@ string[string][string] make_aa() { #+name: ao_defaults_template_registers #+BEGIN_SRC d -string[string][string] meta_aa() { +string[string][string] meta_aa_empty() { auto meta_ = [ "classify": [ "dewey" : "", |