website: update website template.
This commit is contained in:
parent
c2a41a189b
commit
82614a5c9a
|
|
@ -1,7 +1,5 @@
|
|||
|
||||
<%-include('header'); %>
|
||||
<%- include('search',{type: "list"}); %>
|
||||
|
||||
<%- include('partial/header'); %>
|
||||
<%- include('widget/search',{type: "list"}); %>
|
||||
<div class="markdown-body">
|
||||
<% if(md_path){ %>
|
||||
<span class="edit_btn">
|
||||
|
|
@ -12,5 +10,5 @@
|
|||
<% } %>
|
||||
{{content}}
|
||||
</div>
|
||||
|
||||
<%- include('footer',{type: "list"}); %>
|
||||
<%- include('widget/footer',{type: "list"}); %>
|
||||
<%- include('partial/footer'); %>
|
||||
|
|
@ -1,7 +1,5 @@
|
|||
|
||||
<%- include('header',{src:""}); %>
|
||||
<%- include('search',{type: "list"}); %>
|
||||
|
||||
<%- include('partial/header'); %>
|
||||
<%- include('widget/search',{type: "list"}); %>
|
||||
<div class="hotlist">
|
||||
<ul>
|
||||
<%describe.arr.forEach(function(page,item){%>
|
||||
|
|
@ -9,5 +7,5 @@
|
|||
<%});%>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<%- include('footer',{type: 'list'}); %>
|
||||
<%- include('widget/footer',{type: "list"}); %>
|
||||
<%- include('partial/footer'); %>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
|
||||
<%- include('header'); %>
|
||||
<%- include('search',{type: "index"}); %>
|
||||
<%- include('footer',{type: "index"}); %>
|
||||
<%- include('partial/header'); %>
|
||||
<div>
|
||||
<%- include('widget/search',{type: "home"}); %>
|
||||
<%- include('widget/footer',{type: "home"}); %>
|
||||
</div>
|
||||
<%- include('partial/footer'); %>
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
<%- include('header',{src:""}); %>
|
||||
<%- include('search',{type: "list"}); %>
|
||||
<%- include('partial/header'); %>
|
||||
<%- include('widget/search',{type: "list"}); %>
|
||||
|
||||
<div class="search_list">
|
||||
<ul id="search_list_result">
|
||||
|
|
@ -11,4 +10,5 @@
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<%- include('footer',{type: 'list'}); %>
|
||||
<%- include('widget/footer',{type: "list"}); %>
|
||||
<%- include('partial/footer'); %>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<script>
|
||||
var _hmt = _hmt || []; (function() {var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?a542c0213a9aa8ae29fccdc8a18b91ef"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script>
|
||||
<script type="text/javascript" src="<%=relative_path%>js/dt.js?v=<%=new Date().getTime()%>"></script>
|
||||
<script type="text/javascript" src="<%=relative_path%>js/index.js?v=<%=new Date().getTime()%>"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -183,10 +183,27 @@ a {
|
|||
color #616161
|
||||
font-size 14px
|
||||
font-weight 300
|
||||
border-top: 1px solid #efefef;
|
||||
padding-bottom: 50px;
|
||||
&.footer_index {
|
||||
border-top: 0
|
||||
border-top 1px solid #efefef
|
||||
padding-bottom 50px;
|
||||
padding 31px 6px 50px 6px
|
||||
&.home {
|
||||
border-top 0
|
||||
}
|
||||
}
|
||||
.header.home {
|
||||
.header_inner {
|
||||
display flex
|
||||
flex-direction column
|
||||
align-items center
|
||||
}
|
||||
.logo {
|
||||
min-height 140px
|
||||
display flex
|
||||
align-items center
|
||||
}
|
||||
.search {
|
||||
display flex
|
||||
min-width 320px
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -209,9 +226,6 @@ a {
|
|||
width 136px
|
||||
}
|
||||
}
|
||||
.footer {
|
||||
display none
|
||||
}
|
||||
}
|
||||
|
||||
.search_list {
|
||||
|
|
@ -269,7 +283,7 @@ a {
|
|||
}
|
||||
}
|
||||
|
||||
.header_inner, .hotlist {
|
||||
.header_inner, .hotlist, .search_list {
|
||||
max-width 920px
|
||||
margin 0 auto
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<!-- Linux命令行搜索引擎:https://jaywcjlove.github.io/linux-command/ -->
|
||||
<div class="footer <%if(type=='index'){%> footer_index <%}%>">
|
||||
<div class="footer <%if(type=='home'){%> home <%}%>">
|
||||
<a target="_blank" href="https://github.com/jaywcjlove/linux-command/new/master/command">添加命令</a> |
|
||||
<a href="<%=relative_path%>hot.html">命令列表</a> |
|
||||
<a href="https://github.com/jaywcjlove/oscnews">Chrome 插件</a> |
|
||||
|
|
@ -11,15 +11,9 @@
|
|||
<a href="https://github.com/jaywcjlove/linux-command">Github</a> |
|
||||
<a href="https://jaywcjlove.github.io/linux-command/">短地址:https://git.io/linux</a>
|
||||
<br />
|
||||
收藏本站请使用Ctrl+D或者Command+d
|
||||
收藏本站请使用 Ctrl+D 或者Command+d
|
||||
<br /> 共搜集到
|
||||
<span id="commands_info">
|
||||
<%=describe.command_length?describe.command_length:''%>
|
||||
</span> 个Linux命令
|
||||
</div>
|
||||
<script>
|
||||
var _hmt = _hmt || []; (function() {var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?a542c0213a9aa8ae29fccdc8a18b91ef"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script>
|
||||
<script type="text/javascript" src="<%=relative_path%>js/dt.js?v=<%=new Date().getTime()%>"></script>
|
||||
<script type="text/javascript" src="<%=relative_path%>js/index.js?v=<%=new Date().getTime()%>"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path>
|
||||
</svg>
|
||||
</a>
|
||||
<div class="header<%if(type=='list'){%> header_list<%}%>">
|
||||
<div class="header<%if(type=='list'){%> header_list<%}%><%if(type=='home'){%> home<%}%>">
|
||||
<div class="header_inner">
|
||||
<div class="logo">
|
||||
<a href="/">
|
||||
Loading…
Reference in New Issue