Merge branch 'master' of ssh://git.paulbsd.com:2222/paulbsd/website

This commit is contained in:
Paul 2020-02-09 14:49:58 +01:00
commit bb992fd19f
24 changed files with 228 additions and 230 deletions

View File

@ -1,5 +1,5 @@
baseurl = "//www.paulbsd.com/" baseurl = "//www.paulbsd.com/"
languageCode = "en-us" languageCode = "en-gb"
title = "PaulBSD website" title = "PaulBSD website"
googleAnalytics = "" googleAnalytics = ""
paginate = 10 paginate = 10

View File

@ -1,22 +1,17 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}"> <html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
{{ partial "head" . }} {{ partial "head" . }}
<body> <body>
<div class="container"> <div class="container">
<div id="container"> <div id="container">
{{ partial "header" . }} {{ partial "header" . }}
<!--{{ partial "home" . }}--> <!--{{ partial "home" . }}-->
<div class="outer"> <div class="outer">
{{ partial "article_list" . }} {{ partial "article_list" . }}
{{ partial "sidebar" . }} {{ partial "sidebar" . }}
</div> </div>
</div> </div>
</div> </div>
{{ partial "footer" . }} {{ partial "footer" . }}
</body> </body>
</html> </html>

View File

@ -5,7 +5,7 @@
&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"> <a href="">Reference</a><a href="">Command</a></footer> <footer id="footer-right"> <a href="">Reference</a><a href="">Command</a><a id="dip"></a></footer>
</div> </div>
</div> </div>
</footer> </footer>

View File

@ -1,5 +1,5 @@
<li> <li>
<a href="https://git.paulbsd.com/"> <a href="https://git.paulbsd.com/paulbsd">
<i class="fa fa-git" aria-hidden="true"></i> <i class="fa fa-git" aria-hidden="true"></i>
</a> </a>
</li> </li>

View File

@ -10,7 +10,10 @@ function main() {
'Accept': 'application/json', 'Accept': 'application/json',
}, },
dataType: 'json', dataType: 'json',
}).done(function(data){ console.log(transformIPInfo(data)) }); }).done(function(data) {
var dip = $('#dip');
dip[0].text = data.ip;
});
return jqxhr; return jqxhr;
} }