🚧 #12256 skins
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<div class="main-wrap">
|
||||
<main>
|
||||
<div class="title">
|
||||
<h2 style="border-bottom:0">
|
||||
<h2 class="tip">
|
||||
<i class="icon-inbox"></i>
|
||||
|
||||
<#if "en" == localeString?substring(0, 2)>
|
||||
|
||||
29
9IPHP/category-articles.ftl
Normal file
29
9IPHP/category-articles.ftl
Normal file
@@ -0,0 +1,29 @@
|
||||
<#include "macro-head.ftl">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<@head title="${category.categoryTitle} - ${blogTitle}">
|
||||
<meta name="keywords" content="${metaKeywords},${category.categoryTitle}"/>
|
||||
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
|
||||
</@head>
|
||||
</head>
|
||||
<body>
|
||||
<#include "header.ftl">
|
||||
<div class="wrapper">
|
||||
<div class="main-wrap">
|
||||
<main>
|
||||
<div class="title">
|
||||
<h2 class="tip"><i class="icon-category"></i>
|
||||
${category.categoryTitle}
|
||||
<small>${category.categoryDescription}</small>
|
||||
</h2>
|
||||
|
||||
</div>
|
||||
<#include "article-list.ftl">
|
||||
</main>
|
||||
<#include "side.ftl">
|
||||
</div>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
</body>
|
||||
</html>
|
||||
@@ -495,25 +495,6 @@ a[class*=" icon-"]:hover {
|
||||
text-decoration: none;
|
||||
color: #4285f4
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'icomoon';
|
||||
src: url("fonts/icomoon.eot?68j667");
|
||||
src: url("fonts/icomoon.eot?68j667#iefix") format("embedded-opentype"), url("fonts/icomoon.ttf?68j667") format("truetype"), url("fonts/icomoon.woff?68j667") format("woff"), url("fonts/icomoon.svg?68j667#icomoon") format("svg");
|
||||
font-weight: normal;
|
||||
font-style: normal
|
||||
}
|
||||
[class^="icon-"],
|
||||
[class*=" icon-"] {
|
||||
font-family: 'icomoon' !important;
|
||||
speak: none;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
line-height: 1;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale
|
||||
}
|
||||
.em00, .em01, .em02, .em03, .em04, .em05, .em06, .em07, .em08, .em09,
|
||||
.em10, .em11, .em12, .em13, .em14 {
|
||||
cursor: pointer;
|
||||
@@ -593,6 +574,32 @@ a[class*=" icon-"]:hover {
|
||||
/* end common */
|
||||
|
||||
/* start reset common */
|
||||
@font-face {
|
||||
font-family: 'icomoon';
|
||||
src: url('fonts/icomoon.eot?oyqnlj');
|
||||
src: url('fonts/icomoon.eot?oyqnlj#iefix') format('embedded-opentype'),
|
||||
url('fonts/icomoon.ttf?oyqnlj') format('truetype'),
|
||||
url('fonts/icomoon.woff?oyqnlj') format('woff'),
|
||||
url('fonts/icomoon.svg?oyqnlj#icomoon') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
[class^="icon-"], [class*=" icon-"] {
|
||||
/* use !important to prevent issues with browser extensions that change fonts */
|
||||
font-family: 'icomoon' !important;
|
||||
speak: none;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
line-height: 1;
|
||||
|
||||
/* Better Font Rendering =========== */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.icon-list:before {
|
||||
content: "\f0ca";
|
||||
}
|
||||
@@ -623,6 +630,9 @@ a[class*=" icon-"]:hover {
|
||||
.icon-refresh:before {
|
||||
content: "\f021";
|
||||
}
|
||||
.icon-category:before {
|
||||
content: "\e9bc";
|
||||
}
|
||||
.icon-logout:before {
|
||||
content: "\ea14";
|
||||
}
|
||||
@@ -641,6 +651,7 @@ a[class*=" icon-"]:hover {
|
||||
.icon-rss:before {
|
||||
content: "\e901";
|
||||
}
|
||||
|
||||
*::selection {
|
||||
background: none repeat scroll 0% 0% #3D4450;
|
||||
color: #FFF;
|
||||
@@ -1051,6 +1062,10 @@ aside.has-toc > section:last-child {
|
||||
border-bottom: 1px solid #f1f1f1;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.title > h2.tip {
|
||||
border-bottom: 0
|
||||
}
|
||||
/* end article list */
|
||||
|
||||
/* start comments */
|
||||
|
||||
2
9IPHP/css/base.min.css
vendored
2
9IPHP/css/base.min.css
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -11,6 +11,7 @@
|
||||
<glyph unicode="" glyph-name="rss" d="M136.294 209.070c-75.196 0-136.292-61.334-136.292-136.076 0-75.154 61.1-135.802 136.292-135.802 75.466 0 136.494 60.648 136.494 135.802-0.002 74.742-61.024 136.076-136.494 136.076zM0.156 612.070v-196.258c127.784 0 247.958-49.972 338.458-140.512 90.384-90.318 140.282-211.036 140.282-339.3h197.122c-0.002 372.82-303.282 676.070-675.862 676.070zM0.388 960v-196.356c455.782 0 826.756-371.334 826.756-827.644h196.856c0 564.47-459.254 1024-1023.612 1024z" />
|
||||
<glyph unicode="" glyph-name="register" d="M384 224c0 151.234 95.874 280.486 230.032 330.2 16.28 36.538 25.968 77.164 25.968 117.8 0 159.058 0 288-192 288s-192-128.942-192-288c0-99.060 57.502-198.104 128-237.832v-52.78c-217.102-17.748-384-124.42-384-253.388h397.306c-8.664 30.53-13.306 62.732-13.306 96zM736 512c-159.058 0-288-128.942-288-288s128.942-288 288-288c159.056 0 288 128.942 288 288s-128.942 288-288 288zM896 192h-128v-128h-64v128h-128v64h128v128h64v-128h128v-64z" />
|
||||
<glyph unicode="" glyph-name="setting" d="M933.79 349.75c-53.726 93.054-21.416 212.304 72.152 266.488l-100.626 174.292c-28.75-16.854-62.176-26.518-97.846-26.518-107.536 0-194.708 87.746-194.708 195.99h-201.258c0.266-33.41-8.074-67.282-25.958-98.252-53.724-93.056-173.156-124.702-266.862-70.758l-100.624-174.292c28.97-16.472 54.050-40.588 71.886-71.478 53.638-92.908 21.512-211.92-71.708-266.224l100.626-174.292c28.65 16.696 61.916 26.254 97.4 26.254 107.196 0 194.144-87.192 194.7-194.958h201.254c-0.086 33.074 8.272 66.57 25.966 97.218 53.636 92.906 172.776 124.594 266.414 71.012l100.626 174.29c-28.78 16.466-53.692 40.498-71.434 71.228zM512 240.668c-114.508 0-207.336 92.824-207.336 207.334 0 114.508 92.826 207.334 207.336 207.334 114.508 0 207.332-92.826 207.332-207.334-0.002-114.51-92.824-207.334-207.332-207.334z" />
|
||||
<glyph unicode="" glyph-name="category" d="M976 192h-16v208c0 61.756-50.242 112-112 112h-272v128h16c26.4 0 48 21.6 48 48v160c0 26.4-21.6 48-48 48h-160c-26.4 0-48-21.6-48-48v-160c0-26.4 21.6-48 48-48h16v-128h-272c-61.756 0-112-50.244-112-112v-208h-16c-26.4 0-48-21.6-48-48v-160c0-26.4 21.6-48 48-48h160c26.4 0 48 21.6 48 48v160c0 26.4-21.6 48-48 48h-16v192h256v-192h-16c-26.4 0-48-21.6-48-48v-160c0-26.4 21.6-48 48-48h160c26.4 0 48 21.6 48 48v160c0 26.4-21.6 48-48 48h-16v192h256v-192h-16c-26.4 0-48-21.6-48-48v-160c0-26.4 21.6-48 48-48h160c26.4 0 48 21.6 48 48v160c0 26.4-21.6 48-48 48zM192 0h-128v128h128v-128zM576 0h-128v128h128v-128zM448 704v128h128v-128h-128zM960 0h-128v128h128v-128z" />
|
||||
<glyph unicode="" glyph-name="login" d="M384 448h-320v128h320v128l192-192-192-192zM1024 960v-832l-384-192v192h-384v256h64v-192h320v576l256 128h-576v-256h-64v320z" />
|
||||
<glyph unicode="" glyph-name="logout" d="M768 320v128h-320v128h320v128l192-192zM704 384v-256h-320v-192l-384 192v832h704v-320h-64v256h-512l256-128v-576h256v192z" />
|
||||
<glyph unicode="" glyph-name="search" horiz-adv-x="951" d="M658.286 475.428c0 141.143-114.857 256-256 256s-256-114.857-256-256 114.857-256 256-256 256 114.857 256 256zM950.857 0c0-40-33.143-73.143-73.143-73.143-19.429 0-38.286 8-51.429 21.714l-196 195.429c-66.857-46.286-146.857-70.857-228-70.857-222.286 0-402.286 180-402.286 402.286s180 402.286 402.286 402.286 402.286-180 402.286-402.286c0-81.143-24.571-161.143-70.857-228l196-196c13.143-13.143 21.143-32 21.143-51.429z" />
|
||||
|
||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 13 KiB |
Binary file not shown.
Binary file not shown.
@@ -19,13 +19,13 @@
|
||||
"attrs": [],
|
||||
"properties": {
|
||||
"name": "list",
|
||||
"id": 290,
|
||||
"order": 106,
|
||||
"id": 6,
|
||||
"order": 3,
|
||||
"prevSize": 28,
|
||||
"code": 61642
|
||||
},
|
||||
"setIdx": 1,
|
||||
"setId": 1,
|
||||
"setIdx": 0,
|
||||
"setId": 3,
|
||||
"iconIdx": 0
|
||||
},
|
||||
{
|
||||
@@ -46,13 +46,13 @@
|
||||
"attrs": [],
|
||||
"properties": {
|
||||
"name": "home",
|
||||
"id": 289,
|
||||
"order": 107,
|
||||
"id": 7,
|
||||
"order": 4,
|
||||
"prevSize": 28,
|
||||
"code": 61461
|
||||
},
|
||||
"setIdx": 1,
|
||||
"setId": 1,
|
||||
"setIdx": 0,
|
||||
"setId": 3,
|
||||
"iconIdx": 1
|
||||
},
|
||||
{
|
||||
@@ -73,14 +73,14 @@
|
||||
"attrs": [],
|
||||
"properties": {
|
||||
"name": "comments",
|
||||
"id": 286,
|
||||
"order": 110,
|
||||
"id": 8,
|
||||
"order": 5,
|
||||
"prevSize": 28,
|
||||
"code": 61670
|
||||
},
|
||||
"setIdx": 1,
|
||||
"setId": 1,
|
||||
"iconIdx": 4
|
||||
"setIdx": 0,
|
||||
"setId": 3,
|
||||
"iconIdx": 2
|
||||
},
|
||||
{
|
||||
"icon": {
|
||||
@@ -100,14 +100,14 @@
|
||||
"attrs": [],
|
||||
"properties": {
|
||||
"name": "date",
|
||||
"id": 285,
|
||||
"order": 111,
|
||||
"id": 9,
|
||||
"order": 6,
|
||||
"prevSize": 28,
|
||||
"code": 61555
|
||||
},
|
||||
"setIdx": 1,
|
||||
"setId": 1,
|
||||
"iconIdx": 5
|
||||
"setIdx": 0,
|
||||
"setId": 3,
|
||||
"iconIdx": 3
|
||||
},
|
||||
{
|
||||
"icon": {
|
||||
@@ -127,14 +127,14 @@
|
||||
"attrs": [],
|
||||
"properties": {
|
||||
"name": "search",
|
||||
"id": 284,
|
||||
"order": 112,
|
||||
"id": 10,
|
||||
"order": 7,
|
||||
"prevSize": 28,
|
||||
"code": 61442
|
||||
},
|
||||
"setIdx": 1,
|
||||
"setId": 1,
|
||||
"iconIdx": 6
|
||||
"setIdx": 0,
|
||||
"setId": 3,
|
||||
"iconIdx": 4
|
||||
},
|
||||
{
|
||||
"icon": {
|
||||
@@ -154,14 +154,14 @@
|
||||
"attrs": [],
|
||||
"properties": {
|
||||
"name": "up",
|
||||
"id": 283,
|
||||
"order": 113,
|
||||
"id": 11,
|
||||
"order": 8,
|
||||
"prevSize": 28,
|
||||
"code": 61559
|
||||
},
|
||||
"setIdx": 1,
|
||||
"setId": 1,
|
||||
"iconIdx": 7
|
||||
"setIdx": 0,
|
||||
"setId": 3,
|
||||
"iconIdx": 5
|
||||
},
|
||||
{
|
||||
"icon": {
|
||||
@@ -181,14 +181,14 @@
|
||||
"attrs": [],
|
||||
"properties": {
|
||||
"name": "inbox",
|
||||
"id": 280,
|
||||
"order": 114,
|
||||
"id": 12,
|
||||
"order": 9,
|
||||
"prevSize": 28,
|
||||
"code": 61468
|
||||
},
|
||||
"setIdx": 1,
|
||||
"setId": 1,
|
||||
"iconIdx": 8
|
||||
"setIdx": 0,
|
||||
"setId": 3,
|
||||
"iconIdx": 6
|
||||
},
|
||||
{
|
||||
"icon": {
|
||||
@@ -208,14 +208,14 @@
|
||||
"attrs": [],
|
||||
"properties": {
|
||||
"name": "tags",
|
||||
"id": 279,
|
||||
"order": 115,
|
||||
"id": 13,
|
||||
"order": 10,
|
||||
"prevSize": 28,
|
||||
"code": 61484
|
||||
},
|
||||
"setIdx": 1,
|
||||
"setId": 1,
|
||||
"iconIdx": 9
|
||||
"setIdx": 0,
|
||||
"setId": 3,
|
||||
"iconIdx": 7
|
||||
},
|
||||
{
|
||||
"icon": {
|
||||
@@ -236,14 +236,14 @@
|
||||
"attrs": [],
|
||||
"properties": {
|
||||
"name": "link",
|
||||
"id": 278,
|
||||
"order": 116,
|
||||
"id": 14,
|
||||
"order": 11,
|
||||
"prevSize": 28,
|
||||
"code": 61633
|
||||
},
|
||||
"setIdx": 1,
|
||||
"setId": 1,
|
||||
"iconIdx": 10
|
||||
"setIdx": 0,
|
||||
"setId": 3,
|
||||
"iconIdx": 8
|
||||
},
|
||||
{
|
||||
"icon": {
|
||||
@@ -263,14 +263,41 @@
|
||||
"attrs": [],
|
||||
"properties": {
|
||||
"name": "refresh",
|
||||
"id": 277,
|
||||
"order": 117,
|
||||
"id": 15,
|
||||
"order": 12,
|
||||
"prevSize": 28,
|
||||
"code": 61473
|
||||
},
|
||||
"setIdx": 1,
|
||||
"setId": 1,
|
||||
"iconIdx": 11
|
||||
"setIdx": 0,
|
||||
"setId": 3,
|
||||
"iconIdx": 9
|
||||
},
|
||||
{
|
||||
"icon": {
|
||||
"paths": [
|
||||
"M976 768h-16v-208c0-61.756-50.242-112-112-112h-272v-128h16c26.4 0 48-21.6 48-48v-160c0-26.4-21.6-48-48-48h-160c-26.4 0-48 21.6-48 48v160c0 26.4 21.6 48 48 48h16v128h-272c-61.756 0-112 50.244-112 112v208h-16c-26.4 0-48 21.6-48 48v160c0 26.4 21.6 48 48 48h160c26.4 0 48-21.6 48-48v-160c0-26.4-21.6-48-48-48h-16v-192h256v192h-16c-26.4 0-48 21.6-48 48v160c0 26.4 21.6 48 48 48h160c26.4 0 48-21.6 48-48v-160c0-26.4-21.6-48-48-48h-16v-192h256v192h-16c-26.4 0-48 21.6-48 48v160c0 26.4 21.6 48 48 48h160c26.4 0 48-21.6 48-48v-160c0-26.4-21.6-48-48-48zM192 960h-128v-128h128v128zM576 960h-128v-128h128v128zM448 256v-128h128v128h-128zM960 960h-128v-128h128v128z"
|
||||
],
|
||||
"tags": [
|
||||
"tree",
|
||||
"branches",
|
||||
"inheritance"
|
||||
],
|
||||
"defaultCode": 59836,
|
||||
"grid": 16,
|
||||
"attrs": []
|
||||
},
|
||||
"attrs": [],
|
||||
"properties": {
|
||||
"ligatures": "tree, branches",
|
||||
"name": "category",
|
||||
"order": 13,
|
||||
"id": 16,
|
||||
"prevSize": 32,
|
||||
"code": 59836
|
||||
},
|
||||
"setIdx": 0,
|
||||
"setId": 3,
|
||||
"iconIdx": 10
|
||||
},
|
||||
{
|
||||
"icon": {
|
||||
@@ -294,14 +321,14 @@
|
||||
"properties": {
|
||||
"ligatures": "exit, signout",
|
||||
"name": "logout",
|
||||
"id": 288,
|
||||
"order": 108,
|
||||
"id": 0,
|
||||
"order": 14,
|
||||
"prevSize": 32,
|
||||
"code": 59924
|
||||
},
|
||||
"setIdx": 1,
|
||||
"setId": 1,
|
||||
"iconIdx": 2
|
||||
"setIdx": 0,
|
||||
"setId": 3,
|
||||
"iconIdx": 11
|
||||
},
|
||||
{
|
||||
"icon": {
|
||||
@@ -323,15 +350,15 @@
|
||||
{}
|
||||
],
|
||||
"properties": {
|
||||
"order": 109,
|
||||
"id": 287,
|
||||
"order": 15,
|
||||
"id": 1,
|
||||
"name": "views",
|
||||
"prevSize": 32,
|
||||
"code": 59648
|
||||
},
|
||||
"setIdx": 1,
|
||||
"setId": 1,
|
||||
"iconIdx": 3
|
||||
"setIdx": 0,
|
||||
"setId": 3,
|
||||
"iconIdx": 12
|
||||
},
|
||||
{
|
||||
"icon": {
|
||||
@@ -359,14 +386,14 @@
|
||||
"properties": {
|
||||
"ligatures": "user-plus, user2",
|
||||
"name": "register",
|
||||
"id": 115,
|
||||
"order": 118,
|
||||
"id": 2,
|
||||
"order": 16,
|
||||
"prevSize": 32,
|
||||
"code": 59763
|
||||
},
|
||||
"setIdx": 1,
|
||||
"setId": 1,
|
||||
"iconIdx": 12
|
||||
"setIdx": 0,
|
||||
"setId": 3,
|
||||
"iconIdx": 13
|
||||
},
|
||||
{
|
||||
"icon": {
|
||||
@@ -392,14 +419,14 @@
|
||||
"properties": {
|
||||
"ligatures": "cog, gear",
|
||||
"name": "setting",
|
||||
"id": 148,
|
||||
"order": 119,
|
||||
"id": 3,
|
||||
"order": 17,
|
||||
"prevSize": 32,
|
||||
"code": 59796
|
||||
},
|
||||
"setIdx": 1,
|
||||
"setId": 1,
|
||||
"iconIdx": 13
|
||||
"setIdx": 0,
|
||||
"setId": 3,
|
||||
"iconIdx": 14
|
||||
},
|
||||
{
|
||||
"icon": {
|
||||
@@ -421,14 +448,14 @@
|
||||
"properties": {
|
||||
"ligatures": "enter, signin",
|
||||
"name": "login",
|
||||
"id": 275,
|
||||
"order": 120,
|
||||
"id": 4,
|
||||
"order": 18,
|
||||
"prevSize": 32,
|
||||
"code": 59923
|
||||
},
|
||||
"setIdx": 1,
|
||||
"setId": 1,
|
||||
"iconIdx": 14
|
||||
"setIdx": 0,
|
||||
"setId": 3,
|
||||
"iconIdx": 15
|
||||
},
|
||||
{
|
||||
"icon": {
|
||||
@@ -451,15 +478,15 @@
|
||||
{}
|
||||
],
|
||||
"properties": {
|
||||
"order": 121,
|
||||
"id": 0,
|
||||
"order": 19,
|
||||
"id": 5,
|
||||
"prevSize": 32,
|
||||
"code": 59649,
|
||||
"name": "rss"
|
||||
},
|
||||
"setIdx": 1,
|
||||
"setId": 1,
|
||||
"iconIdx": 15
|
||||
"setIdx": 0,
|
||||
"setId": 3,
|
||||
"iconIdx": 16
|
||||
}
|
||||
],
|
||||
"height": 1024,
|
||||
|
||||
2
9IPHP/js/common.min.js
vendored
2
9IPHP/js/common.min.js
vendored
@@ -13,4 +13,4 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
var Skin={_initCommon:function(i){$("body").on("click",".content-reset img",function(){window.open(this.src)});var t=$("header .banner"),n=$("header .navbar");$(window).scroll(function(){if($(window).scrollTop()>125?i.show():i.hide(),$(window).width()<701)return!1;$(window).scrollTop()>t.height()?(n.addClass("pin"),$(".main-wrap").parent().css("margin-top","86px")):(n.removeClass("pin"),$(".main-wrap").parent().css("margin-top","0"))})},init:function(){this._initCommon($(".icon-up")),$(".navbar nav a").each(function(){this.href===location.href&&(this.className="current")}),$(".responsive .list a").each(function(){this.href===location.href&&$(this).parent().addClass("current")}),$(".responsive .icon-list").click(function(){$(".responsive .list").slideToggle()})},_initArticleCommon:function(i,t){if($(".b3-solo-list li").length>0&&$(window).width()>1e3){$("aside").addClass("has-toc");var n='<ul class="fn-clear"><li class="current" data-tab="toc">'+i+'</li><li data-tab="site">'+t+"</li></ul><section></section>";$("aside").prepend(n);var o=$("aside section:first").html($(".b3-solo-list")),s=$("aside section:last");o.height($(window).height()-154).css({overflow:"auto",width:$("aside").width()+"px"}),s.hide(),$("aside > ul > li").click(function(){"toc"===$(this).data("tab")?s.animate({opacity:"0",top:"-50px"},300,function(){o.show().css("top","-50px"),o.animate({opacity:"1",top:"0"},300).show()}):o.animate({opacity:"0",top:"-50px"},300,function(){o.hide().css("top","-50px"),s.animate({opacity:"1",top:"0"},300).show()}).hide(),$("aside > ul > li").removeClass("current"),$(this).addClass("current")}),$(window).scroll(function(){$(window).scrollTop()>125?$("aside section:eq(0)").css({position:"fixed",top:"51px",backgroundColor:"#fff"}):$("aside section:eq(0)").css({position:"inherit",borderLeft:0})})}},initArticle:function(i,t){this._initArticleCommon(i,t)}};Skin.init();
|
||||
var Skin={_initCommon:function(i){$("body").on("click",".content-reset img",function(){window.open(this.src)});var t=$("header .banner"),n=$("header .navbar");$(window).scroll(function(){return $(window).scrollTop()>125?i.show():i.hide(),!($(window).width()<701)&&void($(window).scrollTop()>t.height()?(n.addClass("pin"),$(".main-wrap").parent().css("margin-top","86px")):(n.removeClass("pin"),$(".main-wrap").parent().css("margin-top","0")))})},init:function(){this._initCommon($(".icon-up")),$(".navbar nav a").each(function(){this.href===location.href&&(this.className="current")}),$(".responsive .list a").each(function(){this.href===location.href&&$(this).parent().addClass("current")}),$(".responsive .icon-list").click(function(){$(".responsive .list").slideToggle()})},_initArticleCommon:function(i,t){if($(".b3-solo-list li").length>0&&$(window).width()>1e3){$("aside").addClass("has-toc");var n='<ul class="fn-clear"><li class="current" data-tab="toc">'+i+'</li><li data-tab="site">'+t+"</li></ul><section></section>";$("aside").prepend(n);var o=$("aside section:first").html($(".b3-solo-list")),s=$("aside section:last");o.height($(window).height()-154).css({overflow:"auto",width:$("aside").width()+"px"}),s.hide(),$("aside > ul > li").click(function(){"toc"===$(this).data("tab")?s.animate({opacity:"0",top:"-50px"},300,function(){o.show().css("top","-50px"),o.animate({opacity:"1",top:"0"},300).show()}):o.animate({opacity:"0",top:"-50px"},300,function(){o.hide().css("top","-50px"),s.animate({opacity:"1",top:"0"},300).show()}).hide(),$("aside > ul > li").removeClass("current"),$(this).addClass("current")}),$(window).scroll(function(){$(window).scrollTop()>125?$("aside section:eq(0)").css({position:"fixed",top:"51px",backgroundColor:"#fff"}):$("aside section:eq(0)").css({position:"inherit",borderLeft:0})})}},initArticle:function(i,t){this._initArticleCommon(i,t)}};Skin.init();
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
#
|
||||
# Description: B3log Solo language configurations(en_US).
|
||||
# Version: 1.1.0.0, Mar 14, 2017
|
||||
# Version: 1.2.0.0, Apr 8, 2017
|
||||
# Author: Liyuan Li
|
||||
#
|
||||
|
||||
@@ -27,4 +27,5 @@ readLabel=Read More
|
||||
nextArticleLabel=Next
|
||||
previousArticleLabel=Previous
|
||||
articleCP1Label=Please indicate the source:
|
||||
viewCountLabel=View Count
|
||||
viewCountLabel=View Count
|
||||
cntLabel=
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
#
|
||||
# Description: B3log Solo default language configurations(zh_CN).
|
||||
# Version: 1.1.0.0, Mar 14, 2017
|
||||
# Version: 1.2.0.0, Apr 8, 2017
|
||||
# Author: Liyuan Li
|
||||
#
|
||||
|
||||
@@ -27,4 +27,5 @@ readLabel=\u9605\u8BFB\u5168\u6587
|
||||
nextArticleLabel=\u65B0\u4E00\u7BC7
|
||||
previousArticleLabel=\u65E7\u4E00\u7BC7
|
||||
articleCP1Label=\u8F6C\u8F7D\u8BF7\u6CE8\u660E\u6765\u6E90\uFF1A
|
||||
viewCountLabel=\u6D4F\u89C8\u6570
|
||||
viewCountLabel=\u6D4F\u89C8\u6570
|
||||
cntLabel=\u4E2A
|
||||
@@ -6,14 +6,29 @@
|
||||
</div>
|
||||
</#if>
|
||||
|
||||
<#if 0 != mostUsedCategories?size>
|
||||
<div class="module">
|
||||
<header><h2>${categoryLabel}</h2></header>
|
||||
<main>
|
||||
<#list mostUsedCategories as category>
|
||||
<a href="${servePath}/category/${category.categoryURI}"
|
||||
aria-label="${category.categoryTagCnt} ${cntLabel}${tagsLabel}"
|
||||
class="tag tooltipped tooltipped-n">
|
||||
${category.categoryTitle}</a>
|
||||
</#list>
|
||||
</main>
|
||||
</div>
|
||||
</#if>
|
||||
|
||||
<#if 0 != mostUsedTags?size>
|
||||
<div class="module">
|
||||
<header><h2>${popTagsLabel}</h2></header>
|
||||
<header><h2>${tagsLabel}</h2></header>
|
||||
<main>
|
||||
<#list mostUsedTags as tag>
|
||||
<a rel="tag" title="${tag.tagTitle}(${tag.tagPublishedRefCount})"
|
||||
<a rel="tag"
|
||||
href="${servePath}/tags/${tag.tagTitle?url('UTF-8')}"
|
||||
class="tag tooltipped tooltipped-n" aria-label="${tag.tagPublishedRefCount} ${countLabel}${articleLabel}">
|
||||
class="tag tooltipped tooltipped-n"
|
||||
aria-label="${tag.tagPublishedRefCount} ${countLabel}${articleLabel}">
|
||||
${tag.tagTitle}</a>
|
||||
</#list>
|
||||
</main>
|
||||
|
||||
@@ -11,56 +11,13 @@
|
||||
<#include "header.ftl">
|
||||
<div class="wrapper">
|
||||
<div class="main-wrap">
|
||||
<main class="other">
|
||||
<main>
|
||||
<div class="title">
|
||||
<h2><i class="icon-tags"></i>
|
||||
<h2 class="tip"><i class="icon-tags"></i>
|
||||
${tag.tagTitle}
|
||||
<small>${tagLabel}</small>
|
||||
</div>
|
||||
<ul class="list">
|
||||
<#list articles as article>
|
||||
<li>
|
||||
<a class="post-title" href="${servePath}${article.articlePermalink}">
|
||||
<span>${article.articleTitle}</span>
|
||||
<#if article.articlePutTop>
|
||||
<sup>
|
||||
${topArticleLabel}
|
||||
</sup>
|
||||
</#if>
|
||||
<#if article.hasUpdated>
|
||||
<sup>
|
||||
${updatedLabel}
|
||||
</sup>
|
||||
</#if>
|
||||
<time class="fn-right">
|
||||
<i class="icon-date"></i> ${article.articleCreateDate?string("yyyy-MM-dd")}
|
||||
</time>
|
||||
</a>
|
||||
</li>
|
||||
</#list>
|
||||
</ul>
|
||||
|
||||
<#if 0 != paginationPageCount>
|
||||
<div class="fn-clear">
|
||||
<nav class="pagination fn-right">
|
||||
<#if 1 != paginationPageNums?first>
|
||||
<a href="${servePath}${path}/${paginationPreviousPageNum}" class="page-number">«</a>
|
||||
<a class="page-number" href="${servePath}${path}/1">1</a> <span class="page-number">...</span>
|
||||
</#if>
|
||||
<#list paginationPageNums as paginationPageNum>
|
||||
<#if paginationPageNum == paginationCurrentPageNum>
|
||||
<span class="page-number current">${paginationPageNum}</span>
|
||||
<#else>
|
||||
<a class="page-number" href="${servePath}${path}/${paginationPageNum}">${paginationPageNum}</a>
|
||||
</#if>
|
||||
</#list>
|
||||
<#if paginationPageNums?last != paginationPageCount> <span class="page-number">...</span>
|
||||
<a href="${servePath}${path}/${paginationPageCount}" class="page-number">${paginationPageCount}</a>
|
||||
<a href="${servePath}${path}/${paginationNextPageNum}" class="page-number">»</a>
|
||||
</#if>
|
||||
</nav>
|
||||
</div>
|
||||
</#if>
|
||||
<#include "article-list.ftl">
|
||||
</main>
|
||||
<#include "side.ftl">
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user