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/" 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

@ -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;
} }