aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/output_xhtmls.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-01-23 17:17:47 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit334bb9c301bb72d5331a2e9e067211c18e5f7c69 (patch)
tree914d539ce4f228103da8bf465cbcf61a71f96498 /src/sdp/output_xhtmls.d
parenttemplate, document head & body (diff)
templates
Diffstat (limited to 'src/sdp/output_xhtmls.d')
-rw-r--r--src/sdp/output_xhtmls.d14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/sdp/output_xhtmls.d b/src/sdp/output_xhtmls.d
index 7838cbe..c7a23fe 100644
--- a/src/sdp/output_xhtmls.d
+++ b/src/sdp/output_xhtmls.d
@@ -11,9 +11,12 @@ template SiSUoutputXHTMLs() {
}
return tags;
}
- auto scroll_head(
- string[string][string] dochead_meta,
+ auto scroll_head(Me)(
+ Me dochead_meta,
) {
+ debug(asserts){
+ static assert(is(typeof(dochead_meta) == string[string][string]));
+ }
string o;
o = format(q"¶<!DOCTYPE html>
<html>
@@ -47,9 +50,12 @@ template SiSUoutputXHTMLs() {
);
return o;
}
- auto seg_head(
- string[string][string] dochead_meta,
+ auto seg_head(Me)(
+ Me dochead_meta,
) {
+ debug(asserts){
+ static assert(is(typeof(dochead_meta) == string[string][string]));
+ }
string o;
o = format(q"¶<!DOCTYPE html>
<html>