small fixes on website
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paul 2023-09-14 16:05:41 +02:00
parent a9b0f33d9a
commit cd66212131
2 changed files with 4 additions and 15 deletions

View File

@ -1,24 +1,14 @@
<footer id="footer"> <footer id="footer">
<div class="outer"> <div class="outer">
<div id="footer-info" class="inner"> <div id="footer-info" class="inner">
<footer id="footer-left"> <footer id="footer-left">
&copy; {{ now.Format "2006" }} <a href="https://git.paulbsd.com/paulbsd">paulbsd</a>. <br> &copy; {{ now.Format "2006" }} <a href="https://git.paulbsd.com/paulbsd">paulbsd</a>. <br>
{{ with .Site.Params.copyright }}{{ . | markdownify}}{{ end }} {{ with .Site.Params.copyright }}{{ . | markdownify}}{{ end }}
</footer> </footer>
<footer id="footer-right">Your IP address : <a id="dip" target="_blank"></a></footer> <footer id="footer-right">Your IP address: <a id="dip" target="_blank"></a></footer>
</div> </div>
</div> </div>
<script src="{{ .Site.BaseURL }}/js/main.js"> <script src="{{ .Site.BaseURL }}/js/main.js"></script>
</script> <script src="{{ .Site.BaseURL }}/bower_components/jquery/dist/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"> <script type="text/javascript" src="{{ .Site.BaseURL }}/bower_components/jquery.hotkeys/jquery.hotkeys.js"></script>
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.8.0/highlight.min.js">
</script>
<script>
hljs.initHighlightingOnLoad();
</script>
<script type="text/javascript"
src="https://raw.githubusercontent.com/jeresig/jquery.hotkeys/master/jquery.hotkeys.js">
</script>
</footer> </footer>

View File

@ -8,7 +8,6 @@ function initLunr() {
$.getJSON("/bower_components/lunr.js/PagesIndex.json") $.getJSON("/bower_components/lunr.js/PagesIndex.json")
.done(function(index) { .done(function(index) {
pagesIndex = index; pagesIndex = index;
console.log("index:", pagesIndex);
// Set up lunrjs by declaring the fields we use // Set up lunrjs by declaring the fields we use
// Also provide their boost level for the ranking // Also provide their boost level for the ranking