Skip to content

Commit

Permalink
Include datatables without external dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
learn-more committed Dec 13, 2023
1 parent f6828b8 commit b47b95f
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ indent_style = space
indent_size = 4
end_of_line = lf

[*.html]
[*.{html,toml}]
end_of_line = crlf


Expand Down
6 changes: 2 additions & 4 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ theme = "kraiklyn-multipage"
pygmentsCodeFences = true
pygmentsStyle = "monokailight"

disableKinds = ["taxonomy", "taxonomyTerm"]

[params]
sidebarColor = "default"
externalTitle = "links"
customCss = ["css/kraiklyn-override.css"]

#[outputs]
#, "SEARCH"
#home = ["HTML", "RSS"]

[[menu.shortcuts]]
name = "apisets on Github"
url = "https://github.com/learn-more/apisets"
Expand Down
5 changes: 2 additions & 3 deletions layouts/shortcodes/apisetschema_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@
{{/* Remove duplicates and sort them */}}
{{ $all_apisets = $all_apisets | uniq | sort }}

<link rel="stylesheet" href="https://cdn.datatables.net/1.13.7/css/jquery.dataTables.css" />
<script src="https://code.jquery.com/jquery-3.7.0.js"></script>
<script src="https://cdn.datatables.net/1.13.7/js/jquery.dataTables.js"></script>
<link rel="stylesheet" href="{{ "/css/datatables.min.css" | absURL }}">
<script src="{{ "/js/datatables.min.js" | absURL }}"></script>

<br />

Expand Down
Loading

0 comments on commit b47b95f

Please sign in to comment.