updated website
This commit is contained in:
parent
bfedf05f7d
commit
e1df0be3d8
@ -1,5 +1,5 @@
|
||||
baseurl = "//www.paulbsd.com/"
|
||||
languageCode = "en-us"
|
||||
languageCode = "en-gb"
|
||||
title = "PaulBSD website"
|
||||
googleAnalytics = ""
|
||||
paginate = 10
|
||||
|
@ -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>
|
@ -5,7 +5,7 @@
|
||||
© {{ 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>
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user