updated website
This commit is contained in:
parent
bfedf05f7d
commit
e1df0be3d8
@ -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
|
||||||
|
@ -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" . }}-->
|
||||||
|
<div class="outer">
|
||||||
<!--{{ partial "home" . }}-->
|
{{ partial "article_list" . }}
|
||||||
<div class="outer">
|
{{ partial "sidebar" . }}
|
||||||
|
</div>
|
||||||
{{ partial "article_list" . }}
|
|
||||||
{{ partial "sidebar" . }}
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{{ partial "footer" . }}
|
||||||
{{ partial "footer" . }}
|
</body>
|
||||||
</body>
|
</html>
|
||||||
|
|
||||||
</html>
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
© {{ now.Format "2006" }} <a href="https://git.paulbsd.com/paulbsd">paulbsd</a>. <br>
|
© {{ 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>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// dip service
|
// dip service
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
var jqxhr =
|
var jqxhr =
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
url: "https://ip.paulbsd.com",
|
url: "https://ip.paulbsd.com",
|
||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user