42 lines
1.3 KiB
HTML
42 lines
1.3 KiB
HTML
<div class="container-xxl">
|
|
<footer>
|
|
<nav class="navbar fixed-bottom navbar-expand-lg bg-dark mt-auto py-3">
|
|
<div class="text-muted container-xl">Last Update : {{ dateFormat "2006-01-02 15:04 MST" now.Local }}</div>
|
|
</nav>
|
|
</footer>
|
|
</div>
|
|
{{ partialCached "bootstrap-js.html" . }}
|
|
{{ if (findRE "<code" .Content 1) }} {{ $jsCopy :=resources.Get "copycode.js" | minify }}
|
|
<script src="{{ $jsCopy.RelPermalink }}"></script>
|
|
{{ end }}
|
|
|
|
{{ if site.Params.search }}
|
|
{{ $searchJs := resources.Get "search.js"
|
|
| resources.ExecuteAsTemplate "search.js" .
|
|
| fingerprint
|
|
}}
|
|
<script src="{{ $searchJs.RelPermalink }}"></script>
|
|
<script>
|
|
$(document).ready(function () {
|
|
|
|
// Show the Modal on load
|
|
$("#searchBtn").click(function () {
|
|
$("#searchModal").modal("show");
|
|
});
|
|
|
|
// Hide the Modal
|
|
$("#hideBtn").click(function () {
|
|
$("#searchModal").modal("hide");
|
|
});
|
|
// Show the Modal on pressing enter
|
|
$("#search").keypress(function (event) {
|
|
var keycode = (event.keyCode ? event.keyCode : event.which);
|
|
if (keycode == '13') {
|
|
$("#searchBtn").click();
|
|
event.preventDefault();
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
{{ end }}
|
|
{{ partial "google-analytics-async.html" . }} |