├── scripts ├── .gitkeep └── check-updates.js ├── source ├── .nojekyll ├── scripts │ └── .gitkeep └── styles │ ├── _includes │ ├── about.less │ ├── valine.less │ ├── tag.less │ ├── gitalk.less │ ├── pagination.less │ ├── tags.less │ ├── footer.less │ ├── disqus.less │ ├── archive.less │ ├── friends.less │ ├── highlight.less │ ├── post-list.less │ ├── header.less │ └── post.less │ └── main.less ├── layout ├── tags.ejs ├── layout.ejs ├── about.ejs ├── _includes │ ├── valine.ejs │ ├── footer.ejs │ ├── disqus.ejs │ ├── gitalk.ejs │ ├── header.ejs │ └── head.ejs ├── friends.ejs ├── archive.ejs ├── tag.ejs ├── post.ejs └── index.ejs ├── package.json ├── _config.yml ├── .github └── workflows │ └── build.yml ├── .gitignore ├── _config.example.yml ├── README.zh_CN.md ├── README.md └── LICENSE /scripts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/.nojekyll: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /source/scripts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/styles/_includes/about.less: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/styles/_includes/valine.less: -------------------------------------------------------------------------------- 1 | // Valine Styles 2 | 3 | #vcomments { 4 | width: 80%; 5 | max-width: 1000px; 6 | } 7 | 8 | @media (max-width: 992px) { 9 | #vcomments { 10 | width: 100%; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /layout/tags.ejs: -------------------------------------------------------------------------------- 1 |
7 | -------------------------------------------------------------------------------- /source/styles/_includes/tag.less: -------------------------------------------------------------------------------- 1 | .current-tag-container .title { 2 | text-align: center; 3 | font-size: 18px; 4 | margin-bottom: 24px; 5 | 6 | @media (max-width: 992px) { 7 | margin-top: 50px; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /source/styles/_includes/gitalk.less: -------------------------------------------------------------------------------- 1 | // Gitalk Styles 2 | 3 | #gitalk-container { 4 | width: 80%; 5 | max-width: 1000px; 6 | } 7 | 8 | @media (max-width: 992px) { 9 | #gitalk-container { 10 | width: 100%; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /source/styles/_includes/pagination.less: -------------------------------------------------------------------------------- 1 | .pagination-container { 2 | padding: 24px 32px 32px; 3 | align-self: center; 4 | 5 | .prev-page { 6 | margin: 0 16px; 7 | font-size: 14px; 8 | } 9 | 10 | .next-page { 11 | margin: 0 16px; 12 | font-size: 14px; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /source/styles/_includes/tags.less: -------------------------------------------------------------------------------- 1 | .tags-container { 2 | padding: 32px 32px; 3 | flex: 1; 4 | display: flex; 5 | flex-direction: row; 6 | justify-content: center; 7 | align-items: center; 8 | flex-wrap: wrap; 9 | max-width: 1000px; 10 | align-self: center; 11 | 12 | .tag { 13 | font-size: 15px; 14 | margin: 5px 15px; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /source/styles/_includes/footer.less: -------------------------------------------------------------------------------- 1 | // Footer 2 | .site-footer { 3 | font-size: 12px; 4 | padding: 24px; 5 | max-width: 1000px; 6 | min-width: 1000px; 7 | align-self: center; 8 | margin: 0 auto; 9 | 10 | a { 11 | color: var(--content-first) !important; 12 | } 13 | } 14 | 15 | @media (max-width: 992px) { 16 | .site-footer { 17 | display: none; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /layout/layout.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <%- partial("_includes/head") %> 5 | 6 | 7 |<%= post.excerpt.replace(/(<(\/?)(\w+)[^>]*>)|()/g ,'').replace(/\s+/g,' ') %>
15 |<%= post.excerpt.replace(/(<(\/?)(\w+)[^>]*>)|()/g ,'').replace(/\s+/g,' ') %>
14 |