This repository was archived by the owner on Mar 9, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(css): add local fork-awesome css
- Loading branch information
Showing
44 changed files
with
2,927 additions
and
53 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,5 +1,6 @@ | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
[email protected] |
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 |
---|---|---|
|
@@ -9,4 +9,4 @@ [email protected] | |
[email protected] | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
[email protected] |
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 |
---|---|---|
|
@@ -161,6 +161,7 @@ dateFormatToUse = "2006-01-02" | |
[params.cdn] | ||
## for example '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css" integrity="sha256-fdcFNFiBMrNfWL6OcAGQz6jDgNTRxnrLEd4vJYFWScE=" crossorigin="anonymous">' | ||
fontawesome_free_css = '' | ||
forkawesome_css = '' | ||
animate_css = '' | ||
gitalk_css = '' | ||
gitalk_js = '' | ||
|
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 |
---|---|---|
|
@@ -161,6 +161,7 @@ dateFormatToUse = "2006-01-02" | |
[params.cdn] | ||
## 例如 '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css" integrity="sha256-fdcFNFiBMrNfWL6OcAGQz6jDgNTRxnrLEd4vJYFWScE=" crossorigin="anonymous">' | ||
fontawesome_free_css = '' | ||
forkawesome_css = '' | ||
animate_css = '' | ||
gitalk_css = '' | ||
gitalk_js = '' | ||
|
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 |
---|---|---|
|
@@ -8,4 +8,4 @@ | |
{{- . -}} | ||
</figcaption> | ||
{{- end -}} | ||
</figure> | ||
</figure> |
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,3 +1,3 @@ | ||
<a href="{{ .Destination | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}> | ||
{{- .Text | safeHTML -}} | ||
</a> | ||
</a> |
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 |
---|---|---|
|
@@ -39,4 +39,4 @@ | |
{{- /* Load scripts */ -}} | ||
{{- partial "scripts.html" . -}} | ||
</body> | ||
</html> | ||
</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 |
---|---|---|
|
@@ -25,4 +25,4 @@ <h3>{{ .Key }}</h3> | |
{{- end -}} | ||
{{- partial "paginator.html" . -}} | ||
</div> | ||
{{- end -}} | ||
{{- end -}} |
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 |
---|---|---|
|
@@ -46,4 +46,4 @@ | |
</content> | ||
</entry> | ||
{{- end -}} | ||
</feed> | ||
</feed> |
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 |
---|---|---|
|
@@ -24,4 +24,4 @@ | |
{{- /* Profile */ -}} | ||
{{- partial "home/profile.html" . -}} | ||
{{- end -}} | ||
{{- end -}} | ||
{{- end -}} |
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 |
---|---|---|
|
@@ -33,4 +33,4 @@ | |
{{- end -}} | ||
</div> | ||
</div> | ||
</footer> | ||
</footer> |
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,4 +1,3 @@ | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/fork-awesome.min.css" integrity="sha256-gsmEoJAws/Kd3CjuOQzLie5Q3yshhvmo7YNtBG7aaEY=" crossorigin="anonymous"> | ||
{{- with .Site.Params.Social.Github -}} | ||
<a href="https://github.com/{{ . }}" rel="me noopener noreffer" target="_blank"> | ||
<i class="fab fa-github-alt fa-fw" title="Github"></i> | ||
|
@@ -225,32 +224,32 @@ | |
</a> | ||
{{- end -}} | ||
{{- with .Site.Params.Social.Slideshare}} | ||
<a href="https://slideshare.com/{{- . -}}" rel="me noopener noreffer" target="_blank"> | ||
<a href="https://slideshare.com/{{ . }}" rel="me noopener noreffer" target="_blank"> | ||
<i class="fab fa-slideshare fa-fw" title="Slideshare"></i> | ||
</a> | ||
{{- end -}} | ||
{{- with .Site.Params.Social.Jsfiddle}} | ||
<a href="https://jsfiddle.com/{{- . -}}" rel="me noopener noreffer" target="_blank"> | ||
<a href="https://jsfiddle.com/{{ . }}" rel="me noopener noreffer" target="_blank"> | ||
<i class="fab fa-jsfiddle fa-fw" title="Jsfiddle"></i> | ||
</a> | ||
{{- end -}} | ||
{{- with .Site.Params.Social.Deviantart}} | ||
<a href="https://{{- . -}}.deviantart.com/" rel="me noopener noreffer" target="_blank"> | ||
<a href="https://{{ . }}.deviantart.com/" rel="me noopener noreffer" target="_blank"> | ||
<i class="fab fa-deviantart fa-fw" title="Deviantart"></i> | ||
</a> | ||
{{- end -}} | ||
{{- with .Site.Params.Social.Behance}} | ||
<a href="https://behance.net/{{- . -}}" rel="me noopener noreffer" target="_blank"> | ||
<a href="https://behance.net/{{ . }}" rel="me noopener noreffer" target="_blank"> | ||
<i class="fab fa-behance fa-fw" title="Behance"></i> | ||
</a> | ||
{{- end -}} | ||
{{- with .Site.Params.Social.Dribble}} | ||
<a href="https://dribbble.com/{{- . -}}" rel="me noopener noreffer" target="_blank"> | ||
<a href="https://dribbble.com/{{ . }}" rel="me noopener noreffer" target="_blank"> | ||
<i class="fab fa-dribbble fa-fw" title="Dribble"></i> | ||
</a> | ||
{{- end -}} | ||
{{- with .Site.Params.Social.Wordpress}} | ||
<a href="https://{{- . -}}.wordpress.com" rel="me noopener noreffer" target="_blank"> | ||
<a href="https://{{ . }}.wordpress.com" rel="me noopener noreffer" target="_blank"> | ||
<i class="fab fa-wordpress fa-fw" title="Wordpress"></i> | ||
</a> | ||
{{- end -}} | ||
|
@@ -260,37 +259,32 @@ | |
</a> | ||
{{- end -}} | ||
{{- with .Site.Params.Social.Googlescholar}} | ||
<a href="https://scholar.google.com/citations?{{- . -}}" rel="me noopener noreffer" target="_blank"> | ||
<a href="https://scholar.google.com/citations?{{ . }}" rel="me noopener noreffer" target="_blank"> | ||
<i class="fab fa-Googlescholar fa-fw" title="Googlescholar"></i> | ||
</a> | ||
{{- end -}} | ||
{{- with .Site.Params.Social.Researchgate}} | ||
<a href="https://www.researchgate.net/profile/{{- . -}}" rel="me noopener noreffer" target="_blank"> | ||
<a href="https://www.researchgate.net/profile/{{ . }}" rel="me noopener noreffer" target="_blank"> | ||
<i class="fab fa-researchgate fa-fw" title="Researchgate"></i> | ||
</a> | ||
{{- end -}} | ||
{{- with .Site.Params.Social.Mastodon}} | ||
<a href="https://mastodon.social/{{- . -}}" rel="me noopener noreffer" target="_blank"> | ||
<a href="https://mastodon.social/{{ . }}" rel="me noopener noreffer" target="_blank"> | ||
<i class="fab fa-mastodon fa-fw" title="Mastodon"></i> | ||
</a> | ||
{{- end -}} | ||
{{- with .Site.Params.Social.Devto}} | ||
<a href="https://dev.to/{{- . -}}" rel="me noopener noreffer" target="_blank"> | ||
<a href="https://dev.to/{{ . }}" rel="me noopener noreffer" target="_blank"> | ||
<i class="fab fa-dev fa-fw" title="Dev.To"></i> | ||
</a> | ||
{{- end -}} | ||
{{- with .Site.Params.Social.Email}} | ||
<a href="mailto:{{ . }}" rel="me noopener noreffer"> | ||
<i class="far fa-envelope fa-fw" target="_blank" title="Email"></i> | ||
</a> | ||
{{- end -}} | ||
{{- with .Site.Params.Social.Gitea}} | ||
<a href="" rel="me noopener noreffer" target="_blank"> | ||
<a href="{{ . | safeURL }}" rel="me noopener noreffer" target="_blank"> | ||
<i class="fab fa fa-gitea fa-fw" title="Gitea"></i> | ||
</a> | ||
{{- end -}} | ||
{{- with .Site.Params.Social.XMPP}} | ||
<a href="xmpp:{{ . }}" rel="me noopener noreffer" target="_blank"> | ||
<a href="xmpp:{{ . }}" rel="me noopener noreffer"> | ||
<i class="fab fa fa-xmpp fa-fw" title="XMPP"></i> | ||
</a> | ||
{{- end -}} | ||
|
@@ -299,6 +293,11 @@ | |
<i class="fab fa fa-matrix-org fa-fw" title="Matrix"></i> | ||
</a> | ||
{{- end -}} | ||
{{- with .Site.Params.Social.Email}} | ||
<a href="mailto:{{ . }}" rel="me noopener noreffer"> | ||
<i class="far fa-envelope fa-fw" title="Email"></i> | ||
</a> | ||
{{- end -}} | ||
{{- with .Site.Params.Social.Custom}} | ||
{{- . | safeHTML -}} | ||
{{- end -}} |
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,3 +1,3 @@ | ||
{{- /* Lazyload */ -}} | ||
{{- $res := resources.Get "svg/loading.svg" | minify -}} | ||
<img src="{{ $res.RelPermalink | safeURL }}" data-sizes="auto" data-src="{{ . | safeURL }}" alt="featured image" class="lazyload"> | ||
<img src="{{ $res.RelPermalink | safeURL }}" data-sizes="auto" data-src="{{ . | safeURL }}" alt="featured image" class="lazyload"> |
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 |
---|---|---|
|
@@ -27,4 +27,4 @@ | |
{{- end -}} | ||
{{- end -}} | ||
</ul> | ||
{{- end -}} | ||
{{- end -}} |
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 |
---|---|---|
|
@@ -68,4 +68,4 @@ | |
<i class="fab fa-weibo fa-fw"></i> | ||
</a> | ||
{{- end -}} | ||
{{- end -}} | ||
{{- end -}} |
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 |
---|---|---|
|
@@ -91,4 +91,4 @@ | |
"description": "{{ .Description }}" | ||
} | ||
</script> | ||
{{- end -}} | ||
{{- end -}} |
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 |
---|---|---|
|
@@ -86,4 +86,4 @@ <h2 class="post-toc-title">{{ T "toc" }}</h2> | |
{{- end -}} | ||
</div> | ||
</article> | ||
{{- end -}} | ||
{{- end -}} |
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 |
---|---|---|
|
@@ -59,4 +59,4 @@ | |
</item> | ||
{{- end -}} | ||
</channel> | ||
</rss> | ||
</rss> |
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 |
---|---|---|
|
@@ -51,4 +51,4 @@ | |
{{- .Inner -}} | ||
</div> | ||
{{- end -}} | ||
{{- end -}} | ||
{{- end -}} |
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
<!-- [left, center, right] --> | ||
<div class={{ .Get 0 | printf "align-%s" }}> | ||
{{- .Inner -}} | ||
</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
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
<!-- [left, right] --> | ||
<div class={{ .Get 0 | printf "float-%s" }}> | ||
{{- .Inner -}} | ||
</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
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 |
---|---|---|
|
@@ -38,4 +38,4 @@ | |
{{- end -}} | ||
</url> | ||
{{- end -}} | ||
</urlset> | ||
</urlset> |
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 |
---|---|---|
|
@@ -32,4 +32,4 @@ <h3>{{ .Key }}</h3> | |
{{- end -}} | ||
{{- partial "paginator.html" . -}} | ||
</div> | ||
{{- end -}} | ||
{{- end -}} |
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 |
---|---|---|
|
@@ -54,4 +54,4 @@ <h3 class="card-item-title"> | |
</div> | ||
{{- end -}} | ||
</div> | ||
{{- end -}} | ||
{{- end -}} |
Binary file not shown.
Oops, something went wrong.