Merge branch 'master' of ssh://git.paulbsd.com:2222/paulbsd/website
This commit is contained in:
commit
bb992fd19f
@ -1,5 +1,5 @@
|
||||
baseurl = "//www.paulbsd.com/"
|
||||
languageCode = "en-us"
|
||||
languageCode = "en-gb"
|
||||
title = "PaulBSD website"
|
||||
googleAnalytics = ""
|
||||
paginate = 10
|
||||
|
@ -5,7 +5,7 @@
|
||||
<div class="outer">
|
||||
{{ partial "single_article" . }}
|
||||
{{ partial "sidebar" . }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ partial "footer" . }}
|
||||
|
@ -4,11 +4,11 @@
|
||||
<div id="container">
|
||||
<div class="outer">
|
||||
|
||||
<div id="cal-heatmap"></div>
|
||||
<div id="cal-heatmap"></div>
|
||||
<div id="example-heatmap"></div>
|
||||
<script type="text/javascript">
|
||||
var cal = new CalHeatMap();
|
||||
cal.init({
|
||||
cal.init({
|
||||
itemSelector: "#example-heatmap",
|
||||
domain: "week",
|
||||
subDomain: "hour",
|
||||
@ -20,7 +20,7 @@
|
||||
nextSelector: "#example-c-NextDomain-selector",
|
||||
legend: [2, 4, 6, 8],
|
||||
tooltip: true
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<div id="blog-archives" class="category">
|
||||
{{ .Content }}
|
||||
|
@ -1,22 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
|
||||
{{ partial "head" . }}
|
||||
|
||||
<body>
|
||||
{{ partial "head" . }}
|
||||
<body>
|
||||
<div class="container">
|
||||
<div id="container">
|
||||
{{ partial "header" . }}
|
||||
|
||||
<!--{{ partial "home" . }}-->
|
||||
<div class="outer">
|
||||
|
||||
{{ partial "article_list" . }}
|
||||
{{ partial "sidebar" . }}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "footer" . }}
|
||||
</body>
|
||||
|
||||
</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>
|
@ -16,7 +16,7 @@
|
||||
</script>
|
||||
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
|
||||
<!--
|
||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
|
||||
-->
|
||||
<script type="text/javascript" src="https://raw.githubusercontent.com/jeresig/jquery.hotkeys/master/jquery.hotkeys.js">
|
||||
</script>
|
||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
|
||||
-->
|
||||
<script type="text/javascript" src="https://raw.githubusercontent.com/jeresig/jquery.hotkeys/master/jquery.hotkeys.js">
|
||||
</script>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<li>
|
||||
<a href="https://git.paulbsd.com/">
|
||||
<a href="https://git.paulbsd.com/paulbsd">
|
||||
<i class="fa fa-git" aria-hidden="true"></i>
|
||||
</a>
|
||||
</li>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<form class="navbar-form navbar-left" role="search" action="#" method="get">
|
||||
<form class="navbar-form navbar-left" role="search" action="#" method="get">
|
||||
<input type="hidden" value="syui.gitlab.io">
|
||||
<div class="form-group">
|
||||
<input type="text" class="form-control" placeholder="" name="q">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
|
||||
</form>
|
||||
</form>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div class="navbar-header">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
|
||||
data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
@ -11,4 +11,4 @@
|
||||
<span id="title">PaulBSD</span>
|
||||
</a>
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -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