-
Notifications
You must be signed in to change notification settings - Fork 2
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 #8 from AnXing233/main
一点效果
- Loading branch information
Showing
7 changed files
with
116 additions
and
74 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,20 @@ | ||
{%- unless include.author.team -%} | ||
<p> | ||
<div class="author-avatar-pres"> | ||
<div> | ||
<img | ||
src="{{ '/assets/images/authors/' | append: include.author.image | relative_url }}" | ||
title="{{ include.author.title }}"> | ||
</div> | ||
<div> | ||
<span | ||
>由<a href="{{ include.author.homepage }}">@{{ include.author.title }}</a>制作的汉化项目</span | ||
> | ||
</div> | ||
</div> | ||
</p> | ||
<p> | ||
<div class="author-avatar-pres"> | ||
<div> | ||
<img src="{{ '/assets/images/authors/' | append: include.author.image | relative_url }}" title="{{ include.author.title }}"> | ||
</div> | ||
<div> | ||
<span>由<a class="a-link" href="{{ include.author.homepage }}">@{{ include.author.title }}</a>制作的汉化项目</span> | ||
</div> | ||
</div> | ||
</p> | ||
{%- endunless -%} | ||
|
||
{{ content }} | ||
|
||
{%- assign tls = site.translations | ||
| where_exp: 'item', 'item.authors contains include.author.slug' | ||
-%} | ||
{%- assign tls = site.translations | ||
| where_exp: 'item', 'item.authors contains include.author.slug' -%} | ||
{%- for tl in tls -%} | ||
{{ tl.output }} | ||
{%- endfor -%} | ||
{{ tl.output }} | ||
{%- endfor -%} |
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
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,20 +1,23 @@ | ||
{%- assign filename = include.name | default: include.file.name -%} | ||
|
||
{%- if include.file.url -%} | ||
<a href="{{ include.file.url | uri_escape }}" target="_blank"> | ||
{{ filename }} | ||
</a> | ||
<a | ||
class="a-link" | ||
href="{{ include.file.url | uri_escape }}" | ||
target="_blank"> | ||
{{ filename }} | ||
</a> | ||
{%- else -%} | ||
{{ filename }} | ||
{{ filename }} | ||
{%- endif -%} | ||
|
||
{%- if include.file.passcode or include.file.notes -%} | ||
( | ||
{%- if include.file.passcode -%} | ||
提取码:{{ include.file.passcode }} | ||
{%- if include.file.notes -%};{%- endif -%} | ||
{%- endif -%} | ||
{{ include.file.notes }} | ||
{%- comment -%} whitespace {%- endcomment -%} | ||
) | ||
{%- endif -%} | ||
( | ||
{%- if include.file.passcode -%} | ||
提取码:{{ include.file.passcode }} | ||
{%- if include.file.notes -%};{%- endif -%} | ||
{%- endif -%} | ||
{{ include.file.notes }} | ||
{%- comment -%} whitespace {%- endcomment -%} | ||
) | ||
{%- endif -%} |
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