Adding upstream version 5.2.3+dfsg.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
b80f12a01d
commit
bc475d7d0d
617 changed files with 89471 additions and 0 deletions
9
site/layouts/shortcodes/bs-table.html
Normal file
9
site/layouts/shortcodes/bs-table.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
{{- /*
|
||||
Usage: `bs-table "class class-foo"`, where class can be any string
|
||||
*/ -}}
|
||||
|
||||
{{- $css_class := .Get 0 | default "table" -}}
|
||||
{{- $html_table := .Inner | markdownify -}}
|
||||
{{- $html_table = replace $html_table "<table>" (printf `<div class="table-responsive"><table class="%s">` $css_class) -}}
|
||||
{{- $html_table = replace $html_table "</table>" "</table></div>" -}}
|
||||
{{- $html_table | safeHTML -}}
|
Loading…
Add table
Add a link
Reference in a new issue