generated from ar363/eleventy-stylus-blog-theme
-
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
47 changed files
with
510 additions
and
70 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,18 @@ | ||
<div class="card-grid"> | ||
{% for extension in extensions %} | ||
<div class="card"> | ||
<h3 class="card__title"> | ||
<a href="{{ extension.url | url }}">{{ extension.data.title }}</a> | ||
</h3> | ||
<p class="card__date">{{ extension.date | readableDate }}</p> | ||
<p class="card__description">{{ extension.data.description }}</p> | ||
<p class="card__subtitle">分类:</p> | ||
<div class="card__categories"> | ||
{% for category in extension.data.categories %} | ||
<a href="{{ '/categories/' | url }}{{ category }}">{{ category }}</a> | ||
{%- if not loop.last %}, {% endif %} | ||
{% endfor %} | ||
</div> | ||
</div> | ||
{% endfor %} | ||
</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
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,28 @@ | ||
--- | ||
layout: layouts/base.njk | ||
--- | ||
|
||
<div class="container"> | ||
<h1> | ||
{% if icon %} | ||
<img src="../{{ icon }}" alt="图标" style="width: auto; height: 70px;"/> | ||
{% endif %} | ||
{{ title }} | ||
</h1> | ||
<br> | ||
{% if not hideCategoriesList %} | ||
<b>扩展分类: </b> | ||
{% for category in categories %} | ||
{% if category != "extensions" %} | ||
<a href="{{ '/categories/' | url }}{{ category }}">{{ category }}</a> | ||
{%- if not loop.last %}, {% endif %} | ||
{% endif%} | ||
{% endfor %} | ||
{% endif %} | ||
<br><hr> | ||
|
||
{{ content | safe }} | ||
|
||
<br><br> | ||
<a href="{{ '/' | url }}">← 回到主页</a> | ||
</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
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,30 @@ | ||
--- | ||
layout: layouts/base.njk | ||
pagination: | ||
data: collections.categoryList | ||
size: 1 | ||
alias: category | ||
filter: | ||
- all | ||
- nav | ||
- extension | ||
- extensions | ||
- categoryList | ||
addAllPagesToCollections: true | ||
eleventyComputed: | ||
title: Categorized “{{ category.categoryName }}” | ||
permalink: /categories/{{ category.categoryName }}/ | ||
--- | ||
|
||
{% block content %} | ||
|
||
<div class="container"> | ||
<h1>归属于“{{ category.categoryName }}” 分类</h1> | ||
|
||
{% set extensions = category.posts %} | ||
{% include 'components/extensionslist.njk' %} | ||
|
||
<p>查看<a href="{{ '/extensions/' | url }}">所有的分类</a>.</p> | ||
</div> | ||
|
||
{% endblock %} |
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 @@ | ||
--- | ||
title: 扩展 | ||
layout: layouts/base.njk | ||
permalink: /extensions/ | ||
eleventyNavigation: | ||
key: 扩展 | ||
weight: 1 | ||
--- | ||
|
||
<div class="container"> | ||
<h1>扩展分类</h1> | ||
<div class="card-grid"> | ||
{% for category in collections.categoryList %} | ||
<div class="card"> | ||
<h2 class="card__title"> | ||
<a href="{{ '/categories/' | url }}{{ category.categoryName }}">{{ category.categoryName }}</a> | ||
<span class="card__count">({{ category.categoryCount }} 个扩展)</span> | ||
</h2> | ||
<ul> | ||
{% for post in category.posts %} | ||
<li><a href="{{ post.url }}">{{ post.data.title }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
</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,10 @@ | ||
--- | ||
title: Auto Rename Tag | ||
categories: ["HTML","标签","自动修改"] | ||
date: 2024-03-20 | ||
icon: "/pictures/icons/AutoRenameTag.png" | ||
--- | ||
|
||
该扩展修改HTML标签时,自动修改匹配的标签。 | ||
|
||
 |
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,6 @@ | ||
{ | ||
"layout": "layouts/extensions.njk", | ||
"categories": [ | ||
"extensions" | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,8 +4,6 @@ date: 2023-11-01 | |
tags: | ||
- 引入 | ||
- 开端 | ||
categories: | ||
- vscode | ||
--- | ||
|
||
这是一个引入。嗯对,**引入**。 | ||
|
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,8 +4,6 @@ date: 2023-11-06 | |
tags: | ||
- 安装 | ||
- 部署 | ||
categories: | ||
- vscode | ||
--- | ||
|
||
|
||
|
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 |
---|---|---|
|
@@ -3,8 +3,6 @@ title: 初步了解Code长啥样,有什么 | |
date: 2023-11-12 | ||
tags: | ||
- 界面布局 | ||
categories: | ||
- vscode | ||
--- | ||
|
||
|
||
|
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 |
---|---|---|
|
@@ -3,8 +3,6 @@ title: 码码前的一些准备 | |
date: 2023-11-16 | ||
tags: | ||
- 准备工作 | ||
categories: | ||
- vscode | ||
--- | ||
|
||
|
||
|
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 |
---|---|---|
|
@@ -6,8 +6,6 @@ tags: | |
- git | ||
- 源码 | ||
- 管理 | ||
categories: | ||
- vscode | ||
--- | ||
|
||
|
||
|
Oops, something went wrong.