updated website

This commit is contained in:
Paul 2020-02-09 11:50:54 +01:00
parent bfedf05f7d
commit e1df0be3d8
4 changed files with 21 additions and 23 deletions

View File

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

View File

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

View File

@ -5,7 +5,7 @@
&copy; {{ now.Format "2006" }} <a href="https://git.paulbsd.com/paulbsd">paulbsd</a>. <br>
{{ with .Site.Params.copyright }}{{ . | markdownify}}{{ end }}
</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>
</footer>

View File

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