aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/ao_defaults.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-01-27 15:57:55 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commitbdeee0ea38b48d4fc5c4bb7411a584a9af29382f (patch)
tree5b5b159e01ddd9ae781d9493a3421dd8426b7c7f /src/sdp/ao_defaults.d
parentdebugs template (diff)
document abstraction template
Diffstat (limited to 'src/sdp/ao_defaults.d')
-rw-r--r--src/sdp/ao_defaults.d63
1 files changed, 34 insertions, 29 deletions
diff --git a/src/sdp/ao_defaults.d b/src/sdp/ao_defaults.d
index 1e88e3b..badfea7 100644
--- a/src/sdp/ao_defaults.d
+++ b/src/sdp/ao_defaults.d
@@ -482,35 +482,40 @@ template SiSUnode() {
}
template SiSUbiblio() {
// required: deemed_author (author || editor); year; fulltitle;
- auto biblio_entry_tags_jsonstr = `{
- "is" : "",
- "sortby_deemed_author_year_title" : "",
- "deemed_author" : "",
- "author_raw" : "",
- "author" : "",
- "author_arr" : [ "" ],
- "editor_raw" : "",
- "editor" : "",
- "editor_arr" : [ "" ],
- "title" : "",
- "subtitle" : "",
- "fulltitle" : "",
- "language" : "",
- "trans" : "",
- "src" : "",
- "journal" : "",
- "in" : "",
- "volume" : "",
- "edition" : "",
- "year" : "",
- "place" : "",
- "publisher" : "",
- "url" : "",
- "pages" : "",
- "note" : "",
- "short_name" : "",
- "id" : ""
- }`; // is: book, article, magazine, newspaper, blog, other
+ struct BibJsnStr {
+ auto biblio_entry_tags_jsonstr() {
+ string x = `{
+ "is" : "",
+ "sortby_deemed_author_year_title" : "",
+ "deemed_author" : "",
+ "author_raw" : "",
+ "author" : "",
+ "author_arr" : [ "" ],
+ "editor_raw" : "",
+ "editor" : "",
+ "editor_arr" : [ "" ],
+ "title" : "",
+ "subtitle" : "",
+ "fulltitle" : "",
+ "language" : "",
+ "trans" : "",
+ "src" : "",
+ "journal" : "",
+ "in" : "",
+ "volume" : "",
+ "edition" : "",
+ "year" : "",
+ "place" : "",
+ "publisher" : "",
+ "url" : "",
+ "pages" : "",
+ "note" : "",
+ "short_name" : "",
+ "id" : ""
+ }`; // is: book, article, magazine, newspaper, blog, other
+ return x;
+ }
+ }
}
template SiSUpaths() {
string _base_filename(string fn_src) {