kefu/static/templates/official/article.html

67 lines
2.2 KiB
HTML
Raw Normal View History

2024-12-10 02:50:12 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>{{ .title }}-在线客服系统-私有云独立部署在线客服系统源码-网站客服系统</title>
<meta name="keywords" content="在线客服系统,客服系统源码,在线客服下载,在线客服代码,开源客服,网页在线客服,免费客服系统,客服系统部署,安装在线客服,golang客服,php客服" />
<meta name="description" content="客服系统,在线客服一套可独立私有化部署的网站网页在线客服系统安装搭建极其简单仅依赖MySQL数据库支持宝塔面板一键部署两分钟搭建自己的网站在线客服系统" />
{{template "head" .}}
<style>
.h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
margin: 15px 0px;
}
</style>
</head>
<body style="background: #f4f6f8">
{{template "navgator" .}}
<div class="showBanner">
<h1>{{ .title }}</h1>
</div>
<div class="main">
<div class="container-lg">
<ul class="breadcrumb">
<li><a href="/">首页</a></li>
<li><a href="/articles.html">系列文章</a></li>
<li><a href="/articles.html">{{ .title }}</a></li>
</ul>
<div class="artcileBody">
<div class="detailContent">
{{ .content }}
</div>
</div>
</div>
{{template "footer" .}}
</body>
<link rel="stylesheet" href="/static/js/highlight/styles/monokai-sublime.css">
<script src="/static/js/highlight/highlight.pack.js"></script>
<script>
//因为UEditor的pre里面不包code所以需要一段代码来包上code标签
var allpre = document.getElementsByTagName("pre");
for(i = 0; i < allpre.length; i++)
{
var onepre = document.getElementsByTagName("pre")[i];
var mycode = document.getElementsByTagName("pre")[i].innerHTML;
onepre.innerHTML = '<code id="mycode">'+mycode+'</code>';
}
//再调用highlight
hljs.initHighlightingOnLoad();
</script>
</html>