码农笔录博客源码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.7 KiB

6 years ago
{{template "header" .}}
5 years ago
<meta name="keywords" content="码农随笔,个人随笔,博客,个人博客,个人笔记,技术博客,免费云笔记,云笔记,随笔,IT博客,谷歌地图,码农笔录,aiprose">
<title>码农随笔· IT技术博客</title>
6 years ago
</head>
<body>
{{template "nav" .}}
5 years ago
<div class="blog-root">
5 years ago
<div class="jumbotron" style="margin-top: 50px;margin-bottom: 10px">
5 years ago
<blockquote class="layui-elem-quote">码农随笔 2.0(golang)版本正式上线</blockquote>
5 years ago
</div>
6 years ago
<div style="display: flex">
<div style="flex: 1">
<h5>最新发布</h5>
{{range .TimeBlog}}
<p><a href="/blog/{{.Id}}" target="_blank">{{.Title}}</a></p>
6 years ago
{{end}}
5 years ago
<p><a href="https://www.aiprose.com/blogs">查看更多...</a></p>
6 years ago
</div>
<div style="flex: 1">
<h5>流量王者</h5>
{{range .BrowsBlog}}
<p><a href="/blog/{{.Id}}" target="_blank">{{.Title}}</a></p>
6 years ago
{{end}}
5 years ago
<p><a href="https://www.aiprose.com/blogs">查看更多...</a></p>
6 years ago
</div>
</div>
<div style="display: flex">
<div style="flex: 1">
<h5>收藏排行</h5>
{{range .LikeBlog}}
<p><a href="/blog/{{.Id}}" target="_blank">{{.Title}}</a></p>
6 years ago
{{end}}
5 years ago
<p><a href="https://www.aiprose.com/blogs">查看更多...</a></p>
6 years ago
</div>
<div style="flex: 1">
<h5>人气最旺</h5>
{{range .CommBlog}}
<p><a href="/blog/{{.Id}}" target="_blank">{{.Title}}</a></p>
6 years ago
{{end}}
5 years ago
<p><a href="https://www.aiprose.com/blogs">查看更多...</a></p>
6 years ago
</div>
</div>
</div>
<div>
</div>
5 years ago
<div class="footer-container">
6 years ago
{{template "footer"}}
</div>
</body>
6 years ago
<script>
$(function () {
/*百度收录*/
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
}
else {
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
/*360收录*/
var qihuo = document.createElement('script');
6 years ago
if (curProtocol === 'https') {
qihuo.src = 'https://jspassport.ssl.qhimg.com/11.0.1.js?d33b14200fa89b7ecd3780341cd234c';
}
else {
qihuo.src = 'http://js.passport.qihucdn.com/11.0.1.js?d33b14200fa89b7ecd3780341cd234c4';
}
qihuo.id = "sozz"
var s = document.getElementsByTagName("script")[1];
s.parentNode.insertBefore(qihuo, s);
6 years ago
})
</script>
6 years ago
</html>