first commit

This commit is contained in:
Sherrysnowrocks 2025-04-23 16:33:46 +08:00
commit 5c8839aee0
79 changed files with 30887 additions and 0 deletions

333
404.html Normal file
View File

@ -0,0 +1,333 @@
<!DOCTYPE html>
<html lang="en-us">
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:site_name" content="Huabing Blog">
<meta property="og:type" content="article">
<meta property="og:image" content="http://localhost:1313//">
<meta property="twitter:image" content="http://localhost:1313//" />
<meta name="title" content="" />
<meta property="og:title" content="" />
<meta property="twitter:title" content="" />
<meta name="description" content="">
<meta property="og:description" content="" />
<meta property="twitter:description" content="" />
<meta property="twitter:card" content="summary" />
<meta name="keyword" content="">
<link rel="shortcut icon" href="/img/favicon.ico">
<title>404 Page not found | </title>
<link rel="canonical" href="/404.html">
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/hugo-theme-cleanwhite.min.css">
<link rel="stylesheet" href="/css/zanshang.css">
<link rel="stylesheet" href="/css/font-awesome.all.min.css">
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/hux-blog.min.js"></script>
<script src="/js/lazysizes.min.js"></script>
</head>
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Huabing Blog</a>
</div>
<div id="huxblog_navbar">
<div class="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="/">All Posts</a>
</li>
<li>
<a href="/categories/tech/">tech</a>
</li>
<li>
<a href="/search"><i class="fa fa-search"></i></a>
</li>
</ul>
</div>
</div>
</div>
</nav>
<script>
var $body = document.body;
var $toggle = document.querySelector('.navbar-toggle');
var $navbar = document.querySelector('#huxblog_navbar');
var $collapse = document.querySelector('.navbar-collapse');
$toggle.addEventListener('click', handleMagic)
function handleMagic(e){
if ($navbar.className.indexOf('in') > 0) {
$navbar.className = " ";
setTimeout(function(){
if($navbar.className.indexOf('in') < 0) {
$collapse.style.height = "0px"
}
},400)
}else{
$collapse.style.height = "auto"
$navbar.className += " in";
}
}
</script>
<header class="intro-header" style="background-image: url('/')">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 ">
<div class="site-heading">
<h1>Huabing Blog </h1>
<span class="subheading"></span>
</div>
</div>
</div>
</div>
</header>
<header class="intro-header" style="background-image: url('/')">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="site-heading" id="tag-heading">
<h1>404</h1>
<span class="subheading"></span>
</div>
</div>
</div>
</div>
</header>
<script>
document.body.classList.add('page-fullscreen');
</script>
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center">
</ul>
<p class="copyright text-muted">
Copyright &copy; Huabing Blog 2025
</p>
</div>
</div>
</div>
</footer>
<script>
function loadAsync(u, c) {
var d = document, t = 'script',
o = d.createElement(t),
s = d.getElementsByTagName(t)[0];
o.src = u;
if (c) { o.addEventListener('load', function (e) { c(null, e); }, false); }
s.parentNode.insertBefore(o, s);
}
</script>
<script>
if($('#tag_cloud').length !== 0){
loadAsync("/js/jquery.tagcloud.js",function(){
$.fn.tagcloud.defaults = {
color: {start: '#bbbbee', end: '#0085a1'},
};
$('#tag_cloud a').tagcloud();
})
}
</script>
<script>
loadAsync("https://cdn.jsdelivr.net/npm/fastclick@1.0.6/lib/fastclick.min.js", function(){
var $nav = document.querySelector("nav");
if($nav) FastClick.attach($nav);
})
</script>
<script type="text/javascript">
function generateCatalog(selector) {
_containerSelector = 'div.post-container'
var P = $(_containerSelector), a, n, t, l, i, c;
a = P.find('h1,h2,h3,h4,h5,h6');
$(selector).html('')
a.each(function () {
n = $(this).prop('tagName').toLowerCase();
i = "#" + $(this).prop('id');
t = $(this).text();
c = $('<a href="' + i + '" rel="nofollow" title="' + t + '">' + t + '</a>');
l = $('<li class="' + n + '_nav"></li>').append(c);
$(selector).append(l);
});
return true;
}
generateCatalog(".catalog-body");
$(".catalog-toggle").click((function (e) {
e.preventDefault();
$('.side-catalog').toggleClass("fold")
}))
loadAsync("\/js\/jquery.nav.js", function () {
$('.catalog-body').onePageNav({
currentClass: "active",
changeHash: !1,
easing: "swing",
filter: "",
scrollSpeed: 700,
scrollOffset: 0,
scrollThreshold: .2,
begin: null,
end: null,
scrollChange: null,
padding: 80
});
});
</script>
</body>
</html>

350
categories/index.html Normal file
View File

@ -0,0 +1,350 @@
<!DOCTYPE html>
<html lang="en-us">
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:site_name" content="Huabing Blog">
<meta property="og:type" content="article">
<meta property="og:image" content="http://localhost:1313//">
<meta property="twitter:image" content="http://localhost:1313//" />
<meta name="title" content="" />
<meta property="og:title" content="" />
<meta property="twitter:title" content="" />
<meta name="description" content="">
<meta property="og:description" content="" />
<meta property="twitter:description" content="" />
<meta property="twitter:card" content="summary" />
<meta name="keyword" content="">
<link rel="shortcut icon" href="/img/favicon.ico">
<title>Categories | </title>
<link rel="canonical" href="/categories/">
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/hugo-theme-cleanwhite.min.css">
<link rel="stylesheet" href="/css/zanshang.css">
<link rel="stylesheet" href="/css/font-awesome.all.min.css">
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/hux-blog.min.js"></script>
<script src="/js/lazysizes.min.js"></script>
</head>
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Huabing Blog</a>
</div>
<div id="huxblog_navbar">
<div class="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="/">All Posts</a>
</li>
<li>
<a href="/categories/tech/">tech</a>
</li>
<li>
<a href="/search"><i class="fa fa-search"></i></a>
</li>
</ul>
</div>
</div>
</div>
</nav>
<script>
var $body = document.body;
var $toggle = document.querySelector('.navbar-toggle');
var $navbar = document.querySelector('#huxblog_navbar');
var $collapse = document.querySelector('.navbar-collapse');
$toggle.addEventListener('click', handleMagic)
function handleMagic(e){
if ($navbar.className.indexOf('in') > 0) {
$navbar.className = " ";
setTimeout(function(){
if($navbar.className.indexOf('in') < 0) {
$collapse.style.height = "0px"
}
},400)
}else{
$collapse.style.height = "auto"
$navbar.className += " in";
}
}
</script>
<header class="intro-header" style="background-image: url('/')">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 ">
<div class="site-heading">
<h1>Huabing Blog </h1>
<span class="subheading"></span>
</div>
</div>
</div>
</div>
</header>
<article>
<div class="container">
<div class="row">
<div class="
col-lg-8 col-lg-offset-2
col-md-10 col-md-offset-1
post-container">
</div>
<div class="
col-lg-8 col-lg-offset-2
col-md-10 col-md-offset-1
sidebar-container">
</div>
</div>
</div>
</article>
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center">
</ul>
<p class="copyright text-muted">
Copyright &copy; Huabing Blog 2025
</p>
</div>
</div>
</div>
</footer>
<script>
function loadAsync(u, c) {
var d = document, t = 'script',
o = d.createElement(t),
s = d.getElementsByTagName(t)[0];
o.src = u;
if (c) { o.addEventListener('load', function (e) { c(null, e); }, false); }
s.parentNode.insertBefore(o, s);
}
</script>
<script>
if($('#tag_cloud').length !== 0){
loadAsync("/js/jquery.tagcloud.js",function(){
$.fn.tagcloud.defaults = {
color: {start: '#bbbbee', end: '#0085a1'},
};
$('#tag_cloud a').tagcloud();
})
}
</script>
<script>
loadAsync("https://cdn.jsdelivr.net/npm/fastclick@1.0.6/lib/fastclick.min.js", function(){
var $nav = document.querySelector("nav");
if($nav) FastClick.attach($nav);
})
</script>
<script type="text/javascript">
function generateCatalog(selector) {
_containerSelector = 'div.post-container'
var P = $(_containerSelector), a, n, t, l, i, c;
a = P.find('h1,h2,h3,h4,h5,h6');
$(selector).html('')
a.each(function () {
n = $(this).prop('tagName').toLowerCase();
i = "#" + $(this).prop('id');
t = $(this).text();
c = $('<a href="' + i + '" rel="nofollow" title="' + t + '">' + t + '</a>');
l = $('<li class="' + n + '_nav"></li>').append(c);
$(selector).append(l);
});
return true;
}
generateCatalog(".catalog-body");
$(".catalog-toggle").click((function (e) {
e.preventDefault();
$('.side-catalog').toggleClass("fold")
}))
loadAsync("\/js\/jquery.nav.js", function () {
$('.catalog-body').onePageNav({
currentClass: "active",
changeHash: !1,
easing: "swing",
filter: "",
scrollSpeed: 700,
scrollOffset: 0,
scrollThreshold: .2,
begin: null,
end: null,
scrollChange: null,
padding: 80
});
});
</script>
</body>
</html>

19
categories/index.xml Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on Huabing Blog</title>
<link>http://localhost:1313/categories/</link>
<description>Recent content in Categories on Huabing Blog</description>
<generator>Hugo</generator>
<language>en-us</language>
<lastBuildDate>Mon, 04 Jun 2018 00:00:00 +0000</lastBuildDate>
<atom:link href="http://localhost:1313/categories/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Tech</title>
<link>http://localhost:1313/categories/tech/</link>
<pubDate>Mon, 04 Jun 2018 00:00:00 +0000</pubDate>
<guid>http://localhost:1313/categories/tech/</guid>
<description></description>
</item>
</channel>
</rss>

386
categories/tech/index.html Normal file
View File

@ -0,0 +1,386 @@
<!DOCTYPE html>
<html lang="en-us">
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:site_name" content="Huabing Blog">
<meta property="og:type" content="article">
<meta property="og:image" content="http://localhost:1313//">
<meta property="twitter:image" content="http://localhost:1313//" />
<meta name="title" content="" />
<meta property="og:title" content="" />
<meta property="twitter:title" content="" />
<meta name="description" content="">
<meta property="og:description" content="" />
<meta property="twitter:description" content="" />
<meta property="twitter:card" content="summary" />
<meta name="keyword" content="">
<link rel="shortcut icon" href="/img/favicon.ico">
<title>Tech | </title>
<link rel="canonical" href="/categories/tech/">
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/hugo-theme-cleanwhite.min.css">
<link rel="stylesheet" href="/css/zanshang.css">
<link rel="stylesheet" href="/css/font-awesome.all.min.css">
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/hux-blog.min.js"></script>
<script src="/js/lazysizes.min.js"></script>
</head>
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Huabing Blog</a>
</div>
<div id="huxblog_navbar">
<div class="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="/">All Posts</a>
</li>
<li>
<a href="/categories/tech/">tech</a>
</li>
<li>
<a href="/search"><i class="fa fa-search"></i></a>
</li>
</ul>
</div>
</div>
</div>
</nav>
<script>
var $body = document.body;
var $toggle = document.querySelector('.navbar-toggle');
var $navbar = document.querySelector('#huxblog_navbar');
var $collapse = document.querySelector('.navbar-collapse');
$toggle.addEventListener('click', handleMagic)
function handleMagic(e){
if ($navbar.className.indexOf('in') > 0) {
$navbar.className = " ";
setTimeout(function(){
if($navbar.className.indexOf('in') < 0) {
$collapse.style.height = "0px"
}
},400)
}else{
$collapse.style.height = "auto"
$navbar.className += " in";
}
}
</script>
<header class="intro-header" style="background-image: url('/')">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 ">
<div class="site-heading">
<h1>Huabing Blog </h1>
<span class="subheading"></span>
</div>
</div>
</div>
</div>
</header>
<div data-pagefind-ignore="all" class="container">
<div class="row">
<div class="
col-lg-8 col-lg-offset-1
col-md-8 col-md-offset-1
col-sm-12
col-xs-12
post-container
">
<div data-pagefind-ignore="all">
<div class="post-preview">
<a href="http://localhost:1313/post/my-first-blog/">
<h2 class="post-title">
An Example Post
</h2>
<div class="post-content-preview">
</div>
</a>
<p class="post-meta">
Posted by     &#34;&#34; on Monday, June 4, 2018
</p>
</div>
<hr>
</div>
</div>
<div class="
col-lg-3 col-lg-offset-0
col-md-3 col-md-offset-0
col-sm-12
col-xs-12
sidebar-container
">
</div>
</div>
</div>
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center">
</ul>
<p class="copyright text-muted">
Copyright &copy; Huabing Blog 2025
</p>
</div>
</div>
</div>
</footer>
<script>
function loadAsync(u, c) {
var d = document, t = 'script',
o = d.createElement(t),
s = d.getElementsByTagName(t)[0];
o.src = u;
if (c) { o.addEventListener('load', function (e) { c(null, e); }, false); }
s.parentNode.insertBefore(o, s);
}
</script>
<script>
if($('#tag_cloud').length !== 0){
loadAsync("/js/jquery.tagcloud.js",function(){
$.fn.tagcloud.defaults = {
color: {start: '#bbbbee', end: '#0085a1'},
};
$('#tag_cloud a').tagcloud();
})
}
</script>
<script>
loadAsync("https://cdn.jsdelivr.net/npm/fastclick@1.0.6/lib/fastclick.min.js", function(){
var $nav = document.querySelector("nav");
if($nav) FastClick.attach($nav);
})
</script>
<script type="text/javascript">
function generateCatalog(selector) {
_containerSelector = 'div.post-container'
var P = $(_containerSelector), a, n, t, l, i, c;
a = P.find('h1,h2,h3,h4,h5,h6');
$(selector).html('')
a.each(function () {
n = $(this).prop('tagName').toLowerCase();
i = "#" + $(this).prop('id');
t = $(this).text();
c = $('<a href="' + i + '" rel="nofollow" title="' + t + '">' + t + '</a>');
l = $('<li class="' + n + '_nav"></li>').append(c);
$(selector).append(l);
});
return true;
}
generateCatalog(".catalog-body");
$(".catalog-toggle").click((function (e) {
e.preventDefault();
$('.side-catalog').toggleClass("fold")
}))
loadAsync("\/js\/jquery.nav.js", function () {
$('.catalog-body').onePageNav({
currentClass: "active",
changeHash: !1,
easing: "swing",
filter: "",
scrollSpeed: 700,
scrollOffset: 0,
scrollThreshold: .2,
begin: null,
end: null,
scrollChange: null,
padding: 80
});
});
</script>
</body>
</html>

19
categories/tech/index.xml Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tech on Huabing Blog</title>
<link>http://localhost:1313/categories/tech/</link>
<description>Recent content in Tech on Huabing Blog</description>
<generator>Hugo</generator>
<language>en-us</language>
<lastBuildDate>Mon, 04 Jun 2018 00:00:00 +0000</lastBuildDate>
<atom:link href="http://localhost:1313/categories/tech/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>An Example Post</title>
<link>http://localhost:1313/post/my-first-blog/</link>
<pubDate>Mon, 04 Jun 2018 00:00:00 +0000</pubDate>
<guid>http://localhost:1313/post/my-first-blog/</guid>
<description></description>
</item>
</channel>
</rss>

View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>http://localhost:1313/categories/tech/</title>
<link rel="canonical" href="http://localhost:1313/categories/tech/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=http://localhost:1313/categories/tech/">
</head>
</html>

8080
css/bootstrap.min.css vendored Normal file

File diff suppressed because it is too large Load Diff

2712
css/custom.css Normal file

File diff suppressed because it is too large Load Diff

5
css/font-awesome.all.min.css vendored Normal file

File diff suppressed because one or more lines are too long

BIN
css/fonts/FontAwesome.otf Normal file

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 377 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

159
css/hugo-easy-gallery.css Normal file
View File

@ -0,0 +1,159 @@
/*
Put this file in /static/css/hugo-easy-gallery.css
Documentation and licence at https://github.com/liwenyip/hugo-easy-gallery/
*/
/*
Grid Layout Styles
*/
.gallery {
overflow: hidden;
margin: 10px;
max-width: 768px;
}
.gallery .box {
float: left;
position: relative;
/* Default: 1 tile wide */
width: 100%;
padding-bottom: 100%;
}
@media only screen and (min-width : 365px) {
/* Tablet view: 2 tiles */
.gallery .box {
width: 50%;
padding-bottom: 50%;
}
}
@media only screen and (min-width : 480px) {
/* Small desktop / ipad view: 3 tiles */
.gallery .box {
width: 33.3%;
padding-bottom: 33.3%; /* */
}
}
@media only screen and (min-width : 9999px) {
/* Medium desktop: 4 tiles */
.box {
width: 25%;
padding-bottom: 25%;
}
}
/*
Transition styles
*/
.gallery.hover-transition figure,
.gallery.hover-effect-zoom .img,
.gallery:not(.caption-effect-appear) figcaption,
.fancy-figure:not(.caption-effect-appear) figcaption {
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}
/*
figure styles
*/
figure {
position:relative; /* purely to allow absolution positioning of figcaption */
overflow: hidden;
}
.gallery figure {
position: absolute;
left: 5px;
right: 5px;
top: 5px;
bottom: 5px;
}
.gallery.hover-effect-grow figure:hover {
transform: scale(1.05);
}
.gallery.hover-effect-shrink figure:hover {
transform: scale(0.95);
}
.gallery.hover-effect-slidedown figure:hover {
transform: translateY(5px);
}
.gallery.hover-effect-slideup figure:hover {
transform: translateY(-5px);
}
/*
img / a styles
*/
.gallery .img {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background-size: cover;
background-position: 50% 50%;
background-repeat: no-repeat;
}
.gallery.hover-effect-zoom figure:hover .img {
transform: scale(1.05);
}
.gallery img {
display: none; /* only show the img if not inside a gallery */
}
figure a {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
/*
figcaption styles
*/
.gallery figcaption,
.fancy-figure figcaption {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: #000;
color: #FFF;
text-align: center;
font-size: 75%; /* change this if you want bigger text */
background: rgba(0, 0, 0, 0.5);
opacity: 1;
cursor: pointer;
}
.gallery.caption-position-none figcaption,
.fancy-figure.caption-position-none figcaption {
display: none;
}
.gallery.caption-position-center figcaption,
.fancy-figure.caption-position-center figcaption {
top: 0;
padding: 40% 5px;
}
.gallery.caption-position-bottom figcaption,
.fancy-figure.caption-position-bottom figcaption {
padding: 5px;
}
.gallery.caption-effect-fade figure:not(:hover) figcaption,
.gallery.caption-effect-appear figure:not(:hover) figcaption,
.fancy-figure.caption-effect-fade figure:not(:hover) figcaption,
.fancy-figure.caption-effect-appear figure:not(:hover) figcaption {
background: rgba(0, 0, 0, 0);
opacity: 0;
}
.gallery.caption-effect-slide.caption-position-bottom figure:not(:hover) figcaption,
.fancy-figure.caption-effect-slide.caption-position-bottom figure:not(:hover) figcaption {
margin-bottom: -100%;
}
.gallery.caption-effect-slide.caption-position-center figure:not(:hover) figcaption,
.fancy-figure.caption-effect-slide.caption-position-center figure:not(:hover) figcaption {
top: 100%;
}
figcaption p {
margin: auto; /* override style in theme */
}

View File

@ -0,0 +1,992 @@
@media (min-width:1700px){
.container {
width: 1650px;
}
.sidebar-container .short-about .list-inline>li{
font-size:15px
}
}
@media (max-width:1700px){
.sidebar-container .short-about .list-inline>li{
font-size:13px
}
}
@media (min-width:1200px){
.post-container,.sidebar-container{
padding-right:5%
}
}
@media (min-width:768px){
.post-container,.sidebar-container{
padding-right:5%
}
}
.sidebar-container{
color:#bfbfbf;
font-size:15px
}
.sidebar-container h5{
color:gray;
padding-bottom:1em
}
.sidebar-container h5 a{
color:gray!important;
text-decoration:none
}
.sidebar-container a{
color:#bfbfbf!important
}
.sidebar-container a:hover,.sidebar-container a:active{
color:#0085a1!important
}
.sidebar-container .tags a{
border-color:#bfbfbf
}
.sidebar-container .tags a:hover,.sidebar-container .tags a:active{
border-color:#0085a1
}
.sidebar-container .short-about img{
width:80%;
display:block;
border-radius:5px;
margin-bottom:20px
}
.sidebar-container .short-about p{
margin-top:0;
margin-bottom:20px
}
.sidebar-container .short-about .list-inline>li{
padding-left:0;
margin-right:-15px
}
body{
font-family:-apple-system,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB",STHeiti,"Microsoft YaHei","Microsoft JhengHei","Source Han Sans SC","Noto Sans CJK SC","Source Han Sans CN","Noto Sans SC","Source Han Sans TC","Noto Sans CJK TC","WenQuanYi Micro Hei",SimSun,sans-serif;
line-height:1.7;
font-size:17px;
color:#404040;
overflow-x:hidden
}
p{
margin:30px 0
}
h1,h2,h3,h4,h5,h6{
font-family:-apple-system,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB",STHeiti,"Microsoft YaHei","Microsoft JhengHei","Source Han Sans SC","Noto Sans CJK SC","Source Han Sans CN","Noto Sans SC","Source Han Sans TC","Noto Sans CJK TC","WenQuanYi Micro Hei",SimSun,sans-serif;
line-height:1.7;
line-height:1.1;
font-weight:700
}
h4{
font-size:21px
}
a{
color:#404040
}
a:hover,a:focus{
color:#0085a1
}
a img:hover,a img:focus{
cursor:zoom-in
}
article{
overflow:hidden;
}
blockquote{
color:gray;
font-style:italic;
font-size:.95em;
margin:20px 0 20px
}
blockquote p{
margin:0
}
small.img-hint{
display:block;
margin-top:-20px;
text-align:center
}
br+small.img-hint{
margin-top:-40px
}
img.shadow{
box-shadow:rgba(0,0,0,.258824) 0 2px 5px 0
}
@media screen and (max-width:768px){
select{
-webkit-appearance:none;
margin-top:15px;
color:#337ab7;
border-color:#337ab7;
padding:0 .4em;
background:#fff
}
}
.table th,.table td{
border:1px solid #eee!important
}
hr.small{
max-width:100px;
margin:15px auto;
border-width:4px;
border-color:#fff
}
pre,.table-responsive{
-webkit-overflow-scrolling:touch
}
pre code{
display:block;
width:auto;
white-space:pre;
word-wrap:normal
}
.post-container a{
color:#337ab7
}
.post-container a:hover,.post-container a:focus{
color:#0085a1
}
.post-container h1,.post-container h2,.post-container h3,.post-container h4,.post-container h5,.post-container h6{
margin:30px 0 10px
}
.post-container h5{
font-size:19px;
font-weight:600;
color:gray
}
.post-container h5+p{
margin-top:5px
}
.post-container h6{
font-size:17px;
font-weight:600;
color:gray
}
.post-container h6+p{
margin-top:5px
}
.post-container ul,.post-container ol{
margin-bottom:40px
}
@media screen and (max-width:768px){
.post-container ul,.post-container ol{
padding-left:30px
}
}
@media screen and (max-width:500px){
.post-container ul,.post-container ol{
padding-left:20px
}
}
.post-container ol ol,.post-container ol ul,.post-container ul ol,.post-container ul ul{
margin-bottom:5px
}
.post-container li p{
margin:0;
margin-bottom:5px
}
.post-container li h1,.post-container li h2,.post-container li h3,.post-container li h4,.post-container li h5,.post-container li h6{
line-height:2;
margin-top:20px
}
@media only screen and (max-width:767px){
.navbar-default .navbar-collapse{
max-height:600px;
border:none;
background:#fff;
box-shadow:0 5px 10px 2px rgba(0,0,0,.2);
box-shadow:rgba(0,0,0,.117647) 0 1px 6px,rgba(0,0,0,.239216) 0 1px 4px;
border-radius:2px;
width:170px;
float:right;
margin:0
}
#huxblog_navbar{
opacity:0;
transform:scaleX(0);
transform-origin:top right;
transition:all .25s cubic-bezier(0.23,1,.32,1);
-webkit-transform:scaleX(0);
-webkit-transform-origin:top right;
-webkit-transition:all .25s cubic-bezier(0.23,1,.32,1)
}
#huxblog_navbar a{
font-size:13px;
line-height:28px
}
#huxblog_navbar .navbar-collapse{
height:0;
transform:scaleY(0);
transform-origin:top right;
transition:transform 500ms cubic-bezier(0.23,1,.32,1);
-webkit-transform:scaleY(0);
-webkit-transform-origin:top right;
-webkit-transition:-webkit-transform 500ms cubic-bezier(0.23,1,.32,1)
}
#huxblog_navbar li{
opacity:0;
transition:opacity 450ms cubic-bezier(0.23,1,.32,1) 205ms;
-webkit-transition:opacity 450ms cubic-bezier(0.23,1,.32,1) 205ms
}
#huxblog_navbar.in{
transform:scaleX(1);
-webkit-transform:scaleX(1);
opacity:1
}
#huxblog_navbar.in .navbar-collapse{
transform:scaleY(1);
-webkit-transform:scaleY(1)
}
#huxblog_navbar.in li{
opacity:1
}
}
.navbar-custom{
background:0 0;
border:none;
position:absolute;
top:0;
left:0;
width:100%;
z-index:3;
font-family:-apple-system,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB",STHeiti,"Microsoft YaHei","Microsoft JhengHei","Source Han Sans SC","Noto Sans CJK SC","Source Han Sans CN","Noto Sans SC","Source Han Sans TC","Noto Sans CJK TC","WenQuanYi Micro Hei",SimSun,sans-serif;
line-height:1.7
}
.navbar-custom .navbar-brand{
font-weight:800;
color:#fff;
height:56px;
line-height:25px
}
.navbar-custom .navbar-brand:hover{
color:rgba(255,255,255,.8)
}
.navbar-custom .nav li a{
text-transform:uppercase;
font-size:12px;
line-height:20px;
font-weight:800;
letter-spacing:1px
}
.navbar-custom .nav li a:active{
background:rgba(0,0,0,.12)
}
@media only screen and (min-width:768px){
.navbar-custom{
background:0 0;
border-bottom:1px solid transparent
}
.navbar-custom body{
font-size:20px
}
.navbar-custom .navbar-brand{
color:#fff;
padding:20px;
line-height:20px
}
.navbar-custom .navbar-brand:hover,.navbar-custom .navbar-brand:focus{
color:rgba(255,255,255,.8)
}
.navbar-custom .nav li a{
color:#fff;
padding:20px
}
.navbar-custom .nav li a:hover,.navbar-custom .nav li a:focus{
color:rgba(255,255,255,.8)
}
.navbar-custom .nav li a:active{
background:0 0
}
}
.navbar-custom.invert .navbar-toggle:active{
background-color:rgba(0,0,0,.05)
}
.navbar-custom.invert .navbar-toggle .icon-bar{
background-color:#404040
}
.navbar-custom.invert .navbar-brand{
color:#404040
}
.navbar-custom.invert .navbar-brand:hover,.navbar-custom.invert .navbar-brand:focus{
color:#0085a1
}
.navbar-custom.invert .nav li a{
color:#404040
}
.navbar-custom.invert .nav li a:hover,.navbar-custom.invert .nav li a:focus{
color:#0085a1
}
@media only screen and (min-width:1170px){
.navbar-custom{
-webkit-transition:background-color .3s;
-moz-transition:background-color .3s;
transition:background-color .3s;
-webkit-transform:translate3d(0,0,0);
-moz-transform:translate3d(0,0,0);
-ms-transform:translate3d(0,0,0);
-o-transform:translate3d(0,0,0);
transform:translate3d(0,0,0);
-webkit-backface-visibility:hidden;
backface-visibility:hidden
}
.navbar-custom.is-fixed{
position:fixed;
top:-61px;
background-color:rgba(255,255,255,.9);
border-bottom:1px solid #f2f2f2;
-webkit-transition:-webkit-transform .3s;
-moz-transition:-moz-transform .3s;
transition:transform .3s
}
.navbar-custom.is-fixed .navbar-brand{
color:#404040
}
.navbar-custom.is-fixed .navbar-brand:hover,.navbar-custom.is-fixed .navbar-brand:focus{
color:#0085a1
}
.navbar-custom.is-fixed .nav li a{
color:#404040
}
.navbar-custom.is-fixed .nav li a:hover,.navbar-custom.is-fixed .nav li a:focus{
color:#0085a1
}
.navbar-custom.is-visible{
-webkit-transform:translate3d(0,100%,0);
-moz-transform:translate3d(0,100%,0);
-ms-transform:translate3d(0,100%,0);
-o-transform:translate3d(0,100%,0);
transform:translate3d(0,100%,0)
}
}
.intro-header{
background:no-repeat center center;
background-color:#a3a3a3;
background-attachment:scroll;
-webkit-background-size:cover;
-moz-background-size:cover;
background-size:cover;
-o-background-size:cover;
margin-bottom:0
}
.intro-header.style-text{
background:0 0
}
.intro-header.style-text .site-heading,.intro-header.style-text .post-heading,.intro-header.style-text .page-heading{
padding:85px 0 20px;
color:#404040
}
.intro-header.style-text .site-heading .subheading,.intro-header.style-text .post-heading .subheading,.intro-header.style-text .page-heading .subheading{
margin-bottom:15px
}
.intro-header.style-text .post-heading .meta a,.intro-header.style-text .tags a,.intro-header.style-text .tags .tag{
border-color:#404040;
color:#404040
}
.intro-header.style-text .tags a:hover,.intro-header.style-text .tags .tag:hover,.intro-header.style-text .tags a:active,.intro-header.style-text .tags .tag:active{
background-color:rgba(0,0,0,.05)
}
@media only screen and (min-width:768px){
.intro-header{
margin-bottom:20px
}
}
.intro-header .site-heading,.intro-header .post-heading,.intro-header .page-heading{
padding:85px 0 55px;
color:#fff
}
@media only screen and (min-width:768px){
.intro-header .site-heading,.intro-header .post-heading,.intro-header .page-heading{
padding:150px 0
}
}
.intro-header .site-heading{
padding:95px 0 70px
}
@media only screen and (min-width:768px){
.intro-header .site-heading{
padding:150px 0
}
}
.intro-header .site-heading,.intro-header .page-heading{
text-align:center
}
.intro-header .site-heading h1,.intro-header .page-heading h1{
margin-top:0;
font-size:50px
}
.intro-header .site-heading .subheading,.intro-header .page-heading .subheading{
font-family:-apple-system,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB",STHeiti,"Microsoft YaHei","Microsoft JhengHei","Source Han Sans SC","Noto Sans CJK SC","Source Han Sans CN","Noto Sans SC","Source Han Sans TC","Noto Sans CJK TC","WenQuanYi Micro Hei",SimSun,sans-serif;
line-height:1.7;
font-size:18px;
line-height:1.1;
display:block;
font-weight:300;
margin:10px 0 0
}
@media only screen and (min-width:768px){
.intro-header .site-heading h1,.intro-header .page-heading h1{
font-size:80px
}
}
.intro-header .post-heading h1{
font-size:30px;
margin-bottom:24px
}
.intro-header .post-heading .subheading,.intro-header .post-heading .meta{
line-height:1.1;
display:block
}
.intro-header .post-heading .meta .a{
color: #404040
}
.intro-header .post-heading .subheading{
font-family:-apple-system,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB",STHeiti,"Microsoft YaHei","Microsoft JhengHei","Source Han Sans SC","Noto Sans CJK SC","Source Han Sans CN","Noto Sans SC","Source Han Sans TC","Noto Sans CJK TC","WenQuanYi Micro Hei",SimSun,sans-serif;
line-height:1.7;
font-size:17px;
line-height:1.4;
font-weight:400;
margin:10px 0 30px;
margin-top:-5px
}
.intro-header .post-heading .meta{
font-family:Lora,'Times New Roman',serif;
font-style:italic;
font-weight:300;
font-size:18px
}
.intro-header .post-heading .meta a{
color:#fff
}
@media only screen and (min-width:768px){
.intro-header .post-heading h1{
font-size:55px
}
.intro-header .post-heading .subheading{
font-size:30px
}
.intro-header .post-heading .meta{
font-size:20px
}
}
.post-preview>a{
color:#404040
}
.post-preview>a:hover,.post-preview>a:focus{
text-decoration:none;
color:#0085a1
}
.post-preview>a>.post-title{
font-size:21px;
line-height:1.3;
margin-top:30px;
margin-bottom:8px
}
.post-preview>a>.post-subtitle{
font-size:15px;
line-height:1.3;
margin:0;
font-weight:300;
margin-bottom:10px
}
.post-preview>.post-meta>a, .post-preview>.post-meta{
font-family:Lora,'Times New Roman',serif;
color:gray;
font-size:17px;
font-style:italic;
margin-top:0
}
.post-preview>.post-meta>a:hover,.post-preview>.post-meta>a:focus{
color:#0085a1;
text-decoration:none
}
@media only screen and (min-width:768px){
.post-preview>a>.post-title{
font-size:26px;
line-height:1.3;
margin-bottom:10px
}
.post-preview>a>.post-subtitle{
font-size:17px
}
.post-preview .post-meta{
font-size:18px
}
}
.post-content-preview{
font-size:13px;
font-style:italic;
color:#a3a3a3
}
.post-content-preview:hover{
color:#0085a1
}
@media only screen and (min-width:768px){
.post-content-preview{
font-size:15px
}
}
.section-heading{
font-size:36px;
margin-top:60px;
font-weight:700
}
.caption{
text-align:center;
font-size:14px;
padding:10px;
font-style:italic;
margin:0;
display:block;
border-bottom-right-radius:5px;
border-bottom-left-radius:5px
}
footer{
font-size:20px;
padding:50px 0 65px
}
footer .list-inline{
margin:0;
padding:0
}
footer .copyright{
font-size:15px;
text-align:center;
margin-bottom:0
}
footer .copyright a{
color:#337ab7
}
footer .copyright a:hover,footer .copyright a:focus{
color:#0085a1
}
.floating-label-form-group{
font-size:14px;
position:relative;
margin-bottom:0;
padding-bottom:.5em;
border-bottom:1px solid #eee
}
.floating-label-form-group input,.floating-label-form-group textarea{
z-index:1;
position:relative;
padding-right:0;
padding-left:0;
border:none;
border-radius:0;
font-size:1.5em;
background:0 0;
box-shadow:none!important;
resize:none
}
.floating-label-form-group label{
display:block;
z-index:0;
position:relative;
top:2em;
margin:0;
font-size:.85em;
line-height:1.764705882em;
vertical-align:middle;
vertical-align:baseline;
opacity:0;
-webkit-transition:top .3s ease,opacity .3s ease;
-moz-transition:top .3s ease,opacity .3s ease;
-ms-transition:top .3s ease,opacity .3s ease;
transition:top .3s ease,opacity .3s ease
}
.floating-label-form-group::not(:first-child){
padding-left:14px;
border-left:1px solid #eee
}
.floating-label-form-group-with-value label{
top:0;
opacity:1
}
.floating-label-form-group-with-focus label{
color:#0085a1
}
form .row:first-child .floating-label-form-group{
border-top:1px solid #eee
}
.btn{
font-family:-apple-system,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB",STHeiti,"Microsoft YaHei","Microsoft JhengHei","Source Han Sans SC","Noto Sans CJK SC","Source Han Sans CN","Noto Sans SC","Source Han Sans TC","Noto Sans CJK TC","WenQuanYi Micro Hei",SimSun,sans-serif;
line-height:1.7;
text-transform:uppercase;
font-size:14px;
font-weight:800;
letter-spacing:1px;
border-radius:0;
padding:15px 25px
}
.btn-lg{
font-size:17px;
padding:25px 35px
}
.btn-default:hover,.btn-default:focus{
background-color:#0085a1;
border:1px solid #0085a1;
color:#fff
}
.pager{
margin:20px 0 0!important;
/*padding:0!important*/
padding:0 0 20px 0
}
.pager li>a,.pager li>span{
font-family:-apple-system,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB",STHeiti,"Microsoft YaHei","Microsoft JhengHei","Source Han Sans SC","Noto Sans CJK SC","Source Han Sans CN","Noto Sans SC","Source Han Sans TC","Noto Sans CJK TC","WenQuanYi Micro Hei",SimSun,sans-serif;
line-height:1.7;
text-transform:uppercase;
font-size:13px;
font-weight:800;
letter-spacing:1px;
padding:10px;
background-color:#fff;
border-radius:0
}
@media only screen and (min-width:768px){
.pager li>a,.pager li>span{
font-size:14px;
padding:15px 25px
}
}
.pager li>a{
color:#404040
}
.pager li>a:hover,.pager li>a:focus{
color:#fff;
background-color:#0085a1;
border:1px solid #0085a1
}
.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{
color:gray;
background-color:#404040;
cursor:not-allowed
}
::-moz-selection{
color:#fff;
text-shadow:none;
background:#0085a1
}
::selection{
color:#fff;
text-shadow:none;
background:#0085a1
}
img::selection{
color:#fff;
background:0 0
}
img::-moz-selection{
color:#fff;
background:0 0
}
body{
webkit-tap-highlight-color:#0085a1
}
.tags{
margin-bottom:-5px
}
.tags a,.tags .tag{
display:inline-block;
border:1px solid rgba(255,255,255,.8);
border-radius:999em;
padding:0 10px;
color:#fff;
line-height:24px;
font-size:14px;
text-decoration:none;
margin:0 1px;
margin-bottom:6px
}
.tags a:hover,.tags .tag:hover,.tags a:active,.tags .tag:active{
color:#fff;
border-color:#fff;
background-color:rgba(255,255,255,.4);
text-decoration:none
}
@media only screen and (min-width:768px){
.tags a,.tags .tag{
margin-right:5px
}
}
#tag-heading{
padding:70px 0 60px
}
@media only screen and (min-width:768px){
#tag-heading{
padding:55px 0
}
}
#tag_cloud{
margin:20px 0 15px 0
}
#tag_cloud a,#tag_cloud .tag{
font-size:14px;
border:none;
line-height:28px;
margin:0 2px;
margin-bottom:8px;
background:#D6D6D6
}
#tag_cloud a:hover,#tag_cloud .tag:hover,#tag_cloud a:active,#tag_cloud .tag:active{
background-color:#0085a1!important
}
@media only screen and (min-width:768px){
#tag_cloud{
margin-bottom:25px
}
}
.tag-comments{
font-size:12px
}
@media only screen and (min-width:768px){
.tag-comments{
font-size:14px
}
}
.t:first-child{
margin-top:0
}
.listing-seperator{
color:#0085a1;
font-size:21px!important
}
.listing-seperator::before{
margin-right:5px
}
@media only screen and (min-width:768px){
.listing-seperator{
font-size:20px!important;
line-height:2!important
}
}
.one-tag-list .tag-text{
font-weight:200;
font-family:-apple-system,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB",STHeiti,"Microsoft YaHei","Microsoft JhengHei","Source Han Sans SC","Noto Sans CJK SC","Source Han Sans CN","Noto Sans SC","Source Han Sans TC","Noto Sans CJK TC","WenQuanYi Micro Hei",SimSun,sans-serif;
line-height:1.7
}
.one-tag-list .post-preview{
position:relative
}
.one-tag-list .post-preview>a .post-title{
font-size:17px;
font-weight:500;
margin-top:20px
}
.one-tag-list .post-preview>a .post-subtitle{
font-size:12px
}
.one-tag-list .post-preview>.post-meta{
position:absolute;
right:5px;
bottom:0;
margin:0;
font-size:12px;
line-height:12px
}
@media only screen and (min-width:768px){
.one-tag-list .post-preview{
margin-left:20px
}
.one-tag-list .post-preview>a>.post-title{
font-size:18px;
line-height:1.3
}
.one-tag-list .post-preview>a>.post-subtitle{
font-size:14px
}
.one-tag-list .post-preview .post-meta{
font-size:18px
}
}
.post-container img{
display:block;
max-width:100%;
height:auto;
margin:1.5em auto 1.6em auto
}
.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{
background-color:inherit
}
.navbar-default .navbar-toggle:active{
background-color:rgba(255,255,255,.25)
}
.navbar-default .navbar-toggle{
border-color:transparent;
padding:19px 16px;
margin-top:2px;
margin-right:2px;
margin-bottom:2px;
border-radius:50%
}
.navbar-default .navbar-toggle .icon-bar{
width:18px;
border-radius:0;
background-color:#fff
}
.navbar-default .navbar-toggle .icon-bar+.icon-bar{
margin-top:3px
}
.comment{
margin-top:20px
}
.comment #ds-thread #ds-reset a.ds-like-thread-button{
border:1px solid #ddd;
border-radius:0;
background:#fff;
box-shadow:none;
text-shadow:none
}
.comment #ds-thread #ds-reset li.ds-tab a.ds-current{
border:1px solid #ddd;
border-radius:0;
background:#fff;
box-shadow:none;
text-shadow:none
}
.comment #ds-thread #ds-reset .ds-textarea-wrapper{
background:0 0
}
.comment #ds-thread #ds-reset .ds-gradient-bg{
background:0 0
}
#ds-smilies-tooltip ul.ds-smilies-tabs li a{
background:#fff!important
}
.page-fullscreen .intro-header{
position:fixed;
left:0;
top:0;
width:100%;
height:100%
}
.page-fullscreen #tag-heading{
position:fixed;
left:0;
top:0;
padding-bottom:150px;
width:100%;
height:100%;
display:-webkit-box;
-webkit-box-orient:vertical;
-webkit-box-pack:center;
-webkit-box-align:center;
display:-webkit-flex;
-webkit-align-items:center;
-webkit-justify-content:center;
-webkit-flex-direction:column;
display:flex;
align-items:center;
justify-content:center;
flex-direction:column
}
.page-fullscreen footer{
position:absolute;
width:100%;
bottom:0;
padding-bottom:20px;
opacity:.6;
color:#fff
}
.page-fullscreen footer .copyright{
color:#fff
}
.page-fullscreen footer .copyright a{
color:#fff
}
.page-fullscreen footer .copyright a:hover{
color:#ddd
}
.catalog-container {
padding: 0px;
}
.side-catalog {
display: block;
overflow: auto;
height: 100%;
padding-bottom: 40px;
width: 195px;
}
.side-catalog.fixed {
position: fixed;
top: -21px;
}
.side-catalog.fold .catalog-toggle::before {
content: "+";
}
.side-catalog.fold .catalog-body {
display: none;
}
.side-catalog .catalog-toggle::before {
content: "";
position: relative;
margin-right: 5px;
bottom: 1px;
}
.side-catalog .catalog-body {
position: relative;
list-style: none;
height: auto;
overflow: hidden;
padding-left: 0px;
padding-right: 5px;
text-indent: 0;
}
.side-catalog .catalog-body li {
position: relative;
list-style: none;
}
.side-catalog .catalog-body li a {
padding-left: 10px;
max-width: 180px;
display: inline-block;
vertical-align: middle;
height: 30px;
line-height: 30px;
overflow: hidden;
text-decoration: none;
white-space: nowrap;
text-overflow: ellipsis;
}
.side-catalog .catalog-body .h1_nav {
margin-left: 0;
font-size: 13px;
font-weight: bold;
}
.side-catalog .catalog-body .h2_nav {
margin-left: 6px;
font-size: 13px;
font-weight: bold;
}
.side-catalog .catalog-body .h3_nav {
margin-left: 12px;
font-size: 13px;
font-weight: bold;
}
.side-catalog .catalog-body .h4_nav {
margin-left: 18px;
font-size: 12px;
}
.side-catalog .catalog-body .h4_nav a {
max-width: 170px;
}
.side-catalog .catalog-body .h5_nav .h6_nav {
margin-left: 18px;
font-size: 12px;
}
.side-catalog .catalog-body .h5_nav .h6_nav a {
max-width: 170px;
}
.side-catalog .catalog-body .active {
border-radius: 4px;
background-color: #f5f5f5;
}
.side-catalog .catalog-body .active a {
color: #0085a1 !important;
}
@media (max-width: 1200px) {
.side-catalog {
display: none;
}
}

1
css/hugo-theme-cleanwhite.min.css vendored Normal file

File diff suppressed because one or more lines are too long

4
css/iDisqus.min.css vendored Normal file

File diff suppressed because one or more lines are too long

1
css/iDisqus.min.css.map Normal file

File diff suppressed because one or more lines are too long

111
css/mindmap.css Normal file
View File

@ -0,0 +1,111 @@
.km-view {
font-family: "STHeitiSC-Light", "STHeiti", "Hei", "Heiti SC", "Microsoft Yahei", Arial, sans-serif;
-webkit-user-select: none;
user-select: none;
position: relative;
}
.km-view .km-receiver {
position: absolute;
left: -99999px;
top: -99999px;
width: 20px;
height: 20px;
outline: none;
margin: 0;
}
.km-view image {
cursor: zoom-in;
}
.km-image-viewer {
position: fixed;
z-index: 99999;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, .75);
}
.km-image-viewer .km-image-viewer-container {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
text-align: center;
white-space: nowrap;
overflow: auto;
}
.km-image-viewer .km-image-viewer-container::before {
content: '';
display: inline-block;
height: 100%;
width: 0;
font-size: 0;
vertical-align: middle;
}
.km-image-viewer .km-image-viewer-container img {
cursor: zoom-out;
vertical-align: middle;
}
.km-image-viewer .km-image-viewer-container img.limited {
cursor: zoom-in;
max-width: 100%;
max-height: 100%;
}
.km-image-viewer .km-image-viewer-toolbar {
z-index: 1;
background: rgba(0, 0, 0, .75);
text-align: right;
transition: all .25s;
}
.km-image-viewer .km-image-viewer-toolbar.hidden {
transform: translate(0, -100%);
opacity: 0;
}
.km-image-viewer .km-image-viewer-btn {
cursor: pointer;
outline: 0;
border: 0;
width: 44px;
height: 44px;
background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjY0IiBoZWlnaHQ9Ijg4IiB2aWV3Qm94PSIwIDAgMjY0IDg4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5kZWZhdWx0LXNraW4gMjwvdGl0bGU+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Zz48cGF0aCBkPSJNNjcuMDAyIDU5LjV2My43NjhjLTYuMzA3Ljg0LTkuMTg0IDUuNzUtMTAuMDAyIDkuNzMyIDIuMjItMi44MyA1LjU2NC01LjA5OCAxMC4wMDItNS4wOThWNzEuNUw3MyA2NS41ODUgNjcuMDAyIDU5LjV6IiBpZD0iU2hhcGUiIGZpbGw9IiNmZmYiLz48ZyBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTMgMjl2LTVoMnYzaDN2MmgtNXpNMTMgMTVoNXYyaC0zdjNoLTJ2LTV6TTMxIDE1djVoLTJ2LTNoLTN2LTJoNXpNMzEgMjloLTV2LTJoM3YtM2gydjV6IiBpZD0iU2hhcGUiLz48L2c+PGcgZmlsbD0iI2ZmZiI+PHBhdGggZD0iTTYyIDI0djVoLTJ2LTNoLTN2LTJoNXpNNjIgMjBoLTV2LTJoM3YtM2gydjV6TTcwIDIwdi01aDJ2M2gzdjJoLTV6TTcwIDI0aDV2MmgtM3YzaC0ydi01eiIvPjwvZz48cGF0aCBkPSJNMjAuNTg2IDY2bC01LjY1Ni01LjY1NiAxLjQxNC0xLjQxNEwyMiA2NC41ODZsNS42NTYtNS42NTYgMS40MTQgMS40MTRMMjMuNDE0IDY2bDUuNjU2IDUuNjU2LTEuNDE0IDEuNDE0TDIyIDY3LjQxNGwtNS42NTYgNS42NTYtMS40MTQtMS40MTRMMjAuNTg2IDY2eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMTEuNzg1IDY1LjAzTDExMCA2My41bDMtMy41aC0xMHYtMmgxMGwtMy0zLjUgMS43ODUtMS40NjhMMTE3IDU5bC01LjIxNSA2LjAzeiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xNTIuMjE1IDY1LjAzTDE1NCA2My41bC0zLTMuNWgxMHYtMmgtMTBsMy0zLjUtMS43ODUtMS40NjhMMTQ3IDU5bDUuMjE1IDYuMDN6IiBmaWxsPSIjZmZmIi8+PGc+PHBhdGggaWQ9IlJlY3RhbmdsZS0xMSIgZmlsbD0iI2ZmZiIgZD0iTTE2MC45NTcgMjguNTQzbC0zLjI1LTMuMjUtMS40MTMgMS40MTQgMy4yNSAzLjI1eiIvPjxwYXRoIGQ9Ik0xNTIuNSAyN2MzLjAzOCAwIDUuNS0yLjQ2MiA1LjUtNS41cy0yLjQ2Mi01LjUtNS41LTUuNS01LjUgMi40NjItNS41IDUuNSAyLjQ2MiA1LjUgNS41IDUuNXoiIGlkPSJPdmFsLTEiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTUwIDIxaDV2MWgtNXoiLz48L2c+PGc+PHBhdGggZD0iTTExNi45NTcgMjguNTQzbC0xLjQxNCAxLjQxNC0zLjI1LTMuMjUgMS40MTQtMS40MTQgMy4yNSAzLjI1eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMDguNSAyN2MzLjAzOCAwIDUuNS0yLjQ2MiA1LjUtNS41cy0yLjQ2Mi01LjUtNS41LTUuNS01LjUgMi40NjItNS41IDUuNSAyLjQ2MiA1LjUgNS41IDUuNXoiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA2IDIxaDV2MWgtNXoiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA5LjA0MyAxOS4wMDhsLS4wODUgNS0xLS4wMTcuMDg1LTV6Ii8+PC9nPjwvZz48L2c+PC9zdmc+");
}
.km-image-viewer .km-image-viewer-toolbar {
position: absolute;
top: 0;
left: 0;
right: 0;
}
.km-image-viewer .km-image-viewer-close {
background-position: 0 -44px;
}
.mindmap {
/*width: inherit;*/
width: 100%;
border: 1px solid #ccc;
}
.mindmap-sm {
height: 300px;
}
.mindmap-md {
height: 500px;
}
.mindmap-lg {
height: 800px;
}

2723
css/style.css Normal file

File diff suppressed because it is too large Load Diff

192
css/zanshang.css Normal file
View File

@ -0,0 +1,192 @@
.btn {
display: inline-block;
padding: 6px 12px;
margin-bottom: 0;
font-size: 14px;
line-height: 1.42857143;
text-align: center;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border: 1px solid transparent;
border-radius: 4px;
vertical-align: middle;
}
img{vertical-align: middle;}
.close {
float: right;
font-size: 21px;
line-height: 1;
color: #000;
text-shadow: 0 1px 0 #fff;
opacity: .2
}
button.close {
-webkit-appearance: none;
padding: 0;
cursor: pointer;
background: 0 0;
border: 0
}
.entry-shang {
padding: 30px 0 20px;
text-align: center;
}
.entry-shang p {
font-size: 12px;
}
.btn-bred {
min-width: 80px;
border-color: #e26d6d;
background: #e26d6d;
color: #fff;
}
.zs-modal-bg {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.2);
display: none;
z-index: 100;
}
.zs-modal-box {
width: 340px;
position: fixed;
left: 50%;
top: 50%;
margin: -195px 0 0 -171px;
border: 1px solid #eee;
background: #fff;
border-radius: 6px;
z-index: 100;
display: none;
}
.zs-modal-head {
padding: 0 16px;
position: relative;
}
.zs-modal-head img {
width: 26px;
height: 26px;
border-radius: 50%;
}
.zs-modal-head .close {
position: absolute;
right: 0;
top: 0;
width: 56px;
height: 56px;
text-align: center;
}
.zs-modal-head .author {
padding-top: 15px;
display: block;
}
.zs-modal-head .author a{
color: #333;
text-decoration: none;
}
.zs-modal-head .author img {
margin-right: 5px;
}
.zs-modal-head .tip {
background: #f6f6f6;
padding: 0 10px;
font-size: 12px;
color: gray;
border-radius: 3px;
margin-top: 10px;
position: relative;
line-height: 28px;
margin-bottom: 10px;
}
.zs-modal-head .tip i {
display: block;
border-width: 0 7px 7px 7px;
border-color: transparent transparent #f6f6f6 transparent;
border-style: dashed dashed solid dashed;
content: "";
position: absolute;
left: 8px;
top: -7px;
}
.zs-modal-body {
padding: 0 15px;
}
.zs-modal-btns {
font-size: 0;
}
.zs-modal-btns .btn:nth-child(3n-2) {
margin-left: 0;
}
.zs-modal-btns .btn {
width: 28%;
margin-left: 8%;
margin-bottom: 24px;
display: inline-block;
font-size: 12px;
}
.zs-modal-btns .btn-blink {
background: #fff;
border-color: #e26d6d;
color: #e26d6d;
font-weight: bold;
}
.zs-modal-btns .btn-blink:hover, .zs-btns .btn-blink:active {
background: rgba(226,109,109,.06);
box-shadow: none;
}
.zs-modal-btns .btn-blink:focus {
background: #e26d6d;
border-color: #e26d6d;
color: #fff;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
.zs-modal-body ul {
letter-spacing: -5px;
}
}
.zs-modal-footer {
padding: 0 15px 15px;
}
.zs-modal-footer label {
margin: 0 10px;
}
.zs-modal-footer img {
height: 30px;
min-width: 85px;
}
.zs-modal-pay {
text-align: center;
padding: 15px 0;
display: none;
}

BIN
img/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
img/reward/alipay-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
img/reward/alipay-10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
img/reward/alipay-100.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
img/reward/alipay-2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
img/reward/alipay-5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
img/reward/alipay-50.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
img/reward/alipay-btn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
img/reward/wechat-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
img/reward/wechat-10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
img/reward/wechat-100.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
img/reward/wechat-2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
img/reward/wechat-5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
img/reward/wechat-50.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
img/reward/wechat-btn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
img/search.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

387
index.html Normal file
View File

@ -0,0 +1,387 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta name="generator" content="Hugo 0.146.7"><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:site_name" content="Huabing Blog">
<meta property="og:type" content="article">
<meta property="og:image" content="http://localhost:1313//">
<meta property="twitter:image" content="http://localhost:1313//" />
<meta name="title" content="" />
<meta property="og:title" content="" />
<meta property="twitter:title" content="" />
<meta name="description" content="">
<meta property="og:description" content="" />
<meta property="twitter:description" content="" />
<meta property="twitter:card" content="summary" />
<meta name="keyword" content="">
<link rel="shortcut icon" href="/img/favicon.ico">
<title>Huabing Blog | </title>
<link rel="canonical" href="/">
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/hugo-theme-cleanwhite.min.css">
<link rel="stylesheet" href="/css/zanshang.css">
<link rel="stylesheet" href="/css/font-awesome.all.min.css">
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/hux-blog.min.js"></script>
<script src="/js/lazysizes.min.js"></script>
</head>
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Huabing Blog</a>
</div>
<div id="huxblog_navbar">
<div class="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="/">All Posts</a>
</li>
<li>
<a href="/categories/tech/">tech</a>
</li>
<li>
<a href="/search"><i class="fa fa-search"></i></a>
</li>
</ul>
</div>
</div>
</div>
</nav>
<script>
var $body = document.body;
var $toggle = document.querySelector('.navbar-toggle');
var $navbar = document.querySelector('#huxblog_navbar');
var $collapse = document.querySelector('.navbar-collapse');
$toggle.addEventListener('click', handleMagic)
function handleMagic(e){
if ($navbar.className.indexOf('in') > 0) {
$navbar.className = " ";
setTimeout(function(){
if($navbar.className.indexOf('in') < 0) {
$collapse.style.height = "0px"
}
},400)
}else{
$collapse.style.height = "auto"
$navbar.className += " in";
}
}
</script>
<header class="intro-header" style="background-image: url('/')">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 ">
<div class="site-heading">
<h1>Huabing Blog </h1>
<span class="subheading"></span>
</div>
</div>
</div>
</div>
</header>
<div data-pagefind-ignore="all" class="container">
<div class="row">
<div class="
col-lg-8 col-lg-offset-1
col-md-8 col-md-offset-1
col-sm-12
col-xs-12
post-container
">
<div data-pagefind-ignore="all">
<div class="post-preview">
<a href="http://localhost:1313/post/my-first-blog/">
<h2 class="post-title">
An Example Post
</h2>
<div class="post-content-preview">
</div>
</a>
<p class="post-meta">
Posted by     &#34;&#34; on Monday, June 4, 2018
</p>
</div>
<hr>
</div>
</div>
<div class="
col-lg-3 col-lg-offset-0
col-md-3 col-md-offset-0
col-sm-12
col-xs-12
sidebar-container
">
</div>
</div>
</div>
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center">
</ul>
<p class="copyright text-muted">
Copyright &copy; Huabing Blog 2025
</p>
</div>
</div>
</div>
</footer>
<script>
function loadAsync(u, c) {
var d = document, t = 'script',
o = d.createElement(t),
s = d.getElementsByTagName(t)[0];
o.src = u;
if (c) { o.addEventListener('load', function (e) { c(null, e); }, false); }
s.parentNode.insertBefore(o, s);
}
</script>
<script>
if($('#tag_cloud').length !== 0){
loadAsync("/js/jquery.tagcloud.js",function(){
$.fn.tagcloud.defaults = {
color: {start: '#bbbbee', end: '#0085a1'},
};
$('#tag_cloud a').tagcloud();
})
}
</script>
<script>
loadAsync("https://cdn.jsdelivr.net/npm/fastclick@1.0.6/lib/fastclick.min.js", function(){
var $nav = document.querySelector("nav");
if($nav) FastClick.attach($nav);
})
</script>
<script type="text/javascript">
function generateCatalog(selector) {
_containerSelector = 'div.post-container'
var P = $(_containerSelector), a, n, t, l, i, c;
a = P.find('h1,h2,h3,h4,h5,h6');
$(selector).html('')
a.each(function () {
n = $(this).prop('tagName').toLowerCase();
i = "#" + $(this).prop('id');
t = $(this).text();
c = $('<a href="' + i + '" rel="nofollow" title="' + t + '">' + t + '</a>');
l = $('<li class="' + n + '_nav"></li>').append(c);
$(selector).append(l);
});
return true;
}
generateCatalog(".catalog-body");
$(".catalog-toggle").click((function (e) {
e.preventDefault();
$('.side-catalog').toggleClass("fold")
}))
loadAsync("\/js\/jquery.nav.js", function () {
$('.catalog-body').onePageNav({
currentClass: "active",
changeHash: !1,
easing: "swing",
filter: "",
scrollSpeed: 700,
scrollOffset: 0,
scrollThreshold: .2,
begin: null,
end: null,
scrollChange: null,
padding: 80
});
});
</script>
</body>
</html>

19
index.xml Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Huabing Blog</title>
<link>http://localhost:1313/</link>
<description>Recent content on Huabing Blog</description>
<generator>Hugo</generator>
<language>en-us</language>
<lastBuildDate>Mon, 04 Jun 2018 00:00:00 +0000</lastBuildDate>
<atom:link href="http://localhost:1313/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>An Example Post</title>
<link>http://localhost:1313/post/my-first-blog/</link>
<pubDate>Mon, 04 Jun 2018 00:00:00 +0000</pubDate>
<guid>http://localhost:1313/post/my-first-blog/</guid>
<description></description>
</item>
</channel>
</rss>

2306
js/bootstrap.js vendored Normal file

File diff suppressed because it is too large Load Diff

7
js/bootstrap.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
js/eac.min.json Normal file

File diff suppressed because one or more lines are too long

87
js/fitvids.js Normal file
View File

@ -0,0 +1,87 @@
/*jshint browser:true */
/*!
* FitVids 1.1
*
* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
*
*/
;(function( $ ){
'use strict';
$.fn.fitVids = function( options ) {
var settings = {
customSelector: null,
ignore: null
};
if(!document.getElementById('fit-vids-style')) {
// appendStyles: https://github.com/toddmotto/fluidvids/blob/master/dist/fluidvids.js
var head = document.head || document.getElementsByTagName('head')[0];
var css = '.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}';
var div = document.createElement("div");
div.innerHTML = '<p>x</p><style id="fit-vids-style">' + css + '</style>';
head.appendChild(div.childNodes[1]);
}
if ( options ) {
$.extend( settings, options );
}
return this.each(function(){
var selectors = [
'iframe[src*="player.vimeo.com"]',
'iframe[src*="youtube.com"]',
'iframe[src*="youtube-nocookie.com"]',
'iframe[src*="kickstarter.com"][src*="video.html"]',
'object',
'embed'
];
if (settings.customSelector) {
selectors.push(settings.customSelector);
}
var ignoreList = '.fitvidsignore';
if(settings.ignore) {
ignoreList = ignoreList + ', ' + settings.ignore;
}
var $allVideos = $(this).find(selectors.join(','));
$allVideos = $allVideos.not('object object'); // SwfObj conflict patch
$allVideos = $allVideos.not(ignoreList); // Disable FitVids on this video.
$allVideos.each(function(){
var $this = $(this);
if($this.parents(ignoreList).length > 0) {
return; // Disable FitVids on this video.
}
if (this.tagName.toLowerCase() === 'embed' && $this.parent('object').length || $this.parent('.fluid-width-video-wrapper').length) { return; }
if ((!$this.css('height') && !$this.css('width')) && (isNaN($this.attr('height')) || isNaN($this.attr('width'))))
{
$this.attr('height', 9);
$this.attr('width', 16);
}
var height = ( this.tagName.toLowerCase() === 'object' || ($this.attr('height') && !isNaN(parseInt($this.attr('height'), 10))) ) ? parseInt($this.attr('height'), 10) : $this.height(),
width = !isNaN(parseInt($this.attr('width'), 10)) ? parseInt($this.attr('width'), 10) : $this.width(),
aspectRatio = height / width;
if(!$this.attr('name')){
var videoName = 'fitvid' + $.fn.fitVids._count;
$this.attr('name', videoName);
$.fn.fitVids._count++;
}
$this.wrap('<div class="fluid-width-video-wrapper"></div>').parent('.fluid-width-video-wrapper').css('padding-top', (aspectRatio * 100)+'%');
$this.removeAttr('height').removeAttr('width');
});
});
};
// Internal counter for unique video names.
$.fn.fitVids._count = 0;
// Works with either jQuery or Zepto
})( window.jQuery || window.Zepto );

75
js/hux-blog.js Normal file
View File

@ -0,0 +1,75 @@
/*!
* Clean Blog v1.0.0 (http://startbootstrap.com)
* Copyright 2015 Start Bootstrap
* Licensed under Apache 2.0 (https://github.com/IronSummitMedia/startbootstrap/blob/gh-pages/LICENSE)
*/
// Tooltip Init
$(function() {
$("[data-toggle='tooltip']").tooltip();
});
// make all images responsive
/*
* Unuse by Hux
* actually only Portfolio-Pages can't use it and only post-img need it.
* so I modify the _layout/post and CSS to make post-img responsive!
*/
// $(function() {
// $("img").addClass("img-responsive");
// });
// responsive tables
$(document).ready(function() {
$("table").wrap("<div class='table-responsive'></div>");
$("table").addClass("table");
});
// responsive embed videos
$(document).ready(function () {
$('iframe[src*="youtube.com"]').wrap('<div class="embed-responsive embed-responsive-16by9"></div>');
$('iframe[src*="youtube.com"]').addClass('embed-responsive-item');
$('iframe[src*="vimeo.com"]').wrap('<div class="embed-responsive embed-responsive-16by9"></div>');
$('iframe[src*="vimeo.com"]').addClass('embed-responsive-item');
});
// Navigation Scripts to Show Header on Scroll-Up
jQuery(document).ready(function($) {
var MQL = 1170;
//primary navigation slide-in effect
if ($(window).width() > MQL) {
var headerHeight = $('.navbar-custom').height(),
bannerHeight = $('.intro-header .container').height();
$(window).on('scroll', {
previousTop: 0
},
function() {
var currentTop = $(window).scrollTop(),
$catalog = $('.side-catalog');
//check if user is scrolling up
if (currentTop < this.previousTop) {
//if scrolling up...
if (currentTop > 0 && $('.navbar-custom').hasClass('is-fixed')) {
$('.navbar-custom').addClass('is-visible');
} else {
$('.navbar-custom').removeClass('is-visible is-fixed');
}
} else {
//if scrolling down...
$('.navbar-custom').removeClass('is-visible');
if (currentTop > headerHeight && !$('.navbar-custom').hasClass('is-fixed')) $('.navbar-custom').addClass('is-fixed');
}
this.previousTop = currentTop;
//adjust the appearance of side-catalog
$catalog.show()
if (currentTop > (bannerHeight + 41)) {
$catalog.addClass('fixed')
} else {
$catalog.removeClass('fixed')
}
});
}
});

6
js/hux-blog.min.js vendored Normal file
View File

@ -0,0 +1,6 @@
/*!
* Clean Blog v1.0.0 (http://startbootstrap.com)
* Copyright 2015 Start Bootstrap
* Licensed under Apache 2.0 (https://github.com/IronSummitMedia/startbootstrap/blob/gh-pages/LICENSE)
*/
$(function(){$("[data-toggle='tooltip']").tooltip()}),$(document).ready(function(){$("table").wrap("<div class='table-responsive'></div>"),$("table").addClass("table")}),$(document).ready(function(){$('iframe[src*="youtube.com"]').wrap('<div class="embed-responsive embed-responsive-16by9"></div>'),$('iframe[src*="youtube.com"]').addClass("embed-responsive-item"),$('iframe[src*="vimeo.com"]').wrap('<div class="embed-responsive embed-responsive-16by9"></div>'),$('iframe[src*="vimeo.com"]').addClass("embed-responsive-item")}),jQuery(document).ready(function(s){if(s(window).width()>1170){var e=s(".navbar-custom").height(),i=s(".intro-header .container").height();s(window).on("scroll",{previousTop:0},function(){var a=s(window).scrollTop(),o=s(".side-catalog");a<this.previousTop?a>0&&s(".navbar-custom").hasClass("is-fixed")?s(".navbar-custom").addClass("is-visible"):s(".navbar-custom").removeClass("is-visible is-fixed"):(s(".navbar-custom").removeClass("is-visible"),a>e&&!s(".navbar-custom").hasClass("is-fixed")&&s(".navbar-custom").addClass("is-fixed")),this.previousTop=a,o.show(),a>i+41?o.addClass("fixed"):o.removeClass("fixed")})}});

178
js/iDisqus.js Normal file

File diff suppressed because one or more lines are too long

12
js/iDisqus.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
js/iDisqus.min.js.map Normal file

File diff suppressed because one or more lines are too long

9205
js/jquery.js vendored Normal file

File diff suppressed because it is too large Load Diff

4
js/jquery.min.js vendored Normal file

File diff suppressed because one or more lines are too long

224
js/jquery.nav.js Normal file
View File

@ -0,0 +1,224 @@
/*
* jQuery One Page Nav Plugin
* http://github.com/davist11/jQuery-One-Page-Nav
*
* Copyright (c) 2010 Trevor Davis (http://trevordavis.net)
* Dual licensed under the MIT and GPL licenses.
* Uses the same license as jQuery, see:
* http://jquery.org/license
*
* @version 3.0.0
*
* Example usage:
* $('#nav').onePageNav({
* currentClass: 'current',
* changeHash: false,
* scrollSpeed: 750
* });
*/
;(function($, window, document, undefined){
// our plugin constructor
var OnePageNav = function(elem, options){
this.elem = elem;
this.$elem = $(elem);
this.options = options;
this.metadata = this.$elem.data('plugin-options');
this.$win = $(window);
this.sections = {};
this.didScroll = false;
this.$doc = $(document);
this.docHeight = this.$doc.height();
};
// the plugin prototype
OnePageNav.prototype = {
defaults: {
navItems: 'a',
currentClass: 'current',
changeHash: false,
easing: 'swing',
filter: '',
scrollSpeed: 750,
scrollThreshold: 0.5,
begin: false,
end: false,
scrollChange: false,
padding: 0
},
init: function() {
// Introduce defaults that can be extended either
// globally or using an object literal.
this.config = $.extend({}, this.defaults, this.options, this.metadata);
this.$nav = this.$elem.find(this.config.navItems);
//Filter any links out of the nav
if(this.config.filter !== '') {
this.$nav = this.$nav.filter(this.config.filter);
}
//Handle clicks on the nav
this.$nav.on('click.onePageNav', $.proxy(this.handleClick, this));
//Get the section positions
this.getPositions();
//Handle scroll changes
this.bindInterval();
//Update the positions on resize too
this.$win.on('resize.onePageNav', $.proxy(this.getPositions, this));
return this;
},
adjustNav: function(self, $parent) {
self.$elem.find('.' + self.config.currentClass).removeClass(self.config.currentClass);
$parent.addClass(self.config.currentClass);
},
bindInterval: function() {
var self = this;
var docHeight;
self.$win.on('scroll.onePageNav', function() {
self.didScroll = true;
});
self.t = setInterval(function() {
docHeight = self.$doc.height();
//If it was scrolled
if(self.didScroll) {
self.didScroll = false;
self.scrollChange();
}
//If the document height changes
if(docHeight !== self.docHeight) {
self.docHeight = docHeight;
self.getPositions();
}
}, 250);
},
getHash: function($link) {
return $link.attr('href').split('#')[1];
},
getPositions: function() {
var self = this;
var linkHref;
var topPos;
var $target;
self.$nav.each(function() {
linkHref = self.getHash($(this));
$target = $('#' + linkHref);
if($target.length) {
topPos = $target.offset().top;
self.sections[linkHref] = Math.round(topPos);
}
});
},
getSection: function(windowPos) {
var returnValue = null;
var windowHeight = Math.round(this.$win.height() * this.config.scrollThreshold);
for(var section in this.sections) {
if((this.sections[section] - windowHeight) < windowPos) {
returnValue = section;
}
}
return returnValue;
},
handleClick: function(e) {
var self = this;
var $link = $(e.currentTarget);
var $parent = $link.parent();
var newLoc = '#' + self.getHash($link);
if(!$parent.hasClass(self.config.currentClass)) {
//Start callback
if(self.config.begin) {
self.config.begin();
}
//Change the highlighted nav item
self.adjustNav(self, $parent);
//Removing the auto-adjust on scroll
self.unbindInterval();
//Scroll to the correct position
self.scrollTo(newLoc, function() {
//Do we need to change the hash?
if(self.config.changeHash) {
window.location.hash = newLoc;
}
//Add the auto-adjust on scroll back in
self.bindInterval();
//End callback
if(self.config.end) {
self.config.end();
}
});
}
e.preventDefault();
},
scrollChange: function() {
var windowTop = this.$win.scrollTop();
var position = this.getSection(windowTop);
var $parent;
//If the position is set
if(position !== null) {
$parent = this.$elem.find('a[href$="#' + position + '"]').parent();
//If it's not already the current section
if(!$parent.hasClass(this.config.currentClass)) {
//Change the highlighted nav item
this.adjustNav(this, $parent);
//If there is a scrollChange callback
if(this.config.scrollChange) {
this.config.scrollChange($parent);
}
}
}
},
scrollTo: function(target, callback) {
var offset = $(target).offset().top - this.config.padding;
$('html, body').animate({
scrollTop: offset
}, this.config.scrollSpeed, this.config.easing, callback);
},
unbindInterval: function() {
clearInterval(this.t);
this.$win.unbind('scroll.onePageNav');
}
};
OnePageNav.defaults = OnePageNav.prototype.defaults;
$.fn.onePageNav = function(options) {
return this.each(function() {
new OnePageNav(this, options).init();
});
};
})( jQuery, window , document );

81
js/jquery.tagcloud.js Normal file
View File

@ -0,0 +1,81 @@
(function($) {
$.fn.tagcloud = function(options) {
var opts = $.extend({}, $.fn.tagcloud.defaults, options);
tagWeights = this.map(function(){
return $(this).attr("rel");
});
tagWeights = jQuery.makeArray(tagWeights).sort(compareWeights);
lowest = tagWeights[0];
highest = tagWeights.pop();
range = highest - lowest;
if(range === 0) {range = 1;}
// Sizes
if (opts.size) {
fontIncr = (opts.size.end - opts.size.start)/range;
}
// Colors
if (opts.color) {
colorIncr = colorIncrement (opts.color, range);
}
return this.each(function() {
weighting = $(this).attr("rel") - lowest;
if (opts.size) {
$(this).css({"font-size": opts.size.start + (weighting * fontIncr) + opts.size.unit});
}
if (opts.color) {
// change color to background-color
$(this).css({"backgroundColor": tagColor(opts.color, colorIncr, weighting)});
}
});
};
$.fn.tagcloud.defaults = {
size: {start: 14, end: 18, unit: "pt"}
};
// Converts hex to an RGB array
function toRGB (code) {
if (code.length == 4) {
code = jQuery.map(/\w+/.exec(code), function(el) {return el + el; }).join("");
}
hex = /(\w{2})(\w{2})(\w{2})/.exec(code);
return [parseInt(hex[1], 16), parseInt(hex[2], 16), parseInt(hex[3], 16)];
}
// Converts an RGB array to hex
function toHex (ary) {
return "#" + jQuery.map(ary, function(i) {
hex = i.toString(16);
hex = (hex.length == 1) ? "0" + hex : hex;
return hex;
}).join("");
}
function colorIncrement (color, range) {
return jQuery.map(toRGB(color.end), function(n, i) {
return (n - toRGB(color.start)[i])/range;
});
}
function tagColor (color, increment, weighting) {
rgb = jQuery.map(toRGB(color.start), function(n, i) {
ref = Math.round(n + (increment[i] * weighting));
if (ref > 255) {
ref = 255;
} else {
if (ref < 0) {
ref = 0;
}
}
return ref;
});
return toHex(rgb);
}
function compareWeights(a, b)
{
return a - b;
}
})(jQuery);

2
js/jquerymigrate.js vendored Normal file

File diff suppressed because one or more lines are too long

12
js/kity.min.js vendored Normal file

File diff suppressed because one or more lines are too long

10
js/kityminder.core.min.js vendored Normal file

File diff suppressed because one or more lines are too long

3
js/lazysizes.min.js vendored Normal file

File diff suppressed because one or more lines are too long

80
js/load-photoswipe.js Normal file
View File

@ -0,0 +1,80 @@
/*
Put this file in /static/js/load-photoswipe.js
Documentation and licence at https://github.com/liwenyip/hugo-easy-gallery/
*/
/* Show an alert if this js file has been loaded twice */
if (window.loadphotoswipejs) {
window.alert("You've loaded load-photoswipe.js twice. See https://github.com/liwenyip/hugo-easy-gallery/issues/6")
}
var loadphotoswipejs = 1
/* TODO: Make the share function work */
$( document ).ready(function() {
/*
Initialise Photoswipe
*/
var items = []; // array of slide objects that will be passed to PhotoSwipe()
// for every figure element on the page:
$('figure').each( function() {
if ($(this).attr('class') == 'no-photoswipe') return true; // ignore any figures where class="no-photoswipe"
// get properties from child a/img/figcaption elements,
var $figure = $(this),
$a = $figure.find('a'),
$img = $figure.find('img'),
$src = $a.attr('href'),
$title = $img.attr('alt'),
$msrc = $img.attr('src');
// if data-size on <a> tag is set, read it and create an item
if ($a.data('size')) {
var $size = $a.data('size').split('x');
var item = {
src : $src,
w : $size[0],
h : $size[1],
title : $title,
msrc : $msrc
};
console.log("Using pre-defined dimensions for " + $src);
// if not, set temp default size then load the image to check actual size
} else {
var item = {
src : $src,
w : 800, // temp default size
h : 600, // temp default size
title : $title,
msrc : $msrc
};
console.log("Using default dimensions for " + $src);
// load the image to check its dimensions
// update the item as soon as w and h are known (check every 30ms)
var img = new Image();
img.src = $src;
var wait = setInterval(function() {
var w = img.naturalWidth,
h = img.naturalHeight;
if (w && h) {
clearInterval(wait);
item.w = w;
item.h = h;
console.log("Got actual dimensions for " + img.src);
}
}, 30);
}
// Save the index of this image then add it to the array
var index = items.length;
items.push(item);
// Event handler for click on a figure
$figure.on('click', function(event) {
event.preventDefault(); // prevent the normal behaviour i.e. load the <a> hyperlink
// Get the PSWP element and initialise it with the desired options
var $pswp = $('.pswp')[0];
var options = {
index: index,
bgOpacity: 0.8,
showHideOpacity: true
}
new PhotoSwipe($pswp, PhotoSwipeUI_Default, items, options).init();
});
});
});

50
js/mindmap.js Normal file
View File

@ -0,0 +1,50 @@
$(document).ready(function() {
$('.mindmap').each(function() {
MM_FUNCS.drawMindMap(this);
});
});
var MM_FUNCS = {
// 将 li 节点转换为 JSON 数据
li2jsonData: function(liNode) {
var liData;
var aNode = liNode.children("a:first");
if (aNode.length !== 0) {
liData = {
"data": {
"text": aNode.text(),
"hyperlink": aNode.attr("href")
}
};
} else {
liData = {
"data": {
"text": liNode[0].childNodes[0].nodeValue.trim()
}
};
}
liNode.find("> ul > li").each(function() {
if (!liData.hasOwnProperty("children")) {
liData.children = [];
}
liData.children.push(MM_FUNCS.li2jsonData($(this)));
});
return liData;
},
// 绘制脑图
drawMindMap: function(ulParent) {
var ulElement = $(ulParent).find(">ul:first");
var mmData = {"root": {}};
var minder = new kityminder.Minder({
renderTo: ulParent
});
mmData.root = MM_FUNCS.li2jsonData(ulElement.children("li:first"));
minder.importData('json', JSON.stringify(mmData));
minder.disable();
minder.execCommand('hand');
$(ulElement).hide();
}
};

1
js/mindmap.min.js vendored Normal file
View File

@ -0,0 +1 @@
$(document).ready(function(){$(".mindmap").each(function(){MM_FUNCS.drawMindMap(this)})});var MM_FUNCS={li2jsonData:function(c){var a;var b=c.children("a:first");if(b.length!==0){a={"data":{"text":b.text(),"hyperlink":b.attr("href")}}}else{a={"data":{"text":c[0].childNodes[0].nodeValue.trim()}}}c.find("> ul > li").each(function(){if(!a.hasOwnProperty("children")){a.children=[]}a.children.push(MM_FUNCS.li2jsonData($(this)))});return a},drawMindMap:function(a){var d=$(a).find(">ul:first");var c={"root":{}};var b=new kityminder.Minder({renderTo:a});c.root=MM_FUNCS.li2jsonData(d.children("li:first"));b.importData("json",JSON.stringify(c));b.disable();b.execCommand("hand");$(d).hide()}};

1
js/production.min.js vendored Normal file

File diff suppressed because one or more lines are too long

59
js/reward.js Normal file
View File

@ -0,0 +1,59 @@
function ZanShang(){
this.popbg = $('.zs-modal-bg');
this.popcon = $('.zs-modal-box');
this.closeBtn = $('.zs-modal-box .close');
this.zsbtn = $('.zs-modal-btns .btn');
this.zsPay = $('.zs-modal-pay');
this.zsBtns = $('.zs-modal-btns');
this.zsFooter = $('.zs-modal-footer');
var that = this;
$('.show-zs').on('click',function(){
//点击赞赏按钮出现弹窗
that._show();
that._init();
})
}
ZanShang.prototype._hide = function(){
this.popbg.hide();
this.popcon.hide();
}
ZanShang.prototype._show = function(){
this.popbg.show();
this.popcon.show();
this.zsBtns.show();
this.zsFooter.show();
this.zsPay.hide();
}
ZanShang.prototype._init = function(){
var that = this;
this.closeBtn.on('click',function(){
that._hide();
})
this.popbg.on('click',function(){
that._hide();
})
this.zsbtn.each(function(el){
$(this).on('click',function(){
var num = $(this).attr('data-num'); //按钮的对应的数字
var type = $('.zs-type:radio:checked').val();//付款方式
//根据不同付款方式和选择对应的按钮的数字来生成对应的二维码图片,你可以自定义这个图片的路径,默认放在/img/reward目录中
//假如你需要加一个远程路径,比如我的就是
//http://zhaohuabing.com/img/reward/'+type+'-'+num+'.png';
var src = '/img/reward/'+type+'-'+num+'.png';
var text = $(this).html();
var payType=$('#pay-type'), payImage = $('#pay-image'),payText = $('#pay-text');
if(type=='alipay'){
payType.html('支付宝');
}else{
payType.html('微信');
}
payImage.attr('src',src);
payText.html(text);
that.zsPay.show();
that.zsBtns.hide();
that.zsFooter.hide();
})
})
}
var zs = new ZanShang();

10
page/1/index.html Normal file
View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>http://localhost:1313/</title>
<link rel="canonical" href="http://localhost:1313/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=http://localhost:1313/">
</head>
</html>

350
post/index.html Normal file
View File

@ -0,0 +1,350 @@
<!DOCTYPE html>
<html lang="en-us">
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:site_name" content="Huabing Blog">
<meta property="og:type" content="article">
<meta property="og:image" content="http://localhost:1313//">
<meta property="twitter:image" content="http://localhost:1313//" />
<meta name="title" content="" />
<meta property="og:title" content="" />
<meta property="twitter:title" content="" />
<meta name="description" content="">
<meta property="og:description" content="" />
<meta property="twitter:description" content="" />
<meta property="twitter:card" content="summary" />
<meta name="keyword" content="">
<link rel="shortcut icon" href="/img/favicon.ico">
<title>Posts | </title>
<link rel="canonical" href="/post/">
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/hugo-theme-cleanwhite.min.css">
<link rel="stylesheet" href="/css/zanshang.css">
<link rel="stylesheet" href="/css/font-awesome.all.min.css">
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/hux-blog.min.js"></script>
<script src="/js/lazysizes.min.js"></script>
</head>
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Huabing Blog</a>
</div>
<div id="huxblog_navbar">
<div class="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="/">All Posts</a>
</li>
<li>
<a href="/categories/tech/">tech</a>
</li>
<li>
<a href="/search"><i class="fa fa-search"></i></a>
</li>
</ul>
</div>
</div>
</div>
</nav>
<script>
var $body = document.body;
var $toggle = document.querySelector('.navbar-toggle');
var $navbar = document.querySelector('#huxblog_navbar');
var $collapse = document.querySelector('.navbar-collapse');
$toggle.addEventListener('click', handleMagic)
function handleMagic(e){
if ($navbar.className.indexOf('in') > 0) {
$navbar.className = " ";
setTimeout(function(){
if($navbar.className.indexOf('in') < 0) {
$collapse.style.height = "0px"
}
},400)
}else{
$collapse.style.height = "auto"
$navbar.className += " in";
}
}
</script>
<header class="intro-header" style="background-image: url('/')">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 ">
<div class="site-heading">
<h1>Huabing Blog </h1>
<span class="subheading"></span>
</div>
</div>
</div>
</div>
</header>
<article>
<div class="container">
<div class="row">
<div class="
col-lg-8 col-lg-offset-2
col-md-10 col-md-offset-1
post-container">
</div>
<div class="
col-lg-8 col-lg-offset-2
col-md-10 col-md-offset-1
sidebar-container">
</div>
</div>
</div>
</article>
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center">
</ul>
<p class="copyright text-muted">
Copyright &copy; Huabing Blog 2025
</p>
</div>
</div>
</div>
</footer>
<script>
function loadAsync(u, c) {
var d = document, t = 'script',
o = d.createElement(t),
s = d.getElementsByTagName(t)[0];
o.src = u;
if (c) { o.addEventListener('load', function (e) { c(null, e); }, false); }
s.parentNode.insertBefore(o, s);
}
</script>
<script>
if($('#tag_cloud').length !== 0){
loadAsync("/js/jquery.tagcloud.js",function(){
$.fn.tagcloud.defaults = {
color: {start: '#bbbbee', end: '#0085a1'},
};
$('#tag_cloud a').tagcloud();
})
}
</script>
<script>
loadAsync("https://cdn.jsdelivr.net/npm/fastclick@1.0.6/lib/fastclick.min.js", function(){
var $nav = document.querySelector("nav");
if($nav) FastClick.attach($nav);
})
</script>
<script type="text/javascript">
function generateCatalog(selector) {
_containerSelector = 'div.post-container'
var P = $(_containerSelector), a, n, t, l, i, c;
a = P.find('h1,h2,h3,h4,h5,h6');
$(selector).html('')
a.each(function () {
n = $(this).prop('tagName').toLowerCase();
i = "#" + $(this).prop('id');
t = $(this).text();
c = $('<a href="' + i + '" rel="nofollow" title="' + t + '">' + t + '</a>');
l = $('<li class="' + n + '_nav"></li>').append(c);
$(selector).append(l);
});
return true;
}
generateCatalog(".catalog-body");
$(".catalog-toggle").click((function (e) {
e.preventDefault();
$('.side-catalog').toggleClass("fold")
}))
loadAsync("\/js\/jquery.nav.js", function () {
$('.catalog-body').onePageNav({
currentClass: "active",
changeHash: !1,
easing: "swing",
filter: "",
scrollSpeed: 700,
scrollOffset: 0,
scrollThreshold: .2,
begin: null,
end: null,
scrollChange: null,
padding: 80
});
});
</script>
</body>
</html>

19
post/index.xml Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Posts on Huabing Blog</title>
<link>http://localhost:1313/post/</link>
<description>Recent content in Posts on Huabing Blog</description>
<generator>Hugo</generator>
<language>en-us</language>
<lastBuildDate>Mon, 04 Jun 2018 00:00:00 +0000</lastBuildDate>
<atom:link href="http://localhost:1313/post/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>An Example Post</title>
<link>http://localhost:1313/post/my-first-blog/</link>
<pubDate>Mon, 04 Jun 2018 00:00:00 +0000</pubDate>
<guid>http://localhost:1313/post/my-first-blog/</guid>
<description></description>
</item>
</channel>
</rss>

View File

@ -0,0 +1,364 @@
<!DOCTYPE html>
<html lang="en-us">
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:site_name" content="Huabing Blog">
<meta property="og:type" content="article">
<meta property="og:image" content="http://localhost:1313//">
<meta property="twitter:image" content="http://localhost:1313//" />
<meta name="title" content="An Example Post" />
<meta property="og:title" content="An Example Post" />
<meta property="twitter:title" content="An Example Post" />
<meta name="description" content="">
<meta property="og:description" content="" />
<meta property="twitter:description" content="" />
<meta property="twitter:card" content="summary" />
<meta name="keyword" content="">
<link rel="shortcut icon" href="/img/favicon.ico">
<title>An Example Post | </title>
<link rel="canonical" href="/post/my-first-blog/">
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/hugo-theme-cleanwhite.min.css">
<link rel="stylesheet" href="/css/zanshang.css">
<link rel="stylesheet" href="/css/font-awesome.all.min.css">
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/hux-blog.min.js"></script>
<script src="/js/lazysizes.min.js"></script>
</head>
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Huabing Blog</a>
</div>
<div id="huxblog_navbar">
<div class="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="/">All Posts</a>
</li>
<li>
<a href="/categories/tech/">tech</a>
</li>
<li>
<a href="/search"><i class="fa fa-search"></i></a>
</li>
</ul>
</div>
</div>
</div>
</nav>
<script>
var $body = document.body;
var $toggle = document.querySelector('.navbar-toggle');
var $navbar = document.querySelector('#huxblog_navbar');
var $collapse = document.querySelector('.navbar-collapse');
$toggle.addEventListener('click', handleMagic)
function handleMagic(e){
if ($navbar.className.indexOf('in') > 0) {
$navbar.className = " ";
setTimeout(function(){
if($navbar.className.indexOf('in') < 0) {
$collapse.style.height = "0px"
}
},400)
}else{
$collapse.style.height = "auto"
$navbar.className += " in";
}
}
</script>
<header class="intro-header" style="background-image: url('/')">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 ">
<div class="site-heading">
<h1>Huabing Blog </h1>
<span class="subheading"></span>
</div>
</div>
</div>
</div>
</header>
<article>
<div class="container">
<div class="row">
<div class="
col-lg-8 col-lg-offset-1
col-md-8 col-md-offset-1
col-sm-12
col-xs-12
post-container">
</div>
<div class="
col-lg-3 col-lg-offset-0
col-md-3 col-md-offset-0
col-sm-12
col-xs-12
sidebar-container
">
</div>
</div>
</div>
</article>
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center">
</ul>
<p class="copyright text-muted">
Copyright &copy; Huabing Blog 2025
</p>
</div>
</div>
</div>
</footer>
<script>
function loadAsync(u, c) {
var d = document, t = 'script',
o = d.createElement(t),
s = d.getElementsByTagName(t)[0];
o.src = u;
if (c) { o.addEventListener('load', function (e) { c(null, e); }, false); }
s.parentNode.insertBefore(o, s);
}
</script>
<script>
if($('#tag_cloud').length !== 0){
loadAsync("/js/jquery.tagcloud.js",function(){
$.fn.tagcloud.defaults = {
color: {start: '#bbbbee', end: '#0085a1'},
};
$('#tag_cloud a').tagcloud();
})
}
</script>
<script>
loadAsync("https://cdn.jsdelivr.net/npm/fastclick@1.0.6/lib/fastclick.min.js", function(){
var $nav = document.querySelector("nav");
if($nav) FastClick.attach($nav);
})
</script>
<script type="text/javascript">
function generateCatalog(selector) {
_containerSelector = 'div.post-container'
var P = $(_containerSelector), a, n, t, l, i, c;
a = P.find('h1,h2,h3,h4,h5,h6');
$(selector).html('')
a.each(function () {
n = $(this).prop('tagName').toLowerCase();
i = "#" + $(this).prop('id');
t = $(this).text();
c = $('<a href="' + i + '" rel="nofollow" title="' + t + '">' + t + '</a>');
l = $('<li class="' + n + '_nav"></li>').append(c);
$(selector).append(l);
});
return true;
}
generateCatalog(".catalog-body");
$(".catalog-toggle").click((function (e) {
e.preventDefault();
$('.side-catalog').toggleClass("fold")
}))
loadAsync("\/js\/jquery.nav.js", function () {
$('.catalog-body').onePageNav({
currentClass: "active",
changeHash: !1,
easing: "swing",
filter: "",
scrollSpeed: 700,
scrollOffset: 0,
scrollThreshold: .2,
begin: null,
end: null,
scrollChange: null,
padding: 80
});
});
</script>
</body>
</html>

29
sitemap.xml Normal file
View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>http://localhost:1313/post/my-first-blog/</loc>
<lastmod>2018-06-04T00:00:00+00:00</lastmod>
</url><url>
<loc>http://localhost:1313/categories/</loc>
<lastmod>2018-06-04T00:00:00+00:00</lastmod>
</url><url>
<loc>http://localhost:1313/</loc>
<lastmod>2018-06-04T00:00:00+00:00</lastmod>
</url><url>
<loc>http://localhost:1313/post/</loc>
<lastmod>2018-06-04T00:00:00+00:00</lastmod>
</url><url>
<loc>http://localhost:1313/tags/tag1/</loc>
<lastmod>2018-06-04T00:00:00+00:00</lastmod>
</url><url>
<loc>http://localhost:1313/tags/tag2/</loc>
<lastmod>2018-06-04T00:00:00+00:00</lastmod>
</url><url>
<loc>http://localhost:1313/tags/</loc>
<lastmod>2018-06-04T00:00:00+00:00</lastmod>
</url><url>
<loc>http://localhost:1313/categories/tech/</loc>
<lastmod>2018-06-04T00:00:00+00:00</lastmod>
</url>
</urlset>

350
tags/index.html Normal file
View File

@ -0,0 +1,350 @@
<!DOCTYPE html>
<html lang="en-us">
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:site_name" content="Huabing Blog">
<meta property="og:type" content="article">
<meta property="og:image" content="http://localhost:1313//">
<meta property="twitter:image" content="http://localhost:1313//" />
<meta name="title" content="" />
<meta property="og:title" content="" />
<meta property="twitter:title" content="" />
<meta name="description" content="">
<meta property="og:description" content="" />
<meta property="twitter:description" content="" />
<meta property="twitter:card" content="summary" />
<meta name="keyword" content="">
<link rel="shortcut icon" href="/img/favicon.ico">
<title>Tags | </title>
<link rel="canonical" href="/tags/">
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/hugo-theme-cleanwhite.min.css">
<link rel="stylesheet" href="/css/zanshang.css">
<link rel="stylesheet" href="/css/font-awesome.all.min.css">
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/hux-blog.min.js"></script>
<script src="/js/lazysizes.min.js"></script>
</head>
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Huabing Blog</a>
</div>
<div id="huxblog_navbar">
<div class="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="/">All Posts</a>
</li>
<li>
<a href="/categories/tech/">tech</a>
</li>
<li>
<a href="/search"><i class="fa fa-search"></i></a>
</li>
</ul>
</div>
</div>
</div>
</nav>
<script>
var $body = document.body;
var $toggle = document.querySelector('.navbar-toggle');
var $navbar = document.querySelector('#huxblog_navbar');
var $collapse = document.querySelector('.navbar-collapse');
$toggle.addEventListener('click', handleMagic)
function handleMagic(e){
if ($navbar.className.indexOf('in') > 0) {
$navbar.className = " ";
setTimeout(function(){
if($navbar.className.indexOf('in') < 0) {
$collapse.style.height = "0px"
}
},400)
}else{
$collapse.style.height = "auto"
$navbar.className += " in";
}
}
</script>
<header class="intro-header" style="background-image: url('/')">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 ">
<div class="site-heading">
<h1>Huabing Blog </h1>
<span class="subheading"></span>
</div>
</div>
</div>
</div>
</header>
<article>
<div class="container">
<div class="row">
<div class="
col-lg-8 col-lg-offset-2
col-md-10 col-md-offset-1
post-container">
</div>
<div class="
col-lg-8 col-lg-offset-2
col-md-10 col-md-offset-1
sidebar-container">
</div>
</div>
</div>
</article>
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center">
</ul>
<p class="copyright text-muted">
Copyright &copy; Huabing Blog 2025
</p>
</div>
</div>
</div>
</footer>
<script>
function loadAsync(u, c) {
var d = document, t = 'script',
o = d.createElement(t),
s = d.getElementsByTagName(t)[0];
o.src = u;
if (c) { o.addEventListener('load', function (e) { c(null, e); }, false); }
s.parentNode.insertBefore(o, s);
}
</script>
<script>
if($('#tag_cloud').length !== 0){
loadAsync("/js/jquery.tagcloud.js",function(){
$.fn.tagcloud.defaults = {
color: {start: '#bbbbee', end: '#0085a1'},
};
$('#tag_cloud a').tagcloud();
})
}
</script>
<script>
loadAsync("https://cdn.jsdelivr.net/npm/fastclick@1.0.6/lib/fastclick.min.js", function(){
var $nav = document.querySelector("nav");
if($nav) FastClick.attach($nav);
})
</script>
<script type="text/javascript">
function generateCatalog(selector) {
_containerSelector = 'div.post-container'
var P = $(_containerSelector), a, n, t, l, i, c;
a = P.find('h1,h2,h3,h4,h5,h6');
$(selector).html('')
a.each(function () {
n = $(this).prop('tagName').toLowerCase();
i = "#" + $(this).prop('id');
t = $(this).text();
c = $('<a href="' + i + '" rel="nofollow" title="' + t + '">' + t + '</a>');
l = $('<li class="' + n + '_nav"></li>').append(c);
$(selector).append(l);
});
return true;
}
generateCatalog(".catalog-body");
$(".catalog-toggle").click((function (e) {
e.preventDefault();
$('.side-catalog').toggleClass("fold")
}))
loadAsync("\/js\/jquery.nav.js", function () {
$('.catalog-body').onePageNav({
currentClass: "active",
changeHash: !1,
easing: "swing",
filter: "",
scrollSpeed: 700,
scrollOffset: 0,
scrollThreshold: .2,
begin: null,
end: null,
scrollChange: null,
padding: 80
});
});
</script>
</body>
</html>

26
tags/index.xml Normal file
View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on Huabing Blog</title>
<link>http://localhost:1313/tags/</link>
<description>Recent content in Tags on Huabing Blog</description>
<generator>Hugo</generator>
<language>en-us</language>
<lastBuildDate>Mon, 04 Jun 2018 00:00:00 +0000</lastBuildDate>
<atom:link href="http://localhost:1313/tags/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Tag1</title>
<link>http://localhost:1313/tags/tag1/</link>
<pubDate>Mon, 04 Jun 2018 00:00:00 +0000</pubDate>
<guid>http://localhost:1313/tags/tag1/</guid>
<description></description>
</item>
<item>
<title>Tag2</title>
<link>http://localhost:1313/tags/tag2/</link>
<pubDate>Mon, 04 Jun 2018 00:00:00 +0000</pubDate>
<guid>http://localhost:1313/tags/tag2/</guid>
<description></description>
</item>
</channel>
</rss>

386
tags/tag1/index.html Normal file
View File

@ -0,0 +1,386 @@
<!DOCTYPE html>
<html lang="en-us">
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:site_name" content="Huabing Blog">
<meta property="og:type" content="article">
<meta property="og:image" content="http://localhost:1313//">
<meta property="twitter:image" content="http://localhost:1313//" />
<meta name="title" content="" />
<meta property="og:title" content="" />
<meta property="twitter:title" content="" />
<meta name="description" content="">
<meta property="og:description" content="" />
<meta property="twitter:description" content="" />
<meta property="twitter:card" content="summary" />
<meta name="keyword" content="">
<link rel="shortcut icon" href="/img/favicon.ico">
<title>Tag1 | </title>
<link rel="canonical" href="/tags/tag1/">
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/hugo-theme-cleanwhite.min.css">
<link rel="stylesheet" href="/css/zanshang.css">
<link rel="stylesheet" href="/css/font-awesome.all.min.css">
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/hux-blog.min.js"></script>
<script src="/js/lazysizes.min.js"></script>
</head>
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Huabing Blog</a>
</div>
<div id="huxblog_navbar">
<div class="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="/">All Posts</a>
</li>
<li>
<a href="/categories/tech/">tech</a>
</li>
<li>
<a href="/search"><i class="fa fa-search"></i></a>
</li>
</ul>
</div>
</div>
</div>
</nav>
<script>
var $body = document.body;
var $toggle = document.querySelector('.navbar-toggle');
var $navbar = document.querySelector('#huxblog_navbar');
var $collapse = document.querySelector('.navbar-collapse');
$toggle.addEventListener('click', handleMagic)
function handleMagic(e){
if ($navbar.className.indexOf('in') > 0) {
$navbar.className = " ";
setTimeout(function(){
if($navbar.className.indexOf('in') < 0) {
$collapse.style.height = "0px"
}
},400)
}else{
$collapse.style.height = "auto"
$navbar.className += " in";
}
}
</script>
<header class="intro-header" style="background-image: url('/')">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 ">
<div class="site-heading">
<h1>Huabing Blog </h1>
<span class="subheading"></span>
</div>
</div>
</div>
</div>
</header>
<div data-pagefind-ignore="all" class="container">
<div class="row">
<div class="
col-lg-8 col-lg-offset-1
col-md-8 col-md-offset-1
col-sm-12
col-xs-12
post-container
">
<div data-pagefind-ignore="all">
<div class="post-preview">
<a href="http://localhost:1313/post/my-first-blog/">
<h2 class="post-title">
An Example Post
</h2>
<div class="post-content-preview">
</div>
</a>
<p class="post-meta">
Posted by     &#34;&#34; on Monday, June 4, 2018
</p>
</div>
<hr>
</div>
</div>
<div class="
col-lg-3 col-lg-offset-0
col-md-3 col-md-offset-0
col-sm-12
col-xs-12
sidebar-container
">
</div>
</div>
</div>
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center">
</ul>
<p class="copyright text-muted">
Copyright &copy; Huabing Blog 2025
</p>
</div>
</div>
</div>
</footer>
<script>
function loadAsync(u, c) {
var d = document, t = 'script',
o = d.createElement(t),
s = d.getElementsByTagName(t)[0];
o.src = u;
if (c) { o.addEventListener('load', function (e) { c(null, e); }, false); }
s.parentNode.insertBefore(o, s);
}
</script>
<script>
if($('#tag_cloud').length !== 0){
loadAsync("/js/jquery.tagcloud.js",function(){
$.fn.tagcloud.defaults = {
color: {start: '#bbbbee', end: '#0085a1'},
};
$('#tag_cloud a').tagcloud();
})
}
</script>
<script>
loadAsync("https://cdn.jsdelivr.net/npm/fastclick@1.0.6/lib/fastclick.min.js", function(){
var $nav = document.querySelector("nav");
if($nav) FastClick.attach($nav);
})
</script>
<script type="text/javascript">
function generateCatalog(selector) {
_containerSelector = 'div.post-container'
var P = $(_containerSelector), a, n, t, l, i, c;
a = P.find('h1,h2,h3,h4,h5,h6');
$(selector).html('')
a.each(function () {
n = $(this).prop('tagName').toLowerCase();
i = "#" + $(this).prop('id');
t = $(this).text();
c = $('<a href="' + i + '" rel="nofollow" title="' + t + '">' + t + '</a>');
l = $('<li class="' + n + '_nav"></li>').append(c);
$(selector).append(l);
});
return true;
}
generateCatalog(".catalog-body");
$(".catalog-toggle").click((function (e) {
e.preventDefault();
$('.side-catalog').toggleClass("fold")
}))
loadAsync("\/js\/jquery.nav.js", function () {
$('.catalog-body').onePageNav({
currentClass: "active",
changeHash: !1,
easing: "swing",
filter: "",
scrollSpeed: 700,
scrollOffset: 0,
scrollThreshold: .2,
begin: null,
end: null,
scrollChange: null,
padding: 80
});
});
</script>
</body>
</html>

19
tags/tag1/index.xml Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tag1 on Huabing Blog</title>
<link>http://localhost:1313/tags/tag1/</link>
<description>Recent content in Tag1 on Huabing Blog</description>
<generator>Hugo</generator>
<language>en-us</language>
<lastBuildDate>Mon, 04 Jun 2018 00:00:00 +0000</lastBuildDate>
<atom:link href="http://localhost:1313/tags/tag1/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>An Example Post</title>
<link>http://localhost:1313/post/my-first-blog/</link>
<pubDate>Mon, 04 Jun 2018 00:00:00 +0000</pubDate>
<guid>http://localhost:1313/post/my-first-blog/</guid>
<description></description>
</item>
</channel>
</rss>

View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>http://localhost:1313/tags/tag1/</title>
<link rel="canonical" href="http://localhost:1313/tags/tag1/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=http://localhost:1313/tags/tag1/">
</head>
</html>

386
tags/tag2/index.html Normal file
View File

@ -0,0 +1,386 @@
<!DOCTYPE html>
<html lang="en-us">
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:site_name" content="Huabing Blog">
<meta property="og:type" content="article">
<meta property="og:image" content="http://localhost:1313//">
<meta property="twitter:image" content="http://localhost:1313//" />
<meta name="title" content="" />
<meta property="og:title" content="" />
<meta property="twitter:title" content="" />
<meta name="description" content="">
<meta property="og:description" content="" />
<meta property="twitter:description" content="" />
<meta property="twitter:card" content="summary" />
<meta name="keyword" content="">
<link rel="shortcut icon" href="/img/favicon.ico">
<title>Tag2 | </title>
<link rel="canonical" href="/tags/tag2/">
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/hugo-theme-cleanwhite.min.css">
<link rel="stylesheet" href="/css/zanshang.css">
<link rel="stylesheet" href="/css/font-awesome.all.min.css">
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/hux-blog.min.js"></script>
<script src="/js/lazysizes.min.js"></script>
</head>
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Huabing Blog</a>
</div>
<div id="huxblog_navbar">
<div class="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="/">All Posts</a>
</li>
<li>
<a href="/categories/tech/">tech</a>
</li>
<li>
<a href="/search"><i class="fa fa-search"></i></a>
</li>
</ul>
</div>
</div>
</div>
</nav>
<script>
var $body = document.body;
var $toggle = document.querySelector('.navbar-toggle');
var $navbar = document.querySelector('#huxblog_navbar');
var $collapse = document.querySelector('.navbar-collapse');
$toggle.addEventListener('click', handleMagic)
function handleMagic(e){
if ($navbar.className.indexOf('in') > 0) {
$navbar.className = " ";
setTimeout(function(){
if($navbar.className.indexOf('in') < 0) {
$collapse.style.height = "0px"
}
},400)
}else{
$collapse.style.height = "auto"
$navbar.className += " in";
}
}
</script>
<header class="intro-header" style="background-image: url('/')">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 ">
<div class="site-heading">
<h1>Huabing Blog </h1>
<span class="subheading"></span>
</div>
</div>
</div>
</div>
</header>
<div data-pagefind-ignore="all" class="container">
<div class="row">
<div class="
col-lg-8 col-lg-offset-1
col-md-8 col-md-offset-1
col-sm-12
col-xs-12
post-container
">
<div data-pagefind-ignore="all">
<div class="post-preview">
<a href="http://localhost:1313/post/my-first-blog/">
<h2 class="post-title">
An Example Post
</h2>
<div class="post-content-preview">
</div>
</a>
<p class="post-meta">
Posted by     &#34;&#34; on Monday, June 4, 2018
</p>
</div>
<hr>
</div>
</div>
<div class="
col-lg-3 col-lg-offset-0
col-md-3 col-md-offset-0
col-sm-12
col-xs-12
sidebar-container
">
</div>
</div>
</div>
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center">
</ul>
<p class="copyright text-muted">
Copyright &copy; Huabing Blog 2025
</p>
</div>
</div>
</div>
</footer>
<script>
function loadAsync(u, c) {
var d = document, t = 'script',
o = d.createElement(t),
s = d.getElementsByTagName(t)[0];
o.src = u;
if (c) { o.addEventListener('load', function (e) { c(null, e); }, false); }
s.parentNode.insertBefore(o, s);
}
</script>
<script>
if($('#tag_cloud').length !== 0){
loadAsync("/js/jquery.tagcloud.js",function(){
$.fn.tagcloud.defaults = {
color: {start: '#bbbbee', end: '#0085a1'},
};
$('#tag_cloud a').tagcloud();
})
}
</script>
<script>
loadAsync("https://cdn.jsdelivr.net/npm/fastclick@1.0.6/lib/fastclick.min.js", function(){
var $nav = document.querySelector("nav");
if($nav) FastClick.attach($nav);
})
</script>
<script type="text/javascript">
function generateCatalog(selector) {
_containerSelector = 'div.post-container'
var P = $(_containerSelector), a, n, t, l, i, c;
a = P.find('h1,h2,h3,h4,h5,h6');
$(selector).html('')
a.each(function () {
n = $(this).prop('tagName').toLowerCase();
i = "#" + $(this).prop('id');
t = $(this).text();
c = $('<a href="' + i + '" rel="nofollow" title="' + t + '">' + t + '</a>');
l = $('<li class="' + n + '_nav"></li>').append(c);
$(selector).append(l);
});
return true;
}
generateCatalog(".catalog-body");
$(".catalog-toggle").click((function (e) {
e.preventDefault();
$('.side-catalog').toggleClass("fold")
}))
loadAsync("\/js\/jquery.nav.js", function () {
$('.catalog-body').onePageNav({
currentClass: "active",
changeHash: !1,
easing: "swing",
filter: "",
scrollSpeed: 700,
scrollOffset: 0,
scrollThreshold: .2,
begin: null,
end: null,
scrollChange: null,
padding: 80
});
});
</script>
</body>
</html>

19
tags/tag2/index.xml Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tag2 on Huabing Blog</title>
<link>http://localhost:1313/tags/tag2/</link>
<description>Recent content in Tag2 on Huabing Blog</description>
<generator>Hugo</generator>
<language>en-us</language>
<lastBuildDate>Mon, 04 Jun 2018 00:00:00 +0000</lastBuildDate>
<atom:link href="http://localhost:1313/tags/tag2/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>An Example Post</title>
<link>http://localhost:1313/post/my-first-blog/</link>
<pubDate>Mon, 04 Jun 2018 00:00:00 +0000</pubDate>
<guid>http://localhost:1313/post/my-first-blog/</guid>
<description></description>
</item>
</channel>
</rss>

View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>http://localhost:1313/tags/tag2/</title>
<link rel="canonical" href="http://localhost:1313/tags/tag2/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=http://localhost:1313/tags/tag2/">
</head>
</html>

BIN
webfonts/fa-brands-400.woff Normal file

Binary file not shown.

Binary file not shown.

BIN
webfonts/fa-solid-900.woff2 Normal file

Binary file not shown.