-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
276 changed files
with
140 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<% let _inc_brand_url = config.root || '/' %> | ||
<% let _inc_brand_text = (theme.brand && theme.brand.text) || config.title %> | ||
<% if (theme.brand && theme.brand.parent) { %> | ||
<a href="<%= theme.brand.parent.url %>?utm_source=<%= theme.meta.url %>&utm_medium=brand" target="_blank" rel="external "><%= theme.brand.parent.text %></a><a href="<%= _inc_brand_url %>"><%= _inc_brand_text %></a> | ||
<% } else { %> | ||
<a <% if (className) { %>class="<%= className %>" <% } %>href="<%= _inc_brand_url %>"><%= _inc_brand_text %></a> | ||
<% } %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<% let _inc_cr = theme.copyright %><% let _inc_external = false %><% if (_inc_cr) { %><% let _inc_current = date(new Date(), 'YYYY') %><% let _inc_start = (_inc_cr.period && _inc_cr.period.start) || _inc_current %><% let _inc_site_url = config.root || '/' %><% let _inc_url = (_inc_cr.owner && _inc_cr.owner.url) || _inc_site_url %><% if (_inc_url.indexOf('http') === 0) { %> | ||
<% _inc_external = true %><% if (utm) { %><% _inc_url = `${_inc_url}?${utm}` %><% } %> | ||
<% } %>© <% if (_inc_start != _inc_current) { %><%= _inc_start %>-<% } %><%= _inc_current %> <a href="<%= _inc_url %>"<% if (_inc_external) { %> target="_blank" rel="external "<% } %>><%= _inc_cr.owner.text || config.title %></a> 版权所有 | ||
<% } %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<% let _inc_link_url = 'javascript:void(0);' %><% let _inc_external = false %><% if ((link.url || '').indexOf('http') === 0) { %><% _inc_link_url = `${link.url}?${utm}` %><% _inc_external = true %><% } else if (link.url) { %><% _inc_link_url = `${config.root || '/'}${link.url[0] === '/' ? link.url.slice(1) : link.url}` %><% } %><a href="<%= _inc_link_url %>"<% if (_inc_external) { %> target="_blank" rel="external "<% } %>><% if (wrap === true) { %><span><%= link.text %></span><% } else { %><%= link.text %><% } %></a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<% navs.forEach(_inc_nav => { %> | ||
<% if (_inc_nav.children) { %> | ||
<li class="dropdown"> | ||
<a class="dropdown-toggle" href="javascript:void(0);" data-toggle="dropdown"><%= _inc_nav.text %> <span class="caret"></span></a> | ||
<ul class="dropdown-menu"><%- partial('_components/nav-list', { navs: _inc_nav.children }) %></ul> | ||
</li> | ||
<% } else { %> | ||
<li><%- partial('_components/link', { link: _inc_nav, utm: `utm_source=${theme.meta.url}&utm_medium=common-header`, wrap: false }) %></li> | ||
<% } %> | ||
<% }) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<footer class="Page-footer Footer"> | ||
<div class="<% if (site.data.local && site.data.local.repos && site.data.local.repos[page.repo]) { %>container-fluid<% } else { %>container<% } %>"> | ||
<% let utm_params = `utm_source=${theme.meta.url}&utm_medium=common-footer` %> | ||
<div class="Footer-description"> | ||
<% if (theme.footer && (theme.footer.links || []).length > 0) { %> | ||
<!-- Important links --> | ||
<nav class="Footer-navs"> | ||
<ul><% theme.footer.links.forEach(link => { %><li><%- partial('_components/link', { link, utm: utm_params, wrap: true }) %></li><% }) %></ul> | ||
</nav> | ||
<% } %> | ||
<% if (theme.copyright) { %> | ||
<!-- Copyright --> | ||
<div class="Footer-copyright"> | ||
<p><%- partial('_components/copyright', { utm: utm_params }) %></p> | ||
<% if (theme.copyright.provider !== false) { %><p>本站主题 <a href="https://ourai.github.io/lime/?<%= utm_params %>" target="_blank" rel="external ">Lime</a> 由 <a href="https://linxoid.com/ourai/?<%= utm_params %>" target="_blank" rel="external ">欧雷</a> 提供</p><% } %> | ||
<% if (theme.copyright.fragments) { %><%- theme.copyright.fragments %><% } %> | ||
</div> | ||
<% } %> | ||
</div> | ||
</div> | ||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<meta charset="UTF-8"> | ||
<%- partial("meta/seo") %> | ||
<%- partial("meta/render") %> | ||
<%- partial("meta/feed") %> | ||
<%- partial("meta/brand") %> | ||
<%- partial('meta/seo') %> | ||
<%- partial('meta/render') %> | ||
<%- partial('meta/feed') %> | ||
<%- partial('meta/brand') %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<header class="Page-header"> | ||
<div class="navbar navbar-static-top"> | ||
<div class="<% if (site.data.local && site.data.local.repos && site.data.local.repos[page.repo]) { %>container-fluid<% } else { %>container<% } %>"> | ||
<div class="navbar-header"> | ||
<% if (theme.header && (theme.header.navs || []).length > 0) { %> | ||
<button class="navbar-toggle collapsed" type="button" data-target=".Page-navs" data-toggle="collapse"> | ||
<span class="sr-only">Toggle navs</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<% } %> | ||
<% if (theme.brand && theme.brand.parent) { %> | ||
<div class="navbar-brand"><%- partial('_components/brand-link', { className: '' }) %></div> | ||
<% } else { %> | ||
<%- partial('_components/brand-link', { className: 'navbar-brand' }) %> | ||
<% } %> | ||
</div> | ||
<!-- Nav menus --> | ||
<nav class="Page-navs navbar-collapse collapse"> | ||
<ul class="nav navbar-nav<% if (theme.header && theme.header.navbar && theme.header.navbar.placement == 'right') { %> navbar-right<% } %>"> | ||
<%- partial('_components/nav-list', { navs: ((theme.header && theme.header.navs) || []) }) %> | ||
</ul> | ||
</nav> | ||
</div> | ||
</div> | ||
</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<%- favicon_tag("images/ksio/favicon.ico") %> | ||
<%- favicon_tag('images/ksio/favicon.ico') %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<%- partial('_partials/header') %> | ||
<main class="Page-content" style="height: 100%;"> | ||
<div style="height: calc(100% - 271px); display: flex; align-items: center; justify-content: center; text-align: center;"> | ||
<div> | ||
<h1 style="margin-top: 0; margin-bottom: .3em; font-size: 10rem; font-weight: 700;"><%= config.title %></h1> | ||
<p style="margin-bottom: 0; font-size: 2.5rem;"><%= config.subtitle || config.description %></p> | ||
</div> | ||
</div> | ||
</main> | ||
<%- partial('_partials/footer') %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
<!DOCTYPE html> | ||
<html lang="<%= config.language %>" dir="ltr"> | ||
<head> | ||
<%- partial("_partials/head") %> | ||
<%- css("stylesheets/global") %> | ||
<%- css("stylesheets/pages/home") %> | ||
<%- js("javascripts/ksio/vendors/jquery-1.11.3.min") %> | ||
<%- js("javascripts/ksio/vendors/bootstrap.min") %> | ||
<%- partial('_partials/head') %> | ||
<%- css('stylesheets/global') %> | ||
<% if (page.__index) { %> | ||
<!--%- css('stylesheets/pages/home') %--> | ||
<% } %> | ||
<%- js('javascripts/ksio/vendors/jquery-1.11.3.min') %> | ||
<%- js('javascripts/ksio/vendors/bootstrap.min') %> | ||
</head> | ||
<body class="Page" itemscope itemtype="http:https://schema.org/WebPage"><%- body %></body> | ||
</html> |
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
56 changes: 0 additions & 56 deletions
56
src/standalone/stylesheets/polyfills/_bootstrap-custom.scss
This file was deleted.
Oops, something went wrong.