-
Notifications
You must be signed in to change notification settings - Fork 1
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
11 changed files
with
2,969 additions
and
2,263 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,28 +1,29 @@ | ||
{ | ||
"name": "hexo-site", | ||
"version": "0.0.0", | ||
"private": true, | ||
"scripts": { | ||
"build": "hexo clean && hexo generate", | ||
"clean": "hexo clean", | ||
"deploy": "hexo deploy", | ||
"server": "hexo server", | ||
"total": "hexo clean && hexo generate && hexo server" | ||
}, | ||
"hexo": { | ||
"version": "6.3.0" | ||
}, | ||
"dependencies": { | ||
"hexo": "^6.3.0", | ||
"hexo-generator-archive": "^2.0.0", | ||
"hexo-generator-category": "^2.0.0", | ||
"hexo-generator-feed": "^3.0.0", | ||
"hexo-generator-index": "^3.0.0", | ||
"hexo-generator-tag": "^2.0.0", | ||
"hexo-renderer-ejs": "^2.0.0", | ||
"hexo-renderer-marked": "^6.0.0", | ||
"hexo-renderer-stylus": "^2.1.0", | ||
"hexo-server": "^3.0.0", | ||
"hexo-theme-landscape": "^0.0.3" | ||
} | ||
} | ||
{ | ||
"name": "hexo-site", | ||
"version": "0.0.0", | ||
"private": true, | ||
"scripts": { | ||
"build": "hexo clean && hexo generate", | ||
"clean": "hexo clean", | ||
"deploy": "hexo deploy", | ||
"server": "hexo server", | ||
"total": "hexo clean && hexo generate && hexo server" | ||
}, | ||
"hexo": { | ||
"version": "6.3.0" | ||
}, | ||
"dependencies": { | ||
"hexo": "^6.3.0", | ||
"hexo-generator-archive": "^2.0.0", | ||
"hexo-generator-category": "^2.0.0", | ||
"hexo-generator-feed": "^3.0.0", | ||
"hexo-generator-index": "^3.0.0", | ||
"hexo-generator-tag": "^2.0.0", | ||
"hexo-multiauthor-plugin": "^1.1.3", | ||
"hexo-renderer-ejs": "^2.0.0", | ||
"hexo-renderer-marked": "^6.0.0", | ||
"hexo-renderer-stylus": "^2.1.0", | ||
"hexo-server": "^3.0.0", | ||
"hexo-theme-landscape": "^0.0.3" | ||
} | ||
} |
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,26 @@ | ||
--- | ||
title: {{ title }} | ||
date: {{ date }} | ||
tags: | ||
- all | ||
- update | ||
excerpt: | ||
author: | ||
--- | ||
|
||
|
||
Welcome | ||
------- | ||
|
||
GitHub | ||
------- | ||
### Feature Changes | ||
### Technical Changes | ||
|
||
Wiki | ||
---- | ||
YouTube | ||
---- | ||
Wiki | ||
---- | ||
----------------------------- |
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 @@ | ||
# Username should be the same name as the filename | ||
username: template | ||
name: "Template Template" | ||
about: "Template Template" |
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,3 @@ | ||
username: toffeemax | ||
name: "ToffeeMax" | ||
about: "Community Wrangler for Gamemode 4" |
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,38 +1,26 @@ | ||
|
||
<div class="blog-post"> | ||
|
||
<!-- Title --> | ||
<a href="<%- config.root %><%- item.path %>" > | ||
<h3 class="blog-post-title"> | ||
|
||
<%- item.title %> | ||
|
||
</h3> | ||
</a> | ||
|
||
<!-- Date and Author --> | ||
<p class="blog-post-meta"> | ||
<% if(item.author) { %> | ||
by <%- item.author %> | ||
<% } %> | ||
<br> | ||
<i><%= item.date.format(config.date_format) %></i> | ||
</p> | ||
|
||
|
||
|
||
|
||
|
||
<!-- Content --> | ||
<div class="blog-article-excerpt"> | ||
<%- item.excerpt || item.content %> | ||
</div> | ||
<!-- Only display the Read More link if we are displaying an excerpt --> | ||
<% if(item.excerpt) { %> | ||
<p> | ||
<a href="<%- config.root %><%- item.path %>"> | ||
<%= theme.excerpt_link %> | ||
</a> | ||
</p> | ||
<% } %> | ||
|
||
<div class="blog-post"> | ||
|
||
<!-- Title --> | ||
<a href="<%- config.root %><%- item.path %>" > | ||
<h3 class="blog-post-title"> | ||
|
||
<%- item.title %> | ||
|
||
</h3> | ||
</a> | ||
|
||
|
||
<!-- Content --> | ||
<div class="blog-article-excerpt"> | ||
<%- item.excerpt || item.content %> | ||
</div> | ||
<!-- Only display the Read More link if we are displaying an excerpt --> | ||
<% if(item.excerpt) { %> | ||
<p> | ||
<a href="<%- config.root %><%- item.path %>"> | ||
<%= theme.excerpt_link %> | ||
</a> | ||
</p> | ||
<% } %> | ||
</div> |
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,43 +1,31 @@ | ||
|
||
<div class="blog-post"> | ||
|
||
<!-- Title --> | ||
<h2 class="blog-post-title"> | ||
<a href="<%- config.root %><%- item.path %>"> | ||
<%- item.title || item.link%> | ||
</a> | ||
</h2> | ||
|
||
<!-- Date and Author --> | ||
<p class="blog-post-meta"> | ||
|
||
</p> | ||
|
||
<p class="blog-post-meta"> | ||
<% if(item.author) { %> | ||
by <%- item.author %> | ||
<br> | ||
<% } %> | ||
|
||
<i><%= item.date.format(config.date_format) %></i> | ||
<% if (item.changed) { %> | ||
<br> | ||
<i> Updated on <%- item.changed %></i> | ||
<% } %> | ||
</p> | ||
|
||
|
||
|
||
|
||
<!-- Content --> | ||
<%- item.content %> | ||
|
||
<hr /> | ||
|
||
<!-- Tags and Categories links --> | ||
<%- partial('article-tags', {item: item}) %> | ||
<%- partial('article-categories', {item: item}) %> | ||
|
||
|
||
<div class="blog-post"> | ||
|
||
<!-- Title --> | ||
<h2 class="blog-post-title"> | ||
<a href="<%- config.root %><%- item.path %>"> | ||
<%- item.title || item.link%> | ||
</a> | ||
</h2> | ||
|
||
<!-- Date and Author --> | ||
<p class="blog-post-meta"> | ||
|
||
</p> | ||
<%- partial('_partial/author',{item: item}) %> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Content --> | ||
<%- item.content %> | ||
|
||
<hr /> | ||
|
||
<!-- Tags and Categories links --> | ||
<%- partial('article-tags', {item: item}) %> | ||
<%- partial('article-categories', {item: item}) %> | ||
|
||
</div> |
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,24 @@ | ||
<div class="author-banner"> | ||
<hr class="rounded"> | ||
<% let post_obj = item %> | ||
<% if (post_author(post_obj)){ %> | ||
<% if (item.authors.length > 1){ %> | ||
<div class="author-header"><h4>Authors</h4></div> | ||
<% } else if (item.authors.length == 1){ %> | ||
<div class="author-header"><h4>Author</h4></div> | ||
<% } %> | ||
<% item.author.forEach(function(au) { %> | ||
<div class="author-details"> | ||
<div class="author-name"> | ||
<%=au.name %> | ||
</div> | ||
<div class="author-meta"> | ||
<%=au.about %> | ||
</div> | ||
</div> | ||
<% }); %> | ||
<hr class="rounded"> | ||
<% } %> | ||
</div> |
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,9 +1,9 @@ | ||
hexo.extend.helper.register("count_years", function(item){ | ||
var count = 0 | ||
for (var i = 0; i < item.length; i++) { | ||
item[i].count = item[i].posts.length; | ||
count += 1 | ||
} | ||
return count; | ||
// ... | ||
hexo.extend.helper.register("count_years", function(item){ | ||
var count = 0 | ||
for (var i = 0; i < item.length; i++) { | ||
item[i].count = item[i].posts.length; | ||
count += 1 | ||
} | ||
return count; | ||
// ... | ||
}); |
Oops, something went wrong.