Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mmrath/hugo-bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurali Mohan Rath <mmrath@gmail.com>2015-11-01 09:59:07 +0300
committerMurali Mohan Rath <mmrath@gmail.com>2015-11-01 09:59:07 +0300
commit002a51ef5e1579a1a4416a1c90fa9ecc672493d4 (patch)
tree069c526b3fa997e8fdb97e7a53744992bed20308
parentc18d4421139318657ea1e553f0e1d4f3df1e75b3 (diff)
fix tables
-rw-r--r--layouts/partials/base/scripts.html1
-rw-r--r--static/js/site.js5
2 files changed, 6 insertions, 0 deletions
diff --git a/layouts/partials/base/scripts.html b/layouts/partials/base/scripts.html
index af28f17..25ea3fb 100644
--- a/layouts/partials/base/scripts.html
+++ b/layouts/partials/base/scripts.html
@@ -18,6 +18,7 @@
{{ end }}
<script src="{{ "/js/highlight.pack.js" | absURL }}"></script>
+<script src="{{ "/js/site.js" | absURL }}"></script>
<script>hljs.initHighlightingOnLoad();</script>
{{ with .Site.Params.googleAnalytics }}
diff --git a/static/js/site.js b/static/js/site.js
new file mode 100644
index 0000000..1324668
--- /dev/null
+++ b/static/js/site.js
@@ -0,0 +1,5 @@
+$(
+ function(){
+ $("table").addClass("table table-condensed table-bordered table-striped");
+ }
+);