From 116dc2d5fd118511200a6b64a87db3311d0af101 Mon Sep 17 00:00:00 2001 From: Septs Date: Mon, 13 Dec 2021 03:51:57 +0800 Subject: [PATCH] improve csv table shortcode --- content/zh-cn/docs/campus/list/JSU.md | 2 +- content/zh-cn/docs/hrt/jnuh1/index.md | 2 +- content/zh-cn/docs/hrt/pku3/index.md | 2 +- content/zh-cn/docs/hrt/zhou-jianying/index.md | 2 +- content/zh-cn/docs/medicine/HRT.md | 2 +- .../zh-cn/docs/medicine/estrogen/estrofem/index.md | 2 +- .../zh-cn/docs/medicine/estrogen/progynova/index.md | 2 +- content/zh-cn/docs/psyco/beijing/cong-zhong/index.md | 2 +- content/zh-cn/docs/psyco/beijing/di-xiaolan/index.md | 2 +- content/zh-cn/docs/psyco/beijing/hao-shuwei.md | 2 +- content/zh-cn/docs/psyco/beijing/niu-yajuan/index.md | 2 +- content/zh-cn/docs/psyco/beijing/tang-hongyu.md | 2 +- content/zh-cn/docs/psyco/midsouth/guo-ming/index.md | 2 +- content/zh-cn/docs/psyco/pearl/jia-yanbin/index.md | 2 +- .../zh-cn/docs/psyco/shandong/cao-bingyu/index.md | 2 +- content/zh-cn/docs/psyco/shandong/gao-jin/index.md | 2 +- content/zh-cn/docs/psyco/shandong/hu-lei/index.md | 2 +- .../docs/psyco/shandong/huang-yuanyuan/index.md | 2 +- content/zh-cn/docs/psyco/shandong/qi-sufang/index.md | 2 +- .../docs/psyco/shandong/zhang-jingxuan/index.md | 2 +- content/zh-cn/docs/psyco/yangtze/cao-qiuyun/index.md | 4 ++-- .../zh-cn/docs/psyco/yangtze/du-xiangdong/index.md | 2 +- content/zh-cn/docs/psyco/yangtze/huang-ying/index.md | 2 +- content/zh-cn/docs/psyco/yangtze/lu-zheng/index.md | 4 ++-- content/zh-cn/docs/psyco/yangtze/wang-biao/index.md | 2 +- content/zh-cn/docs/psyco/yangtze/zhang-yi/index.md | 2 +- .../docs/psyco/yangtze/zheng-tiansheng/index.md | 2 +- content/zh-cn/docs/self-test.md | 2 +- content/zh-cn/docs/unexplored.md | 12 ++++++------ content/zh-cn/docs/vocal-training/li-yanfei.md | 2 +- layouts/shortcodes/csv-table.html | 11 +++++------ 31 files changed, 42 insertions(+), 43 deletions(-) diff --git a/content/zh-cn/docs/campus/list/JSU.md b/content/zh-cn/docs/campus/list/JSU.md index cac4fda2..483bbfd7 100644 --- a/content/zh-cn/docs/campus/list/JSU.md +++ b/content/zh-cn/docs/campus/list/JSU.md @@ -14,7 +14,7 @@ title: 吉首大学 学校地跨湘西土家族民族自治州和张家界市两地办学 -{{< csv-table header=true >}} +{{< csv-table >}} 校区名,地址 砂子坳校区,吉首市人民南路 120 号 大田湾校区,吉首市大田路 diff --git a/content/zh-cn/docs/hrt/jnuh1/index.md b/content/zh-cn/docs/hrt/jnuh1/index.md index 56624bf7..27cab353 100644 --- a/content/zh-cn/docs/hrt/jnuh1/index.md +++ b/content/zh-cn/docs/hrt/jnuh1/index.md @@ -11,7 +11,7 @@ weight: 200 ## 出诊时刻 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,价格 星期三,全天,妇科门诊,20 元 {{< /csv-table >}} diff --git a/content/zh-cn/docs/hrt/pku3/index.md b/content/zh-cn/docs/hrt/pku3/index.md index b8b65faa..c11510c7 100644 --- a/content/zh-cn/docs/hrt/pku3/index.md +++ b/content/zh-cn/docs/hrt/pku3/index.md @@ -126,7 +126,7 @@ weight: 100 ## 出诊时刻表 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,价格 周二,上午,外科(易性症综合治疗门诊),60 元 周四,上午,美容中心,60 元 diff --git a/content/zh-cn/docs/hrt/zhou-jianying/index.md b/content/zh-cn/docs/hrt/zhou-jianying/index.md index 5c1d0559..bd7f6259 100644 --- a/content/zh-cn/docs/hrt/zhou-jianying/index.md +++ b/content/zh-cn/docs/hrt/zhou-jianying/index.md @@ -29,7 +29,7 @@ weight: 200 ## 出诊时刻 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,价格 周五,整天,内分泌专家,22 元 {{< /csv-table >}} diff --git a/content/zh-cn/docs/medicine/HRT.md b/content/zh-cn/docs/medicine/HRT.md index 72aab144..ed3e3bfe 100644 --- a/content/zh-cn/docs/medicine/HRT.md +++ b/content/zh-cn/docs/medicine/HRT.md @@ -102,7 +102,7 @@ weight: 1 来源:北医三院 -{{< csv-table header=true >}} +{{< csv-table >}} 作用效果,预计出现时间,预计稳定时间 乳房发育,3-6 月,2-3 年 体脂重新分布,3-6 月,2-5 年 diff --git a/content/zh-cn/docs/medicine/estrogen/estrofem/index.md b/content/zh-cn/docs/medicine/estrogen/estrofem/index.md index 9ded6205..cd121325 100644 --- a/content/zh-cn/docs/medicine/estrogen/estrofem/index.md +++ b/content/zh-cn/docs/medicine/estrogen/estrofem/index.md @@ -21,7 +21,7 @@ Estrofem 是雌二醇片,不同于[补佳乐(戊酸雌二醇)]({{< ref "pr - 厂商:诺和诺德 (Novo Nordisk)(丹麦) - 常见版本:土耳其文包装、英文包装 - 规格: -{{< csv-table header=true >}} +{{< csv-table >}} 规格,外观 2mg × 28 片/盒,蓝色薄膜包衣片 一面写有 NOVO 280 字样 1mg × 28 片/盒,红色薄膜包衣片 一面写有 NOVO 282 字样 diff --git a/content/zh-cn/docs/medicine/estrogen/progynova/index.md b/content/zh-cn/docs/medicine/estrogen/progynova/index.md index 4d9b68e9..da97789a 100644 --- a/content/zh-cn/docs/medicine/estrogen/progynova/index.md +++ b/content/zh-cn/docs/medicine/estrogen/progynova/index.md @@ -23,7 +23,7 @@ libraries: [katex, mhchem] - 批准文号(中国版): [国药准字 J20171038](https://www.nmpa.gov.cn/datasearch/search-info.html?nmpa=aWQ9MjM4MCZpdGVtSWQ9ZmY4MDgwODE3YzgzMTJjNDAxN2M5YzU5MjI0ZTA0NWQ=) - 厂商:拜耳 - 常见规格: -{{< csv-table header=true >}} +{{< csv-table >}} 版本,规格,外观 中国包装(国补),1mg × 21 片/盒,黄色糖衣片 泰国包装(泰补),2mg × 28 片 × 3 板/盒,蓝色糖衣片 diff --git a/content/zh-cn/docs/psyco/beijing/cong-zhong/index.md b/content/zh-cn/docs/psyco/beijing/cong-zhong/index.md index 03555955..0d3e4942 100644 --- a/content/zh-cn/docs/psyco/beijing/cong-zhong/index.md +++ b/content/zh-cn/docs/psyco/beijing/cong-zhong/index.md @@ -66,7 +66,7 @@ weight: 1 ## 出诊时刻表 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,价格 周三,下午 12:30~15:00,精神科(特需门诊),100 元 {{< /csv-table >}} diff --git a/content/zh-cn/docs/psyco/beijing/di-xiaolan/index.md b/content/zh-cn/docs/psyco/beijing/di-xiaolan/index.md index 8c598782..ba3e9add 100644 --- a/content/zh-cn/docs/psyco/beijing/di-xiaolan/index.md +++ b/content/zh-cn/docs/psyco/beijing/di-xiaolan/index.md @@ -68,7 +68,7 @@ weight: 2 ## 出诊时刻表 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,价格 周四,上午,两性心理门诊,100 元 周四,下午,普通精神病/抑郁症门诊,100 元 diff --git a/content/zh-cn/docs/psyco/beijing/hao-shuwei.md b/content/zh-cn/docs/psyco/beijing/hao-shuwei.md index ebe466fa..6f51a41b 100644 --- a/content/zh-cn/docs/psyco/beijing/hao-shuwei.md +++ b/content/zh-cn/docs/psyco/beijing/hao-shuwei.md @@ -29,7 +29,7 @@ weight: 2 ## 出诊时刻表 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,价格 周五,上午,心理咨询门诊,60 元 周六,上午,心理咨询门诊(特需),500 元 diff --git a/content/zh-cn/docs/psyco/beijing/niu-yajuan/index.md b/content/zh-cn/docs/psyco/beijing/niu-yajuan/index.md index 9812b887..4b465c1c 100644 --- a/content/zh-cn/docs/psyco/beijing/niu-yajuan/index.md +++ b/content/zh-cn/docs/psyco/beijing/niu-yajuan/index.md @@ -93,7 +93,7 @@ Ps:编者贴出检查报告的原因是为了证明牛老师那里其实心理 ## 出诊时刻表 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,价格 周一,上午,抑郁症专家门诊,100 元 周三,上午,两性心理专家门诊(首选),100 元 diff --git a/content/zh-cn/docs/psyco/beijing/tang-hongyu.md b/content/zh-cn/docs/psyco/beijing/tang-hongyu.md index 16f1f65e..717a19fc 100644 --- a/content/zh-cn/docs/psyco/beijing/tang-hongyu.md +++ b/content/zh-cn/docs/psyco/beijing/tang-hongyu.md @@ -19,7 +19,7 @@ weight: 2 ## 出诊时刻表 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,价格 周一,上午,精神科(特需门诊),100 元 周四,全天,精神科(特需门诊),100 元 diff --git a/content/zh-cn/docs/psyco/midsouth/guo-ming/index.md b/content/zh-cn/docs/psyco/midsouth/guo-ming/index.md index cea742c4..dcca845a 100644 --- a/content/zh-cn/docs/psyco/midsouth/guo-ming/index.md +++ b/content/zh-cn/docs/psyco/midsouth/guo-ming/index.md @@ -35,7 +35,7 @@ weight: 1 ## 出诊时刻表 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,价格 周一,上午 8:00-11:52,心身医学科,25 元 周二,上午 8:00-11:52、下午 14:10-17:10,心身医学科,25 元 diff --git a/content/zh-cn/docs/psyco/pearl/jia-yanbin/index.md b/content/zh-cn/docs/psyco/pearl/jia-yanbin/index.md index 2b784387..131d684c 100644 --- a/content/zh-cn/docs/psyco/pearl/jia-yanbin/index.md +++ b/content/zh-cn/docs/psyco/pearl/jia-yanbin/index.md @@ -13,7 +13,7 @@ weight: 1 ## 出诊时刻 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,挂号费 星期二,下午,精神医学科门诊(特需),300 元 星期三,上午,精神医学科门诊(特需),300 元 diff --git a/content/zh-cn/docs/psyco/shandong/cao-bingyu/index.md b/content/zh-cn/docs/psyco/shandong/cao-bingyu/index.md index 80763753..815de669 100644 --- a/content/zh-cn/docs/psyco/shandong/cao-bingyu/index.md +++ b/content/zh-cn/docs/psyco/shandong/cao-bingyu/index.md @@ -34,7 +34,7 @@ weight: 12 ## 出诊时间表 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,价格 周四,上午,专家门诊,28 元 周五,下午,专家门诊,28 元 diff --git a/content/zh-cn/docs/psyco/shandong/gao-jin/index.md b/content/zh-cn/docs/psyco/shandong/gao-jin/index.md index 41204465..9c7f86dc 100644 --- a/content/zh-cn/docs/psyco/shandong/gao-jin/index.md +++ b/content/zh-cn/docs/psyco/shandong/gao-jin/index.md @@ -35,7 +35,7 @@ weight: 12 ## 出诊时间表 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,价格 周一,上午,心理科专家门诊,19 元 周二,上午,心理科专家门诊,19 元 diff --git a/content/zh-cn/docs/psyco/shandong/hu-lei/index.md b/content/zh-cn/docs/psyco/shandong/hu-lei/index.md index 89510858..0358b897 100644 --- a/content/zh-cn/docs/psyco/shandong/hu-lei/index.md +++ b/content/zh-cn/docs/psyco/shandong/hu-lei/index.md @@ -32,7 +32,7 @@ weight: 10 ## 出诊时间表 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,价格 周一,下午,心理咨询与治疗门诊,28+500 元 周二,上午,知名专家门诊,300 元 diff --git a/content/zh-cn/docs/psyco/shandong/huang-yuanyuan/index.md b/content/zh-cn/docs/psyco/shandong/huang-yuanyuan/index.md index 5dfff934..c35f0842 100644 --- a/content/zh-cn/docs/psyco/shandong/huang-yuanyuan/index.md +++ b/content/zh-cn/docs/psyco/shandong/huang-yuanyuan/index.md @@ -36,7 +36,7 @@ weight: 11 ## 出诊时间表 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,价格 周日,上午,心理咨询与治疗门诊,6+300 元 {{< /csv-table >}} diff --git a/content/zh-cn/docs/psyco/shandong/qi-sufang/index.md b/content/zh-cn/docs/psyco/shandong/qi-sufang/index.md index 5c0dfdd3..3eb9c9b1 100644 --- a/content/zh-cn/docs/psyco/shandong/qi-sufang/index.md +++ b/content/zh-cn/docs/psyco/shandong/qi-sufang/index.md @@ -33,7 +33,7 @@ weight: 10 ## 出诊时间表 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,价格 周二,上午,专家门诊,18 元 周三,下午,心理咨询与治疗门诊,18 元 diff --git a/content/zh-cn/docs/psyco/shandong/zhang-jingxuan/index.md b/content/zh-cn/docs/psyco/shandong/zhang-jingxuan/index.md index 540cf683..9ffd2ab1 100644 --- a/content/zh-cn/docs/psyco/shandong/zhang-jingxuan/index.md +++ b/content/zh-cn/docs/psyco/shandong/zhang-jingxuan/index.md @@ -32,7 +32,7 @@ weight: 11 ## 出诊时间表 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,价格 周三,上午,心理咨询与治疗门诊,28+500 元 周四,上午,心理咨询与治疗门诊,28+500 元 diff --git a/content/zh-cn/docs/psyco/yangtze/cao-qiuyun/index.md b/content/zh-cn/docs/psyco/yangtze/cao-qiuyun/index.md index d28d37ce..2b2e6fee 100644 --- a/content/zh-cn/docs/psyco/yangtze/cao-qiuyun/index.md +++ b/content/zh-cn/docs/psyco/yangtze/cao-qiuyun/index.md @@ -61,14 +61,14 @@ Pass 会更好一些哦 ## 出诊时刻表 -{{< csv-table header=true caption="本部" >}} +{{< csv-table caption="本部" >}} 周次,时间,科室,价格 周一,下午,著名专家门诊,150 元 周二,上午,医学心理科专家,35 元 周三,上午,医学心理科专家,35 元 {{< /csv-table >}} -{{< csv-table header=true caption="江北院区" >}} +{{< csv-table caption="江北院区" >}} 周次,时间,科室,价格 周四,下午,著名专家门诊,150 元 {{< /csv-table >}} diff --git a/content/zh-cn/docs/psyco/yangtze/du-xiangdong/index.md b/content/zh-cn/docs/psyco/yangtze/du-xiangdong/index.md index 37c47813..a5b45696 100644 --- a/content/zh-cn/docs/psyco/yangtze/du-xiangdong/index.md +++ b/content/zh-cn/docs/psyco/yangtze/du-xiangdong/index.md @@ -26,7 +26,7 @@ weight: 3 ## 门诊时间 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,价格 周二,上午,专家门诊,35 元 周三,下午,心理咨询,约 150 元 diff --git a/content/zh-cn/docs/psyco/yangtze/huang-ying/index.md b/content/zh-cn/docs/psyco/yangtze/huang-ying/index.md index 81aca407..301fb029 100644 --- a/content/zh-cn/docs/psyco/yangtze/huang-ying/index.md +++ b/content/zh-cn/docs/psyco/yangtze/huang-ying/index.md @@ -22,7 +22,7 @@ weight: 6 ## 出诊时刻表 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室 周二,下午,早期干预科 周三,上午,早期干预科 diff --git a/content/zh-cn/docs/psyco/yangtze/lu-zheng/index.md b/content/zh-cn/docs/psyco/yangtze/lu-zheng/index.md index cd8a38fa..46ccbaf0 100644 --- a/content/zh-cn/docs/psyco/yangtze/lu-zheng/index.md +++ b/content/zh-cn/docs/psyco/yangtze/lu-zheng/index.md @@ -53,7 +53,7 @@ weight: 4 ## 出诊时刻表 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,价格 周一,整日,心理咨询(特需 3),500 元 周四,上午,心理咨询(特需 3),500 元 @@ -61,7 +61,7 @@ weight: 4 [^1]: 类此此格式的表格 -{{< csv-table header=true >}} +{{< csv-table >}} ,维持性别,改变性别 有利点,...,... 不利点,...,... diff --git a/content/zh-cn/docs/psyco/yangtze/wang-biao/index.md b/content/zh-cn/docs/psyco/yangtze/wang-biao/index.md index aa42a00a..2c66edef 100644 --- a/content/zh-cn/docs/psyco/yangtze/wang-biao/index.md +++ b/content/zh-cn/docs/psyco/yangtze/wang-biao/index.md @@ -31,7 +31,7 @@ weight: 5 ## 出诊时刻表 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,价格 周一,上午,心理咨询(特需 1),300 元 周三,上午,精神科(特需 1),300 元 diff --git a/content/zh-cn/docs/psyco/yangtze/zhang-yi/index.md b/content/zh-cn/docs/psyco/yangtze/zhang-yi/index.md index b9d96056..c244b91d 100644 --- a/content/zh-cn/docs/psyco/yangtze/zhang-yi/index.md +++ b/content/zh-cn/docs/psyco/yangtze/zhang-yi/index.md @@ -27,7 +27,7 @@ weight: 4 ## 出诊时刻表 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,价格 周四,上午,精神科(特需 1),300 元 周日,上午,心理咨询(特需 1),300 元 diff --git a/content/zh-cn/docs/psyco/yangtze/zheng-tiansheng/index.md b/content/zh-cn/docs/psyco/yangtze/zheng-tiansheng/index.md index c96bd5a8..d6f2bb41 100644 --- a/content/zh-cn/docs/psyco/yangtze/zheng-tiansheng/index.md +++ b/content/zh-cn/docs/psyco/yangtze/zheng-tiansheng/index.md @@ -51,7 +51,7 @@ weight: 2 ### 康宁医院 -{{< csv-table header=true >}} +{{< csv-table >}} 周次,时间,科室,价格 周二,上午,睡眠障碍科 平诊,17 元 周四,全天,睡眠障碍科 平诊,17 元 diff --git a/content/zh-cn/docs/self-test.md b/content/zh-cn/docs/self-test.md index 5d04c0c7..f0c8ed40 100644 --- a/content/zh-cn/docs/self-test.md +++ b/content/zh-cn/docs/self-test.md @@ -22,7 +22,7 @@ weight: 0 按字母表排序 -{{< csv-table header=true >}} +{{< csv-table >}} 缩写代码,名称 ASLEC,青少年生活事件量表 DSQ,防御方式问卷 diff --git a/content/zh-cn/docs/unexplored.md b/content/zh-cn/docs/unexplored.md index f8d1d7ef..63bea54d 100644 --- a/content/zh-cn/docs/unexplored.md +++ b/content/zh-cn/docs/unexplored.md @@ -6,7 +6,7 @@ title: 未探索的列表 ### 精神科 -{{< csv-table header=true >}} +{{< csv-table >}} 省市,医院名称,科室,医生姓名,备注 上海市,上海市民政第三精神卫生中心,,刘群,科室未知 上海市,上海第十人民医院,精神心理科,诸秉根, @@ -44,7 +44,7 @@ title: 未探索的列表 ### HRT -{{< csv-table header=true >}} +{{< csv-table >}} 省市,医院名称,科室,医生姓名,备注 上海市,上海交通大学医学院附属新华医院,儿童内分泌遗传科,邱文娟, 上海市,上海交通大学医学院附属瑞金医院,内分泌科,孙首悦, @@ -60,7 +60,7 @@ title: 未探索的列表 ### SRS -{{< csv-table header=true >}} +{{< csv-table >}} 省市,医院名称,科室,医生姓名,备注 北京市,北京大学第三医院,整形外科,杨欣,伦理? 四川省成都市,四川大学华西医院,整形外科,, @@ -71,7 +71,7 @@ title: 未探索的列表 ### 嗓音 -{{< csv-table header=true >}} +{{< csv-table >}} 省市,医院名称,科室,医生姓名,备注 上海市,上海第九人民医院,整复外科,,声带手术 北京市,北京友谊医院,五官科,侯倩,嗓音训练 & 声带手术 @@ -87,7 +87,7 @@ title: 未探索的列表 ### 司法鉴定 -{{< csv-table header=true >}} +{{< csv-table >}} 省市,机构名称,医师姓名 上海市,上海妇幼保健院, 上海市,复旦大学上海医学院司法鉴定中心,周月琴 @@ -96,7 +96,7 @@ title: 未探索的列表 ### 公证处 -{{< csv-table header=true >}} +{{< csv-table >}} 省市,机构名称,公证员,备注 上海市,上海东方公证处,董雨婷, 上海市,上海东方公证处,吕臻卿,电话:180-1732-5320 diff --git a/content/zh-cn/docs/vocal-training/li-yanfei.md b/content/zh-cn/docs/vocal-training/li-yanfei.md index 136335a3..f952c61d 100644 --- a/content/zh-cn/docs/vocal-training/li-yanfei.md +++ b/content/zh-cn/docs/vocal-training/li-yanfei.md @@ -28,7 +28,7 @@ title: 广州南方医院|李衍菲 1. 普通号和专家号无区别,都是去找李衍生菲医生。 1. 嗓音训练可能需要多次面诊训练。 1. 价格见下表。 -{{< csv-table header=true >}} +{{< csv-table >}} 项目,价格/元 挂号费(普通),10 挂号费(专家),30 diff --git a/layouts/shortcodes/csv-table.html b/layouts/shortcodes/csv-table.html index dfbe4d82..1c7af944 100644 --- a/layouts/shortcodes/csv-table.html +++ b/layouts/shortcodes/csv-table.html @@ -1,16 +1,15 @@ {{ $caption := .Get "caption" }} -{{ $useHeaderRow := .Get "header" }} +{{ $useHeaderRow := .Get "header" | default true }} {{ $rows := .Inner | transform.Unmarshal }} -{{ with $caption }}{{ end }} -{{- if $useHeaderRow -}} -{{ $headerRow := index $rows 0 -}} +{{ with $caption }}{{ end }} +{{ if $useHeaderRow -}} {{- $rows = after 1 $rows -}} -{{ range $headerRow }}{{ end }} +{{ range (index $rows 0) }}{{ end }} {{ end -}} {{ range $rows -}} -{{ range . }}{{ end }} +{{ range . }}{{ end }} {{ end -}}
{{ . }}{{- . -}}
{{ . }}
{{- . -}}
{{ . }}
{{- . -}}