-
Notifications
You must be signed in to change notification settings - Fork 808
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #983 from getgridea/dev
update build dir and netlify deploy support
- Loading branch information
Showing
28 changed files
with
2,493 additions
and
2,421 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
registry=https://registry.npmjs.org |
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
74 changes: 37 additions & 37 deletions
74
public/default-files/themes/fly/templates/includes/head.ejs
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,37 +1,37 @@ | ||
|
||
<meta charset="utf-8" > | ||
|
||
<title><%= siteTitle %></title> | ||
<meta name="description" content="<%= themeConfig.siteDescription %>"> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css"> | ||
|
||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous"> | ||
<link rel="shortcut icon" href="<%= themeConfig.domain %>/favicon.ico?v=<%= site.utils.now %>"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.10.0/katex.min.css"> | ||
<link rel="stylesheet" href="<%= themeConfig.domain %>/styles/main.css"> | ||
|
||
<% if (typeof commentSetting !== 'undefined' && commentSetting.showComment) { %> | ||
<% if (commentSetting.commentPlatform === 'gitalk') { %> | ||
<link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css" /> | ||
<% } %> | ||
<% if (commentSetting.commentPlatform === 'disqus') { %> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/disqusjs.css" /> | ||
<% } %> | ||
<% } %> | ||
|
||
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> | ||
<script src="https://cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js"></script> | ||
|
||
<% if (site.customConfig.ga) { %> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=<%= site.customConfig.ga %>"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
gtag('config', '<%= site.customConfig.ga %>'); | ||
</script> | ||
<% } %> | ||
|
||
<meta charset="utf-8" > | ||
|
||
<title><%= siteTitle %></title> | ||
<meta name="description" content="<%= themeConfig.siteDescription %>"> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css"> | ||
|
||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous"> | ||
<link rel="shortcut icon" href="<%= themeConfig.domain %>/favicon.ico?v=<%= site.utils.now %>"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.10.0/katex.min.css"> | ||
<link rel="stylesheet" href="<%= themeConfig.domain %>/styles/main.css"> | ||
|
||
<% if (typeof commentSetting !== 'undefined' && commentSetting.showComment) { %> | ||
<% if (commentSetting.commentPlatform === 'gitalk') { %> | ||
<link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css" /> | ||
<% } %> | ||
<% if (commentSetting.commentPlatform === 'disqus') { %> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/disqusjs.css" /> | ||
<% } %> | ||
<% } %> | ||
|
||
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> | ||
<script src="//cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js"></script> | ||
|
||
<% if (site.customConfig.ga) { %> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=<%= site.customConfig.ga %>"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
gtag('config', '<%= site.customConfig.ga %>'); | ||
</script> | ||
<% } %> |
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
<meta name="description" content="<%- post.description %>" /> | ||
<meta name="keywords" content="<%- post.tags.map(tag => tag.name).join(',') %>" /> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.10.0/katex.min.css"> | ||
<script src="https://cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js"></script> | ||
<script src="//cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js"></script> | ||
</head> | ||
<body> | ||
<div class="main"> | ||
|
@@ -32,7 +32,7 @@ | |
<img class="post-feature-image" src="<%= post.feature %>" alt=""> | ||
<% } %> | ||
<div class="post-content-wrapper"> | ||
<div class="post-content"> | ||
<div class="post-content" v-pre> | ||
<%- post.content %> | ||
</div> | ||
<div class="toc-container"> | ||
|
72 changes: 36 additions & 36 deletions
72
public/default-files/themes/paper/templates/_blocks/head.ejs
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,36 +1,36 @@ | ||
<meta charset="utf-8" > | ||
|
||
<title><%= siteTitle %></title> | ||
<meta name="description" content="<%= themeConfig.siteDescription %>"> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | ||
<link rel="shortcut icon" href="<%= themeConfig.domain %>/favicon.ico?v=<%= site.utils.now %>"> | ||
|
||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/paper.min.css" /> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.10.0/katex.min.css"> | ||
<link rel="stylesheet" href="<%= themeConfig.domain %>/styles/main.css"> | ||
|
||
<% if (typeof commentSetting !== 'undefined' && commentSetting.showComment) { %> | ||
<% if (commentSetting.commentPlatform === 'gitalk') { %> | ||
<link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css" /> | ||
<% } %> | ||
<% if (commentSetting.commentPlatform === 'disqus') { %> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/disqusjs.css" /> | ||
<% } %> | ||
<% } %> | ||
<script src="https://cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js"></script> | ||
|
||
|
||
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" /> | ||
<% if (site.customConfig.ga) { %> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=<%= site.customConfig.ga %>"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
gtag('config', '<%= site.customConfig.ga %>'); | ||
</script> | ||
<% } %> | ||
<meta charset="utf-8" > | ||
|
||
<title><%= siteTitle %></title> | ||
<meta name="description" content="<%= themeConfig.siteDescription %>"> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | ||
<link rel="shortcut icon" href="<%= themeConfig.domain %>/favicon.ico?v=<%= site.utils.now %>"> | ||
|
||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/paper.min.css" /> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.10.0/katex.min.css"> | ||
<link rel="stylesheet" href="<%= themeConfig.domain %>/styles/main.css"> | ||
|
||
<% if (typeof commentSetting !== 'undefined' && commentSetting.showComment) { %> | ||
<% if (commentSetting.commentPlatform === 'gitalk') { %> | ||
<link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css" /> | ||
<% } %> | ||
<% if (commentSetting.commentPlatform === 'disqus') { %> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/disqusjs.css" /> | ||
<% } %> | ||
<% } %> | ||
<script src="//cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js"></script> | ||
|
||
|
||
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" /> | ||
<% if (site.customConfig.ga) { %> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=<%= site.customConfig.ga %>"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
gtag('config', '<%= site.customConfig.ga %>'); | ||
</script> | ||
<% } %> |
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 |
---|---|---|
|
@@ -13,7 +13,7 @@ var app = new Vue({ | |
</script> | ||
|
||
<% if (site.customConfig.renderCode) { %> | ||
<script src="https://cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js"></script> | ||
<script src="//cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js"></script> | ||
<script> | ||
hljs.initHighlightingOnLoad() | ||
</script> | ||
|
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
@primary-color: #555; | ||
@primary-bg: #f7f6f6; | ||
@danger-color: #fa5252; | ||
|
||
@border-radius-base : 2px; | ||
@link-color: #1a5ccf; | ||
@border-color: #e8e8e88a; | ||
|
||
@btn-default-border: #eaeaea; | ||
|
||
@label-color: #555; | ||
|
||
@font-family: PingFang SC,-apple-system,SF UI Text,Lucida Grande,STheiti,Microsoft YaHei,sans-serif; | ||
|
||
@primary-color: #1b1b18; | ||
@primary-bg: #f7f6f6; | ||
@danger-color: #fa5252; | ||
|
||
@border-radius-base : 6px; | ||
@link-color: #1a5ccf; | ||
@border-color: #e8e8e88a; | ||
|
||
@btn-default-border: #eaeaea; | ||
|
||
@label-color: #1b1b18; | ||
|
||
@font-family: PingFang SC,-apple-system,SF UI Text,Lucida Grande,STheiti,Microsoft YaHei,sans-serif; | ||
|
||
@input-hover-border-color: #999; |
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
Oops, something went wrong.