mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
🔧 Chore: use fontawesome 6
This commit is contained in:
@@ -26,6 +26,6 @@ comment: false
|
||||
|
||||
{{< admonition info "Notice" true >}}
|
||||
1. If you want to exchange link, please leave a comment in the above format. (personal non-commercial blogs / websites only)
|
||||
2. :(fas fa-exclamation-triangle): Website failure, stop maintenance and improper content may be unlinked!
|
||||
2. :(fa-solid fa-exclamation-triangle): Website failure, stop maintenance and improper content may be unlinked!
|
||||
3. Those websites that do not respect other people's labor achievements, reprint without source, or malicious acts, please do not come to exchange.
|
||||
{{< /admonition >}}
|
||||
|
||||
+61
-61
@@ -4,7 +4,7 @@ github:
|
||||
Prefix: https://github.com/
|
||||
Title: GitHub
|
||||
Icon:
|
||||
Class: fab fa-github-alt fa-fw
|
||||
Class: fa-brands fa-github-alt fa-fw
|
||||
|
||||
# 002: LinkedIn
|
||||
linkedin:
|
||||
@@ -12,7 +12,7 @@ linkedin:
|
||||
Prefix: https://linkedin.com/in/
|
||||
Title: LinkedIn
|
||||
Icon:
|
||||
Class: fab fa-linkedin fa-fw
|
||||
Class: fa-brands fa-linkedin fa-fw
|
||||
|
||||
# 003: Twitter
|
||||
twitter:
|
||||
@@ -20,7 +20,7 @@ twitter:
|
||||
Prefix: https://twitter.com/
|
||||
Title: Twitter
|
||||
Icon:
|
||||
Class: fab fa-twitter fa-fw
|
||||
Class: fa-brands fa-twitter fa-fw
|
||||
|
||||
# 004: Instagram
|
||||
instagram:
|
||||
@@ -28,7 +28,7 @@ instagram:
|
||||
Prefix: https://www.instagram.com/
|
||||
Title: Instagram
|
||||
Icon:
|
||||
Class: fab fa-instagram fa-fw
|
||||
Class: fa-brands fa-instagram fa-fw
|
||||
|
||||
# 005: facebook
|
||||
facebook:
|
||||
@@ -36,7 +36,7 @@ facebook:
|
||||
Prefix: https://facebook.com/
|
||||
Title: facebook
|
||||
Icon:
|
||||
Class: fab fa-facebook fa-fw
|
||||
Class: fa-brands fa-facebook fa-fw
|
||||
|
||||
# 006: Telegram
|
||||
telegram:
|
||||
@@ -44,7 +44,7 @@ telegram:
|
||||
Prefix: https://t.me/
|
||||
Title: Telegram
|
||||
Icon:
|
||||
Class: fab fa-telegram-plane fa-fw
|
||||
Class: fa-brands fa-telegram-plane fa-fw
|
||||
|
||||
# 007: Medium
|
||||
medium:
|
||||
@@ -52,7 +52,7 @@ medium:
|
||||
Prefix: https://medium.com/
|
||||
Title: Medium
|
||||
Icon:
|
||||
Class: fab fa-medium fa-fw
|
||||
Class: fa-brands fa-medium fa-fw
|
||||
|
||||
# 008: GitLab
|
||||
gitlab:
|
||||
@@ -60,7 +60,7 @@ gitlab:
|
||||
Prefix: https://gitlab.com/
|
||||
Title: GitLab
|
||||
Icon:
|
||||
Class: fab fa-gitlab fa-fw
|
||||
Class: fa-brands fa-gitlab fa-fw
|
||||
|
||||
# 009: YouTube Legacy
|
||||
youtubelegacy:
|
||||
@@ -68,7 +68,7 @@ youtubelegacy:
|
||||
Prefix: https://www.youtube.com/user/
|
||||
Title: YouTube
|
||||
Icon:
|
||||
Class: fab fa-youtube fa-fw
|
||||
Class: fa-brands fa-youtube fa-fw
|
||||
|
||||
# 010: YouTube Custom
|
||||
youtubecustom:
|
||||
@@ -76,7 +76,7 @@ youtubecustom:
|
||||
Prefix: https://www.youtube.com/c/
|
||||
Title: YouTube
|
||||
Icon:
|
||||
Class: fab fa-youtube fa-fw
|
||||
Class: fa-brands fa-youtube fa-fw
|
||||
|
||||
# 011: YouTube Channel
|
||||
youtubechannel:
|
||||
@@ -84,7 +84,7 @@ youtubechannel:
|
||||
Prefix: https://www.youtube.com/channel/
|
||||
Title: YouTube
|
||||
Icon:
|
||||
Class: fab fa-youtube fa-fw
|
||||
Class: fa-brands fa-youtube fa-fw
|
||||
|
||||
# 012: Tumblr
|
||||
tumblr:
|
||||
@@ -92,7 +92,7 @@ tumblr:
|
||||
Template: https://%v.tumblr.com/
|
||||
Title: Tumblr
|
||||
Icon:
|
||||
Class: fab fa-tumblr fa-fw
|
||||
Class: fa-brands fa-tumblr fa-fw
|
||||
|
||||
# 013: Quora
|
||||
quora:
|
||||
@@ -100,7 +100,7 @@ quora:
|
||||
Prefix: https://www.quora.com/profile/
|
||||
Title: Quora
|
||||
Icon:
|
||||
Class: fab fa-quora fa-fw
|
||||
Class: fa-brands fa-quora fa-fw
|
||||
|
||||
# 014: Keybase
|
||||
keybase:
|
||||
@@ -108,7 +108,7 @@ keybase:
|
||||
Prefix: https://keybase.io/
|
||||
Title: Keybase
|
||||
Icon:
|
||||
Class: fab fa-keybase fa-fw
|
||||
Class: fa-brands fa-keybase fa-fw
|
||||
|
||||
# 015: Pinterest
|
||||
pinterest:
|
||||
@@ -116,7 +116,7 @@ pinterest:
|
||||
Prefix: https://www.pinterest.com/
|
||||
Title: Pinterest
|
||||
Icon:
|
||||
Class: fab fa-pinterest fa-fw
|
||||
Class: fa-brands fa-pinterest fa-fw
|
||||
|
||||
# 016: Reddit
|
||||
reddit:
|
||||
@@ -124,7 +124,7 @@ reddit:
|
||||
Prefix: https://www.reddit.com/user/
|
||||
Title: Reddit
|
||||
Icon:
|
||||
Class: fab fa-reddit fa-fw
|
||||
Class: fa-brands fa-reddit fa-fw
|
||||
|
||||
# 017: CodePen
|
||||
codepen:
|
||||
@@ -132,7 +132,7 @@ codepen:
|
||||
Prefix: https://codepen.io/
|
||||
Title: CodePen
|
||||
Icon:
|
||||
Class: fab fa-codepen fa-fw
|
||||
Class: fa-brands fa-codepen fa-fw
|
||||
|
||||
# 018: freeCodeCamp
|
||||
freecodecamp:
|
||||
@@ -140,7 +140,7 @@ freecodecamp:
|
||||
Prefix: https://freecodecamp.org/
|
||||
Title: freeCodeCamp
|
||||
Icon:
|
||||
Class: fab fa-free-code-camp fa-fw
|
||||
Class: fa-brands fa-free-code-camp fa-fw
|
||||
|
||||
# 019: Bitbucket
|
||||
bitbucket:
|
||||
@@ -148,7 +148,7 @@ bitbucket:
|
||||
Prefix: https://bitbucket.org/
|
||||
Title: Bitbucket
|
||||
Icon:
|
||||
Class: fab fa-bitbucket fa-fw
|
||||
Class: fa-brands fa-bitbucket fa-fw
|
||||
|
||||
# 020: Stack Overflow
|
||||
stackoverflow:
|
||||
@@ -156,7 +156,7 @@ stackoverflow:
|
||||
Prefix: https://stackoverflow.com/users/
|
||||
Title: Stack Overflow
|
||||
Icon:
|
||||
Class: fab fa-codepen fa-fw
|
||||
Class: fa-brands fa-codepen fa-fw
|
||||
|
||||
# 021: 微博
|
||||
weibo:
|
||||
@@ -164,7 +164,7 @@ weibo:
|
||||
Prefix: https://weibo.com/
|
||||
Title: 微博
|
||||
Icon:
|
||||
Class: fab fa-weibo fa-fw
|
||||
Class: fa-brands fa-weibo fa-fw
|
||||
|
||||
# 022: OK.RU
|
||||
odnoklassniki:
|
||||
@@ -172,7 +172,7 @@ odnoklassniki:
|
||||
Prefix: https://ok.ru/
|
||||
Title: OK.RU
|
||||
Icon:
|
||||
Class: fab fa-odnoklassniki fa-fw
|
||||
Class: fa-brands fa-odnoklassniki fa-fw
|
||||
|
||||
# 023: VK
|
||||
vk:
|
||||
@@ -180,7 +180,7 @@ vk:
|
||||
Prefix: https://vk.com/
|
||||
Title: VK
|
||||
Icon:
|
||||
Class: fab fa-vk fa-fw
|
||||
Class: fa-brands fa-vk fa-fw
|
||||
|
||||
# 024: Flickr
|
||||
flickr:
|
||||
@@ -188,7 +188,7 @@ flickr:
|
||||
Prefix: https://www.flickr.com/photos/
|
||||
Title: Flickr
|
||||
Icon:
|
||||
Class: fab fa-flickr fa-fw
|
||||
Class: fa-brands fa-flickr fa-fw
|
||||
|
||||
# 025: Xing
|
||||
xing:
|
||||
@@ -196,7 +196,7 @@ xing:
|
||||
Prefix: https://www.xing.com/profile/
|
||||
Title: Xing
|
||||
Icon:
|
||||
Class: fab fa-xing fa-fw
|
||||
Class: fa-brands fa-xing fa-fw
|
||||
|
||||
# 026: Snapchat
|
||||
snapchat:
|
||||
@@ -204,7 +204,7 @@ snapchat:
|
||||
Prefix: https://www.snapchat.com/add/
|
||||
Title: Snapchat
|
||||
Icon:
|
||||
Class: fab fa-snapchat fa-fw
|
||||
Class: fa-brands fa-snapchat fa-fw
|
||||
|
||||
# 027: SoundCloud
|
||||
soundcloud:
|
||||
@@ -212,7 +212,7 @@ soundcloud:
|
||||
Prefix: https://soundcloud.com/
|
||||
Title: SoundCloud
|
||||
Icon:
|
||||
Class: fab fa-soundcloud fa-fw
|
||||
Class: fa-brands fa-soundcloud fa-fw
|
||||
|
||||
# 028: Spotify
|
||||
spotify:
|
||||
@@ -220,7 +220,7 @@ spotify:
|
||||
Prefix: https://open.spotify.com/user/
|
||||
Title: Spotify
|
||||
Icon:
|
||||
Class: fab fa-spotify fa-fw
|
||||
Class: fa-brands fa-spotify fa-fw
|
||||
|
||||
# 029: Bandcamp
|
||||
bandcamp:
|
||||
@@ -228,7 +228,7 @@ bandcamp:
|
||||
Template: https://%v.bandcamp.com/
|
||||
Title: Bandcamp
|
||||
Icon:
|
||||
Class: fab fa-bandcamp fa-fw
|
||||
Class: fa-brands fa-bandcamp fa-fw
|
||||
|
||||
# 030: PayPal
|
||||
paypal:
|
||||
@@ -236,7 +236,7 @@ paypal:
|
||||
Prefix: https://paypal.me/
|
||||
Title: PayPal
|
||||
Icon:
|
||||
Class: fab fa-paypal fa-fw
|
||||
Class: fa-brands fa-paypal fa-fw
|
||||
|
||||
# 031: 500px
|
||||
fivehundredpx:
|
||||
@@ -244,7 +244,7 @@ fivehundredpx:
|
||||
Prefix: https://500px.com/
|
||||
Title: 500px
|
||||
Icon:
|
||||
Class: fab fa-500px fa-fw
|
||||
Class: fa-brands fa-500px fa-fw
|
||||
|
||||
# 032: Mix
|
||||
mix:
|
||||
@@ -252,7 +252,7 @@ mix:
|
||||
Prefix: https://mix.com/
|
||||
Title: Mix
|
||||
Icon:
|
||||
Class: fab fa-mix fa-fw
|
||||
Class: fa-brands fa-mix fa-fw
|
||||
|
||||
# 033: Goodreads
|
||||
goodreads:
|
||||
@@ -260,7 +260,7 @@ goodreads:
|
||||
Prefix: https://www.goodreads.com/user/show/
|
||||
Title: Goodreads
|
||||
Icon:
|
||||
Class: fab fa-goodreads fa-fw
|
||||
Class: fa-brands fa-goodreads fa-fw
|
||||
|
||||
# 034: Last.fm
|
||||
lastfm:
|
||||
@@ -268,7 +268,7 @@ lastfm:
|
||||
Prefix: https://www.last.fm/user/
|
||||
Title: Last.fm
|
||||
Icon:
|
||||
Class: fab fa-lastfm fa-fw
|
||||
Class: fa-brands fa-lastfm fa-fw
|
||||
|
||||
# 035: Foursquare
|
||||
foursquare:
|
||||
@@ -276,7 +276,7 @@ foursquare:
|
||||
Prefix: https://foursquare.com/
|
||||
Title: Foursquare
|
||||
Icon:
|
||||
Class: fab fa-foursquare fa-fw
|
||||
Class: fa-brands fa-foursquare fa-fw
|
||||
|
||||
# 036: Hacker News
|
||||
hackernews:
|
||||
@@ -284,7 +284,7 @@ hackernews:
|
||||
Template: https://news.ycombinator.com/user?id=%v
|
||||
Title: Hacker News
|
||||
Icon:
|
||||
Class: fab fa-hacker-news fa-fw
|
||||
Class: fa-brands fa-hacker-news fa-fw
|
||||
|
||||
# 037: Kickstarter
|
||||
kickstarter:
|
||||
@@ -292,7 +292,7 @@ kickstarter:
|
||||
Prefix: https://kickstarter.com/profile/
|
||||
Title: Kickstarter
|
||||
Icon:
|
||||
Class: fab fa-kickstarter fa-fw
|
||||
Class: fa-brands fa-kickstarter fa-fw
|
||||
|
||||
# 038: Patreon
|
||||
patreon:
|
||||
@@ -300,7 +300,7 @@ patreon:
|
||||
Prefix: https://patreon.com/
|
||||
Title: Patreon
|
||||
Icon:
|
||||
Class: fab fa-patreon fa-fw
|
||||
Class: fa-brands fa-patreon fa-fw
|
||||
|
||||
# 039: Steam
|
||||
steam:
|
||||
@@ -308,7 +308,7 @@ steam:
|
||||
Prefix: https://steamcommunity.com/id/
|
||||
Title: Steam
|
||||
Icon:
|
||||
Class: fab fa-steam fa-fw
|
||||
Class: fa-brands fa-steam fa-fw
|
||||
|
||||
# 040: Twitch
|
||||
twitch:
|
||||
@@ -316,7 +316,7 @@ twitch:
|
||||
Prefix: https://www.twitch.tv/
|
||||
Title: Twitch
|
||||
Icon:
|
||||
Class: fab fa-twitch fa-fw
|
||||
Class: fa-brands fa-twitch fa-fw
|
||||
|
||||
# 041: Strava
|
||||
strava:
|
||||
@@ -324,7 +324,7 @@ strava:
|
||||
Prefix: https://www.strava.com/athletes/
|
||||
Title: Strava
|
||||
Icon:
|
||||
Class: fab fa-strava fa-fw
|
||||
Class: fa-brands fa-strava fa-fw
|
||||
|
||||
# 042: Skype
|
||||
skype:
|
||||
@@ -332,7 +332,7 @@ skype:
|
||||
Template: "skype:"
|
||||
Title: Skype
|
||||
Icon:
|
||||
Class: fab fa-skype fa-fw
|
||||
Class: fa-brands fa-skype fa-fw
|
||||
|
||||
# 043: WhatsApp
|
||||
whatsapp:
|
||||
@@ -340,7 +340,7 @@ whatsapp:
|
||||
Prefix: https://wa.me/
|
||||
Title: WhatsApp
|
||||
Icon:
|
||||
Class: fab fa-whatsapp fa-fw
|
||||
Class: fa-brands fa-whatsapp fa-fw
|
||||
|
||||
# 044: 知乎
|
||||
zhihu:
|
||||
@@ -364,7 +364,7 @@ angellist:
|
||||
Prefix: https://angel.co/
|
||||
Title: Angellist
|
||||
Icon:
|
||||
Class: fab fa-angellist fa-fw
|
||||
Class: fa-brands fa-angellist fa-fw
|
||||
|
||||
# 047: SlideShare
|
||||
slideshare:
|
||||
@@ -372,7 +372,7 @@ slideshare:
|
||||
Prefix: https://slideshare.com/
|
||||
Title: SlideShare
|
||||
Icon:
|
||||
Class: fab fa-slideshare fa-fw
|
||||
Class: fa-brands fa-slideshare fa-fw
|
||||
|
||||
# 048: JSFiddle
|
||||
jsfiddle:
|
||||
@@ -380,7 +380,7 @@ jsfiddle:
|
||||
Prefix: https://jsfiddle.com/
|
||||
Title: JSFiddle
|
||||
Icon:
|
||||
Class: fab fa-jsfiddle fa-fw
|
||||
Class: fa-brands fa-jsfiddle fa-fw
|
||||
|
||||
# 049: DeviantArt
|
||||
deviantart:
|
||||
@@ -388,7 +388,7 @@ deviantart:
|
||||
Template: https://%v.deviantart.com/
|
||||
Title: DeviantArt
|
||||
Icon:
|
||||
Class: fab fa-deviantart fa-fw
|
||||
Class: fa-brands fa-deviantart fa-fw
|
||||
|
||||
# 050: Behance
|
||||
behance:
|
||||
@@ -396,7 +396,7 @@ behance:
|
||||
Prefix: https://behance.net/
|
||||
Title: Behance
|
||||
Icon:
|
||||
Class: fab fa-behance fa-fw
|
||||
Class: fa-brands fa-behance fa-fw
|
||||
|
||||
# 051: Dribbble
|
||||
dribbble:
|
||||
@@ -404,7 +404,7 @@ dribbble:
|
||||
Prefix: https://dribbble.com/
|
||||
Title: Dribbble
|
||||
Icon:
|
||||
Class: fab fa-dribbble fa-fw
|
||||
Class: fa-brands fa-dribbble fa-fw
|
||||
|
||||
# 052: WordPress
|
||||
wordpress:
|
||||
@@ -412,7 +412,7 @@ wordpress:
|
||||
Template: https://%v.wordpress.com/
|
||||
Title: WordPress
|
||||
Icon:
|
||||
Class: fab fa-wordpress fa-fw
|
||||
Class: fa-brands fa-wordpress fa-fw
|
||||
|
||||
# 053: Vine
|
||||
vine:
|
||||
@@ -420,7 +420,7 @@ vine:
|
||||
Prefix: https://vine.co/
|
||||
Title: Vine
|
||||
Icon:
|
||||
Class: fab fa-vine fa-fw
|
||||
Class: fa-brands fa-vine fa-fw
|
||||
|
||||
# 054: Google Scholar
|
||||
googlescholar:
|
||||
@@ -436,7 +436,7 @@ researchgate:
|
||||
Prefix: https://www.researchgate.net/profile/
|
||||
Title: ResearchGate
|
||||
Icon:
|
||||
Class: fab fa-researchgate fa-fw
|
||||
Class: fa-brands fa-researchgate fa-fw
|
||||
|
||||
# 056: Mastodon
|
||||
mastodon:
|
||||
@@ -444,7 +444,7 @@ mastodon:
|
||||
Prefix: https://mastodon.social/
|
||||
Title: Mastodon
|
||||
Icon:
|
||||
Class: fab fa-mastodon fa-fw
|
||||
Class: fa-brands fa-mastodon fa-fw
|
||||
|
||||
# 057: Thingiverse
|
||||
thingiverse:
|
||||
@@ -460,7 +460,7 @@ devto:
|
||||
Prefix: https://dev.to/
|
||||
Title: Dev.To
|
||||
Icon:
|
||||
Class: fab fa-dev fa-fw
|
||||
Class: fa-brands fa-dev fa-fw
|
||||
|
||||
# 059: Gitea
|
||||
gitea:
|
||||
@@ -491,7 +491,7 @@ bilibili:
|
||||
Prefix: https://space.bilibili.com/
|
||||
Title: bilibili
|
||||
Icon:
|
||||
Src: svg/icons/bilibili.svg
|
||||
Class: fa-brands fa-bilibili
|
||||
|
||||
# 063: ORCID
|
||||
orcid:
|
||||
@@ -499,7 +499,7 @@ orcid:
|
||||
Prefix: https://orcid.org/
|
||||
Title: ORCID
|
||||
Icon:
|
||||
Class: fab fa-orcid fa-fw
|
||||
Class: fa-brands fa-orcid fa-fw
|
||||
|
||||
# 064 Liberapay
|
||||
liberapay:
|
||||
@@ -541,13 +541,13 @@ qq:
|
||||
Icon:
|
||||
Simpleicons: tencentqq
|
||||
|
||||
# 069: QQGroup
|
||||
# 069: QQ Group
|
||||
qqgroup:
|
||||
Weight: 69
|
||||
Template: https://qm.qq.com/cgi-bin/qm/qr?k=%v&jump_from=webapi
|
||||
Title: QQGroup
|
||||
Title: QQ Group
|
||||
Icon:
|
||||
Class: fas fa-users
|
||||
Class: fa-solid fa-users
|
||||
|
||||
# 070: Diaspora
|
||||
diaspora:
|
||||
@@ -570,7 +570,7 @@ email:
|
||||
Template: mailto:%v
|
||||
Title: Email
|
||||
Icon:
|
||||
Class: far fa-envelope fa-fw
|
||||
Class: fa-regular fa-envelope fa-fw
|
||||
|
||||
# 073: RSS
|
||||
rss:
|
||||
@@ -579,4 +579,4 @@ rss:
|
||||
Title: RSS
|
||||
Newtab: true
|
||||
Icon:
|
||||
Class: fas fa-rss fa-fw
|
||||
Class: fa-solid fa-rss fa-fw
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Bilibili icon</title><path d="M17.813 4.653h.854c1.51.054 2.769.578 3.773 1.574 1.004.995 1.524 2.249 1.56 3.76v7.36c-.036 1.51-.556 2.769-1.56 3.773s-2.262 1.524-3.773 1.56H5.333c-1.51-.036-2.769-.556-3.773-1.56S.036 18.858 0 17.347v-7.36c.036-1.511.556-2.765 1.56-3.76 1.004-.996 2.262-1.52 3.773-1.574h.774l-1.174-1.12a1.234 1.234 0 0 1-.373-.906c0-.356.124-.658.373-.907l.027-.027c.267-.249.573-.373.92-.373.347 0 .653.124.92.373L9.653 4.44c.071.071.134.142.187.213h4.267a.836.836 0 0 1 .16-.213l2.853-2.747c.267-.249.573-.373.92-.373.347 0 .662.151.929.4.267.249.391.551.391.907 0 .355-.124.657-.373.906zM5.333 7.24c-.746.018-1.373.276-1.88.773-.506.498-.769 1.13-.786 1.894v7.52c.017.764.28 1.395.786 1.893.507.498 1.134.756 1.88.773h13.334c.746-.017 1.373-.275 1.88-.773.506-.498.769-1.129.786-1.893v-7.52c-.017-.765-.28-1.396-.786-1.894-.507-.497-1.134-.755-1.88-.773zM8 11.107c.373 0 .684.124.933.373.25.249.383.569.4.96v1.173c-.017.391-.15.711-.4.96-.249.25-.56.374-.933.374s-.684-.125-.933-.374c-.25-.249-.383-.569-.4-.96V12.44c0-.373.129-.689.386-.947.258-.257.574-.386.947-.386zm8 0c.373 0 .684.124.933.373.25.249.383.569.4.96v1.173c-.017.391-.15.711-.4.96-.249.25-.56.374-.933.374s-.684-.125-.933-.374c-.25-.249-.383-.569-.4-.96V12.44c.017-.391.15-.711.4-.96.249-.249.56-.373.933-.373Z"/></svg>
|
||||
|
Before Width: | Height: | Size: 1.4 KiB |
+16
-16
@@ -53,7 +53,7 @@ enableEmoji = true
|
||||
# Identifier of the parent menu item since v0.2.14
|
||||
parent = ""
|
||||
# you can add extra information before the name (HTML format is supported), such as icons
|
||||
pre = "<i class='fas fa-archive fa-fw fa-sm'></i>"
|
||||
pre = "<i class='fa-solid fa-archive fa-fw fa-sm'></i>"
|
||||
# you can add extra information after the name (HTML format is supported), such as icons
|
||||
post = ""
|
||||
name = "Posts"
|
||||
@@ -63,7 +63,7 @@ enableEmoji = true
|
||||
weight = 1
|
||||
[[languages.en.menu.main]]
|
||||
identifier = "categories"
|
||||
pre = "<i class='fas fa-th fa-fw fa-sm'></i>"
|
||||
pre = "<i class='fa-solid fa-th fa-fw fa-sm'></i>"
|
||||
post = ""
|
||||
name = "Categories"
|
||||
url = "/categories/"
|
||||
@@ -71,7 +71,7 @@ enableEmoji = true
|
||||
weight = 2
|
||||
[[languages.en.menu.main]]
|
||||
identifier = "tags"
|
||||
pre = "<i class='fas fa-tags fa-fw fa-sm'></i>"
|
||||
pre = "<i class='fa-solid fa-tags fa-fw fa-sm'></i>"
|
||||
post = ""
|
||||
name = "Tags"
|
||||
url = "/tags/"
|
||||
@@ -79,7 +79,7 @@ enableEmoji = true
|
||||
weight = 3
|
||||
[[languages.en.menu.main]]
|
||||
identifier = "documentation"
|
||||
pre = "<i class='fas fa-book fa-fw fa-sm'></i>"
|
||||
pre = "<i class='fa-solid fa-book fa-fw fa-sm'></i>"
|
||||
post = ""
|
||||
name = "Docs"
|
||||
url = "/categories/documentation/"
|
||||
@@ -87,7 +87,7 @@ enableEmoji = true
|
||||
weight = 4
|
||||
[[languages.en.menu.main]]
|
||||
identifier = "tests"
|
||||
pre = "<i class='fas fa-flask fa-fw fa-sm'></i>"
|
||||
pre = "<i class='fa-solid fa-flask fa-fw fa-sm'></i>"
|
||||
post = ""
|
||||
name = "Tests"
|
||||
url = "/tests/"
|
||||
@@ -97,7 +97,7 @@ enableEmoji = true
|
||||
draft = true
|
||||
[[languages.en.menu.main]]
|
||||
identifier = "friends"
|
||||
pre = "<i class='fas fa-users fa-fw fa-sm'></i>"
|
||||
pre = "<i class='fa-solid fa-users fa-fw fa-sm'></i>"
|
||||
post = ""
|
||||
name = "Friends"
|
||||
url = "/friends/"
|
||||
@@ -105,7 +105,7 @@ enableEmoji = true
|
||||
weight = 6
|
||||
[[languages.en.menu.main]]
|
||||
identifier = "about"
|
||||
pre = "<i class='fas fa-info-circle fa-fw fa-sm'></i>"
|
||||
pre = "<i class='fa-solid fa-info-circle fa-fw fa-sm'></i>"
|
||||
post = ""
|
||||
name = "About"
|
||||
url = "/about/"
|
||||
@@ -113,7 +113,7 @@ enableEmoji = true
|
||||
weight = 7
|
||||
[[languages.en.menu.main]]
|
||||
identifier = "github"
|
||||
pre = "<i class='fab fa-github fa-fw'></i>"
|
||||
pre = "<i class='fa-brands fa-github fa-fw'></i>"
|
||||
post = ""
|
||||
name = ""
|
||||
url = "https://github.com/Lruihao/FixIt"
|
||||
@@ -289,7 +289,7 @@ enableEmoji = true
|
||||
# 父级菜单项的标识符 (identifier) since v0.2.14
|
||||
parent = ""
|
||||
# 你可以在名称 (允许 HTML 格式) 之前添加其他信息, 例如图标
|
||||
pre = "<i class='fas fa-archive fa-fw fa-sm'></i>"
|
||||
pre = "<i class='fa-solid fa-archive fa-fw fa-sm'></i>"
|
||||
# 你可以在名称 (允许 HTML 格式) 之后添加其他信息, 例如图标
|
||||
post = ""
|
||||
name = "所有文章"
|
||||
@@ -298,7 +298,7 @@ enableEmoji = true
|
||||
weight = 1
|
||||
[[languages.zh-cn.menu.main]]
|
||||
identifier = "categories"
|
||||
pre = "<i class='fas fa-th fa-fw fa-sm'></i>"
|
||||
pre = "<i class='fa-solid fa-th fa-fw fa-sm'></i>"
|
||||
post = ""
|
||||
name = "分类"
|
||||
url = "/categories/"
|
||||
@@ -306,7 +306,7 @@ enableEmoji = true
|
||||
weight = 2
|
||||
[[languages.zh-cn.menu.main]]
|
||||
identifier = "tags"
|
||||
pre = "<i class='fas fa-tags fa-fw fa-sm'></i>"
|
||||
pre = "<i class='fa-solid fa-tags fa-fw fa-sm'></i>"
|
||||
post = ""
|
||||
name = "标签"
|
||||
url = "/tags/"
|
||||
@@ -314,14 +314,14 @@ enableEmoji = true
|
||||
weight = 3
|
||||
[[languages.zh-cn.menu.main]]
|
||||
identifier = "documentation"
|
||||
pre = "<i class='fas fa-book fa-fw fa-sm'></i>"
|
||||
pre = "<i class='fa-solid fa-book fa-fw fa-sm'></i>"
|
||||
name = "文档"
|
||||
url = "/categories/documentation/"
|
||||
title = "主题文档"
|
||||
weight = 4
|
||||
[[languages.zh-cn.menu.main]]
|
||||
identifier = "tests"
|
||||
pre = "<i class='fas fa-flask fa-fw fa-sm'></i>"
|
||||
pre = "<i class='fa-solid fa-flask fa-fw fa-sm'></i>"
|
||||
post = ""
|
||||
name = "测试"
|
||||
url = "/tests/"
|
||||
@@ -331,7 +331,7 @@ enableEmoji = true
|
||||
draft = true
|
||||
[[languages.zh-cn.menu.main]]
|
||||
identifier = "friends"
|
||||
pre = "<i class='fas fa-users fa-fw fa-sm'></i>"
|
||||
pre = "<i class='fa-solid fa-users fa-fw fa-sm'></i>"
|
||||
post = ""
|
||||
name = "友链"
|
||||
url = "/friends/"
|
||||
@@ -339,7 +339,7 @@ enableEmoji = true
|
||||
weight = 6
|
||||
[[languages.zh-cn.menu.main]]
|
||||
identifier = "about"
|
||||
pre = "<i class='fas fa-info-circle fa-fw fa-sm'></i>"
|
||||
pre = "<i class='fa-solid fa-info-circle fa-fw fa-sm'></i>"
|
||||
post = ""
|
||||
name = "关于"
|
||||
url = "/about/"
|
||||
@@ -347,7 +347,7 @@ enableEmoji = true
|
||||
weight = 7
|
||||
[[languages.zh-cn.menu.main]]
|
||||
identifier = "github"
|
||||
pre = "<i class='fab fa-github fa-fw'></i>"
|
||||
pre = "<i class='fa-brands fa-github fa-fw'></i>"
|
||||
post = ""
|
||||
name = ""
|
||||
url = "https://github.com/Lruihao/FixIt"
|
||||
|
||||
@@ -3,6 +3,7 @@ title: "About FixIt"
|
||||
date: 2019-08-02T11:04:49+08:00
|
||||
draft: false
|
||||
comment: false
|
||||
pageStyle: "wide"
|
||||
|
||||
lightgallery: true
|
||||
|
||||
@@ -29,67 +30,67 @@ math:
|
||||
|
||||
#### Performance and SEO
|
||||
|
||||
* :(fas fa-rocket fa-fw): Optimized for **performance**: [99]/[100] on mobile and [100]/[100] on desktop in [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights)
|
||||
* :(fab fa-searchengin fa-fw): Optimized SEO performance with a correct **SEO SCHEMA** based on JSON-LD
|
||||
* :(fab fa-google fa-fw): **[Google Analytics](https://analytics.google.com/analytics)** supported
|
||||
* :(far fa-chart-bar fa-fw): **[Fathom Analytics](https://usefathom.com/)** supported
|
||||
* :(fas fa-search fa-fw): Search engine **verification** supported (Google, Bind, Yandex, Baidu, 360 and Sogou)
|
||||
* :(fas fa-tachometer-alt fa-fw): **CDN** for third-party libraries supported
|
||||
* :(fas fa-cloud-download-alt fa-fw): Automatically converted images with **Lazy Load** by [lazysizes](https://github.com/aFarkas/lazysizes)
|
||||
* :(fa-solid fa-rocket fa-fw): Optimized for **performance**: [99]/[100] on mobile and [100]/[100] on desktop in [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights)
|
||||
* :(fa-brands fa-searchengin fa-fw): Optimized SEO performance with a correct **SEO SCHEMA** based on JSON-LD
|
||||
* :(fa-brands fa-google fa-fw): **[Google Analytics](https://analytics.google.com/analytics)** supported
|
||||
* :(fa-regular fa-chart-bar fa-fw): **[Fathom Analytics](https://usefathom.com/)** supported
|
||||
* :(fa-solid fa-search fa-fw): Search engine **verification** supported (Google, Bind, Yandex, Baidu, 360 and Sogou)
|
||||
* :(fa-solid fa-tachometer-alt fa-fw): **CDN** for third-party libraries supported
|
||||
* :(fa-solid fa-cloud-download-alt fa-fw): Automatically converted images with **Lazy Load** by [lazysizes](https://github.com/aFarkas/lazysizes)
|
||||
|
||||
#### Appearance and Layout
|
||||
|
||||
* [:(fas fa-desktop):]/[:(fas fa-mobile):] **Responsive** layout
|
||||
* [:(fas fa-sun):]/[:(fas fa-moon):] **[Light]/[Dark]** mode
|
||||
* :(fas fa-layer-group fa-fw): Globally consistent **design language**
|
||||
* :(fas fa-ellipsis-h fa-fw): **Pagination** supported
|
||||
* :(far fa-list-alt fa-fw): Easy-to-use and self-expanding **table of contents**
|
||||
* :(fas fa-language fa-fw): **Multilanguage** supported and i18n ready
|
||||
* :(fab fa-css3-alt fa-fw): Beautiful **CSS animation**
|
||||
* [:(fa-solid fa-desktop):]/[:(fa-solid fa-mobile):] **Responsive** layout
|
||||
* [:(fa-solid fa-sun):]/[:(fa-solid fa-moon):] **[Light]/[Dark]** mode
|
||||
* :(fa-solid fa-layer-group fa-fw): Globally consistent **design language**
|
||||
* :(fa-solid fa-ellipsis-h fa-fw): **Pagination** supported
|
||||
* :(fa-regular fa-list-alt fa-fw): Easy-to-use and self-expanding **table of contents**
|
||||
* :(fa-solid fa-language fa-fw): **Multilanguage** supported and i18n ready
|
||||
* :(fa-brands fa-css3-alt fa-fw): Beautiful **CSS animation**
|
||||
|
||||
#### Social and Comment Systems
|
||||
|
||||
* :(far fa-user fa-fw): **Gravatar** supported by [Gravatar](https://gravatar.com)
|
||||
* :(fas fa-user-circle fa-fw): Local **Avatar** supported
|
||||
* :(far fa-id-card fa-fw): Up to **73** social links supported
|
||||
* :(fas fa-share-square fa-fw): Up to **28** share sites supported
|
||||
* :(far fa-comment fa-fw): **Disqus** comment system supported by [Disqus](https://disqus.com)
|
||||
* :(far fa-comment-dots fa-fw): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
|
||||
* :(far fa-comment-alt fa-fw): **Valine** comment system supported by [Valine](https://valine.js.org/)
|
||||
* :(far fa-comment-alt fa-fw): **Waline** comment system supported by [Waline](https://waline.js.org/)
|
||||
* :(far fa-comments fa-fw): **Facebook comments** system supported by [Facebook](https://developers.facebook.com/docs/plugins/comments/)
|
||||
* :(fas fa-comment fa-fw): **Telegram comments** system supported by [Comments](https://comments.app/)
|
||||
* :(fas fa-comment-dots fa-fw): **Commento** comment system supported by [Commento](https://commento.io/)
|
||||
* :(far fa-comment-alt fa-fw): **Utterances** comment system supported by [Utterances](https://utteranc.es/)
|
||||
* :(far fa-comment-alt fa-fw): **Artalk** comment system supported by [Artalk](https://artalk.js.org/)
|
||||
* :(fas fa-comment-alt fa-fw): **Twikoo** comment system supported by [Twikoo](https://twikoo.js.org/)
|
||||
* :(fa-regular fa-user fa-fw): **Gravatar** supported by [Gravatar](https://gravatar.com)
|
||||
* :(fa-solid fa-user-circle fa-fw): Local **Avatar** supported
|
||||
* :(fa-regular fa-id-card fa-fw): Up to **73** social links supported
|
||||
* :(fa-solid fa-share-square fa-fw): Up to **28** share sites supported
|
||||
* :(fa-regular fa-comment fa-fw): **Disqus** comment system supported by [Disqus](https://disqus.com)
|
||||
* :(fa-regular fa-comment-dots fa-fw): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
|
||||
* :(fa-regular fa-comment-alt fa-fw): **Valine** comment system supported by [Valine](https://valine.js.org/)
|
||||
* :(fa-regular fa-comment-alt fa-fw): **Waline** comment system supported by [Waline](https://waline.js.org/)
|
||||
* :(fa-regular fa-comments fa-fw): **Facebook comments** system supported by [Facebook](https://developers.facebook.com/docs/plugins/comments/)
|
||||
* :(fa-solid fa-comment fa-fw): **Telegram comments** system supported by [Comments](https://comments.app/)
|
||||
* :(fa-solid fa-comment-dots fa-fw): **Commento** comment system supported by [Commento](https://commento.io/)
|
||||
* :(fa-regular fa-comment-alt fa-fw): **Utterances** comment system supported by [Utterances](https://utteranc.es/)
|
||||
* :(fa-regular fa-comment-alt fa-fw): **Artalk** comment system supported by [Artalk](https://artalk.js.org/)
|
||||
* :(fa-solid fa-comment-alt fa-fw): **Twikoo** comment system supported by [Twikoo](https://twikoo.js.org/)
|
||||
|
||||
#### Extended Features
|
||||
|
||||
* :(fas fa-search fa-fw): **Search** supported by [Lunr.js](https://lunrjs.com/) or [algolia](https://www.algolia.com/)
|
||||
* :(far fa-grin-tongue-wink fa-fw): **Twemoji** supported
|
||||
* :(fas fa-code fa-fw): Automatically **highlighting** code
|
||||
* :(far fa-copy fa-fw): **Copy code** to clipboard with one click
|
||||
* :(far fa-images fa-fw): **Images gallery** supported by [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js)
|
||||
* :(fab fa-font-awesome fa-fw): Extended Markdown syntax for **[Font Awesome](https://fontawesome.com/) icons**
|
||||
* :(far fa-sticky-note fa-fw): Extended Markdown syntax for **ruby annotation**
|
||||
* :(fas fa-percentage fa-fw): Extended Markdown syntax for **fraction**
|
||||
* :(fas fa-square-root-alt fa-fw): **Mathematical formula** supported by [$ \KaTeX $](https://katex.org/)
|
||||
* :(fas fa-project-diagram fa-fw): **Diagrams** shortcode supported by [mermaid](https://github.com/knsv/mermaid)
|
||||
* :(fas fa-chart-pie fa-fw): **Interactive data visualization** shortcode supported by [ECharts](https://echarts.apache.org/)
|
||||
* :(fas fa-map-marked-alt fa-fw): **Mapbox** shortcode supported by [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js)
|
||||
* :(fas fa-music fa-fw): **Music player** shortcode supported by [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS)
|
||||
* :(fas fa-video fa-fw): **Bilibili player** shortcode
|
||||
* :(far fa-bell fa-fw): Kinds of **admonitions** shortcode
|
||||
* :(fas fa-align-left fa-fw): **Custom style** shortcode
|
||||
* :(fab fa-js-square fa-fw): **Custom script** shortcode
|
||||
* :(fas fa-i-cursor fa-fw): **Animated typing** supported by [TypeIt](https://typeitjs.com/)
|
||||
* :(fas fa-cookie-bite fa-fw): **Cookie consent banner** supported by [cookieconsent](https://github.com/osano/cookieconsent)
|
||||
* :(fas fa-desktop fa-fw): **PWA (Progressive Web App)** supported
|
||||
* :(fas fa-signature fa-fw): **Web Watermark** supported by [cell-watermark](https://github.com/Lruihao/watermark)
|
||||
* :(fas fa-language fa-fw): **Chinese typesetting** supported by [pangu.js](https://github.com/vinta/pangu.js)
|
||||
* :(fas fa-link fa-fw): **Card type** link shortcode
|
||||
* :(fas fa-users fa-fw): **Friends** page embedded template
|
||||
* :(fa-solid fa-search fa-fw): **Search** supported by [Lunr.js](https://lunrjs.com/) or [algolia](https://www.algolia.com/)
|
||||
* :(fa-regular fa-grin-tongue-wink fa-fw): **Twemoji** supported
|
||||
* :(fa-solid fa-code fa-fw): Automatically **highlighting** code
|
||||
* :(fa-regular fa-copy fa-fw): **Copy code** to clipboard with one click
|
||||
* :(fa-regular fa-images fa-fw): **Images gallery** supported by [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js)
|
||||
* :(fa-brands fa-font-awesome fa-fw): Extended Markdown syntax for **[Font Awesome](https://fontawesome.com/) icons**
|
||||
* :(fa-regular fa-sticky-note fa-fw): Extended Markdown syntax for **ruby annotation**
|
||||
* :(fa-solid fa-percentage fa-fw): Extended Markdown syntax for **fraction**
|
||||
* :(fa-solid fa-square-root-alt fa-fw): **Mathematical formula** supported by [$ \KaTeX $](https://katex.org/)
|
||||
* :(fa-solid fa-project-diagram fa-fw): **Diagrams** shortcode supported by [mermaid](https://github.com/knsv/mermaid)
|
||||
* :(fa-solid fa-chart-pie fa-fw): **Interactive data visualization** shortcode supported by [ECharts](https://echarts.apache.org/)
|
||||
* :(fa-solid fa-map-marked-alt fa-fw): **Mapbox** shortcode supported by [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js)
|
||||
* :(fa-solid fa-music fa-fw): **Music player** shortcode supported by [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS)
|
||||
* :(fa-solid fa-video fa-fw): **Bilibili player** shortcode
|
||||
* :(fa-regular fa-bell fa-fw): Kinds of **admonitions** shortcode
|
||||
* :(fa-solid fa-align-left fa-fw): **Custom style** shortcode
|
||||
* :(fa-brands fa-js-square fa-fw): **Custom script** shortcode
|
||||
* :(fa-solid fa-i-cursor fa-fw): **Animated typing** supported by [TypeIt](https://typeitjs.com/)
|
||||
* :(fa-solid fa-cookie-bite fa-fw): **Cookie consent banner** supported by [cookieconsent](https://github.com/osano/cookieconsent)
|
||||
* :(fa-solid fa-desktop fa-fw): **PWA (Progressive Web App)** supported
|
||||
* :(fa-solid fa-signature fa-fw): **Web Watermark** supported by [cell-watermark](https://github.com/Lruihao/watermark)
|
||||
* :(fa-solid fa-language fa-fw): **Chinese typesetting** supported by [pangu.js](https://github.com/vinta/pangu.js)
|
||||
* :(fa-solid fa-link fa-fw): **Card type** link shortcode
|
||||
* :(fa-solid fa-users fa-fw): **Friends** page embedded template
|
||||
* ...
|
||||
|
||||
### License
|
||||
|
||||
@@ -3,6 +3,7 @@ title: "关于 FixIt"
|
||||
date: 2019-08-02T11:04:49+08:00
|
||||
draft: false
|
||||
comment: false
|
||||
pageStyle: "wide"
|
||||
|
||||
lightgallery: true
|
||||
|
||||
@@ -29,67 +30,67 @@ math:
|
||||
|
||||
#### 性能和 SEO
|
||||
|
||||
* :(fas fa-rocket fa-fw): **性能**优化:在 [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights) 中, [99]/[100] 的移动设备得分和 [100]/[100] 的桌面设备得分
|
||||
* :(fab fa-searchengin fa-fw): 使用基于 JSON-LD 格式 的 **SEO SCHEMA** 文件进行 SEO 优化
|
||||
* :(fab fa-google fa-fw): 支持 **[Google Analytics](https://analytics.google.com/analytics)**
|
||||
* :(far fa-chart-bar fa-fw): 支持 **[Fathom Analytics](https://usefathom.com/)**
|
||||
* :(fas fa-search fa-fw): 支持搜索引擎的**网站验证** (Google, Bind, Yandex, Baidu, 360 and Sogou)
|
||||
* :(fas fa-tachometer-alt fa-fw): 支持所有第三方库的 **CDN**
|
||||
* :(fas fa-cloud-download-alt fa-fw): 基于 [lazysizes](https://github.com/aFarkas/lazysizes) 自动转换图片为**懒加载**
|
||||
* :(fa-solid fa-rocket fa-fw): **性能**优化:在 [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights) 中, [99]/[100] 的移动设备得分和 [100]/[100] 的桌面设备得分
|
||||
* :(fa-brands fa-searchengin fa-fw): 使用基于 JSON-LD 格式 的 **SEO SCHEMA** 文件进行 SEO 优化
|
||||
* :(fa-brands fa-google fa-fw): 支持 **[Google Analytics](https://analytics.google.com/analytics)**
|
||||
* :(fa-regular fa-chart-bar fa-fw): 支持 **[Fathom Analytics](https://usefathom.com/)**
|
||||
* :(fa-solid fa-search fa-fw): 支持搜索引擎的**网站验证** (Google, Bind, Yandex, Baidu, 360 and Sogou)
|
||||
* :(fa-solid fa-tachometer-alt fa-fw): 支持所有第三方库的 **CDN**
|
||||
* :(fa-solid fa-cloud-download-alt fa-fw): 基于 [lazysizes](https://github.com/aFarkas/lazysizes) 自动转换图片为**懒加载**
|
||||
|
||||
#### 外观和布局
|
||||
|
||||
* [:(fas fa-desktop):]/[:(fas fa-mobile):] **响应式**布局
|
||||
* [:(fas fa-sun):]/[:(fas fa-moon):] **[浅色]/[深色]** 主题模式
|
||||
* :(fas fa-layer-group fa-fw): 全局一致的**设计语言**
|
||||
* :(fas fa-ellipsis-h fa-fw): 支持**分页**
|
||||
* :(far fa-list-alt fa-fw): 易用和自动展开的**文章目录**
|
||||
* :(fas fa-language fa-fw): 支持**多语言**和国际化
|
||||
* :(fab fa-css3-alt fa-fw): 美观的 **CSS 动画**
|
||||
* [:(fa-solid fa-desktop):]/[:(fa-solid fa-mobile):] **响应式**布局
|
||||
* [:(fa-solid fa-sun):]/[:(fa-solid fa-moon):] **[浅色]/[深色]** 主题模式
|
||||
* :(fa-solid fa-layer-group fa-fw): 全局一致的**设计语言**
|
||||
* :(fa-solid fa-ellipsis-h fa-fw): 支持**分页**
|
||||
* :(fa-regular fa-list-alt fa-fw): 易用和自动展开的**文章目录**
|
||||
* :(fa-solid fa-language fa-fw): 支持**多语言**和国际化
|
||||
* :(fa-brands fa-css3-alt fa-fw): 美观的 **CSS 动画**
|
||||
|
||||
#### 社交和评论系统
|
||||
|
||||
* :(far fa-user fa-fw): 支持 **[Gravatar](https://gravatar.com)** 头像
|
||||
* :(fas fa-user-circle fa-fw): 支持本地**头像**
|
||||
* :(far fa-id-card fa-fw): 支持多达 **73** 种社交链接
|
||||
* :(fas fa-share-square fa-fw): 支持多达 **28** 种网站分享
|
||||
* :(far fa-comment fa-fw): 支持 **[Disqus](https://disqus.com)** 评论系统
|
||||
* :(far fa-comment-dots fa-fw): 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统
|
||||
* :(far fa-comment-alt fa-fw): 支持 **[Valine](https://valine.js.org/)** 评论系统
|
||||
* :(far fa-comment-alt fa-fw): 支持 **[Waline](https://waline.js.org/)** 评论系统
|
||||
* :(far fa-comments fa-fw): 支持 **[Facebook](https://developers.facebook.com/docs/plugins/comments/) 评论**系统
|
||||
* :(fas fa-comment fa-fw): 支持 **[Telegram comments](https://comments.app/) 评论**系统
|
||||
* :(fas fa-comment-dots fa-fw): 支持 **[Commento](https://commento.io/)** 评论系统
|
||||
* :(far fa-comment-alt fa-fw): 支持 **[Utterances](https://utteranc.es/)** 评论系统
|
||||
* :(far fa-comment-alt fa-fw): 支持 **[Artalk](https://artalk.js.org/)** 评论系统
|
||||
* :(far fa-comment-alt fa-fw): 支持 **[Twikoo](https://twikoo.js.org/)** 评论系统
|
||||
* :(fa-regular fa-user fa-fw): 支持 **[Gravatar](https://gravatar.com)** 头像
|
||||
* :(fa-solid fa-user-circle fa-fw): 支持本地**头像**
|
||||
* :(fa-regular fa-id-card fa-fw): 支持多达 **73** 种社交链接
|
||||
* :(fa-solid fa-share-square fa-fw): 支持多达 **28** 种网站分享
|
||||
* :(fa-regular fa-comment fa-fw): 支持 **[Disqus](https://disqus.com)** 评论系统
|
||||
* :(fa-regular fa-comment-dots fa-fw): 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统
|
||||
* :(fa-regular fa-comment-alt fa-fw): 支持 **[Valine](https://valine.js.org/)** 评论系统
|
||||
* :(fa-regular fa-comment-alt fa-fw): 支持 **[Waline](https://waline.js.org/)** 评论系统
|
||||
* :(fa-regular fa-comments fa-fw): 支持 **[Facebook](https://developers.facebook.com/docs/plugins/comments/) 评论**系统
|
||||
* :(fa-solid fa-comment fa-fw): 支持 **[Telegram comments](https://comments.app/) 评论**系统
|
||||
* :(fa-solid fa-comment-dots fa-fw): 支持 **[Commento](https://commento.io/)** 评论系统
|
||||
* :(fa-regular fa-comment-alt fa-fw): 支持 **[Utterances](https://utteranc.es/)** 评论系统
|
||||
* :(fa-regular fa-comment-alt fa-fw): 支持 **[Artalk](https://artalk.js.org/)** 评论系统
|
||||
* :(fa-regular fa-comment-alt fa-fw): 支持 **[Twikoo](https://twikoo.js.org/)** 评论系统
|
||||
|
||||
#### 扩展功能
|
||||
|
||||
* :(fas fa-search fa-fw): 支持基于 [Lunr.js](https://lunrjs.com/) 或 [algolia](https://www.algolia.com/) 的**搜索**
|
||||
* :(far fa-grin-tongue-wink fa-fw): 支持 **Twemoji**
|
||||
* :(fas fa-code fa-fw): 支持**代码高亮**
|
||||
* :(far fa-copy fa-fw): 一键**复制代码**到剪贴板
|
||||
* :(far fa-images fa-fw): 支持基于 [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js) 的**图片画廊**
|
||||
* :(fab fa-font-awesome fa-fw): 支持 **[Font Awesome](https://fontawesome.com/) 图标**的扩展 Markdown 语法
|
||||
* :(far fa-sticky-note fa-fw): 支持**上标注释**的扩展 Markdown 语法
|
||||
* :(fas fa-percentage fa-fw): 支持**分数**的扩展 Markdown 语法
|
||||
* :(fas fa-square-root-alt fa-fw): 支持基于 [$ \KaTeX $](https://katex.org/) 的**数学公式**
|
||||
* :(fas fa-project-diagram fa-fw): 支持基于 [mermaid](https://github.com/knsv/mermaid) 的**图表** shortcode
|
||||
* :(fas fa-chart-pie fa-fw): 支持基于 [ECharts](https://echarts.apache.org/) 的**交互式数据可视化** shortcode
|
||||
* :(fas fa-map-marked-alt fa-fw): 支持基于 [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) 的 **Mapbox** shortcode
|
||||
* :(fas fa-music fa-fw): 支持基于 [APlayer](https://github.com/MoePlayer/APlayer) 和 [MetingJS](https://github.com/metowolf/MetingJS) 的**音乐播放器** shortcode
|
||||
* :(fas fa-video fa-fw): 支持 **Bilibili 视频** shortcode
|
||||
* :(far fa-bell fa-fw): 支持多种**注释**的 shortcode
|
||||
* :(fas fa-align-left fa-fw): 支持**自定义样式**的 shortcode
|
||||
* :(fab fa-js-square fa-fw): 支持**自定义脚本**的 shortcode
|
||||
* :(fas fa-i-cursor fa-fw): 支持基于 [TypeIt](https://typeitjs.com/) 的**打字动画** shortcode
|
||||
* :(fas fa-cookie-bite fa-fw): 支持基于 [cookieconsent](https://github.com/osano/cookieconsent) 的 **Cookie 许可横幅**
|
||||
* :(fas fa-desktop fa-fw): 支持**渐进式网页应用**
|
||||
* :(fas fa-signature fa-fw): 支持基于 [cell-watermark](https://github.com/Lruihao/watermark) 的**网页水印**
|
||||
* :(fas fa-language fa-fw): 支持基于 [pangu.js](https://github.com/vinta/pangu.js) 的**中文排版**
|
||||
* :(fas fa-link fa-fw): 支持**卡片式链接**的 shortcode
|
||||
* :(fas fa-users fa-fw): 支持**友情链接**的页面模板
|
||||
* :(fa-solid fa-search fa-fw): 支持基于 [Lunr.js](https://lunrjs.com/) 或 [algolia](https://www.algolia.com/) 的**搜索**
|
||||
* :(fa-regular fa-grin-tongue-wink fa-fw): 支持 **Twemoji**
|
||||
* :(fa-solid fa-code fa-fw): 支持**代码高亮**
|
||||
* :(fa-regular fa-copy fa-fw): 一键**复制代码**到剪贴板
|
||||
* :(fa-regular fa-images fa-fw): 支持基于 [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js) 的**图片画廊**
|
||||
* :(fa-brands fa-font-awesome fa-fw): 支持 **[Font Awesome](https://fontawesome.com/) 图标**的扩展 Markdown 语法
|
||||
* :(fa-regular fa-sticky-note fa-fw): 支持**上标注释**的扩展 Markdown 语法
|
||||
* :(fa-solid fa-percentage fa-fw): 支持**分数**的扩展 Markdown 语法
|
||||
* :(fa-solid fa-square-root-alt fa-fw): 支持基于 [$ \KaTeX $](https://katex.org/) 的**数学公式**
|
||||
* :(fa-solid fa-project-diagram fa-fw): 支持基于 [mermaid](https://github.com/knsv/mermaid) 的**图表** shortcode
|
||||
* :(fa-solid fa-chart-pie fa-fw): 支持基于 [ECharts](https://echarts.apache.org/) 的**交互式数据可视化** shortcode
|
||||
* :(fa-solid fa-map-marked-alt fa-fw): 支持基于 [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) 的 **Mapbox** shortcode
|
||||
* :(fa-solid fa-music fa-fw): 支持基于 [APlayer](https://github.com/MoePlayer/APlayer) 和 [MetingJS](https://github.com/metowolf/MetingJS) 的**音乐播放器** shortcode
|
||||
* :(fa-solid fa-video fa-fw): 支持 **Bilibili 视频** shortcode
|
||||
* :(fa-regular fa-bell fa-fw): 支持多种**注释**的 shortcode
|
||||
* :(fa-solid fa-align-left fa-fw): 支持**自定义样式**的 shortcode
|
||||
* :(fa-brands fa-js-square fa-fw): 支持**自定义脚本**的 shortcode
|
||||
* :(fa-solid fa-i-cursor fa-fw): 支持基于 [TypeIt](https://typeitjs.com/) 的**打字动画** shortcode
|
||||
* :(fa-solid fa-cookie-bite fa-fw): 支持基于 [cookieconsent](https://github.com/osano/cookieconsent) 的 **Cookie 许可横幅**
|
||||
* :(fa-solid fa-desktop fa-fw): 支持**渐进式网页应用**
|
||||
* :(fa-solid fa-signature fa-fw): 支持基于 [cell-watermark](https://github.com/Lruihao/watermark) 的**网页水印**
|
||||
* :(fa-solid fa-language fa-fw): 支持基于 [pangu.js](https://github.com/vinta/pangu.js) 的**中文排版**
|
||||
* :(fa-solid fa-link fa-fw): 支持**卡片式链接**的 shortcode
|
||||
* :(fa-solid fa-users fa-fw): 支持**友情链接**的页面模板
|
||||
* ...
|
||||
|
||||
### 许可协议
|
||||
|
||||
@@ -12,7 +12,7 @@ comment: true
|
||||
---
|
||||
|
||||
{{< admonition tip "Add your FixIt site" >}}
|
||||
You could add your FixIt site to this page via [making a PR :(fas fa-code-branch fa-fw):](https://github.com/Lruihao/FixIt/pulls). (e.g. [#111](https://github.com/Lruihao/FixIt/pull/111))
|
||||
You could add your FixIt site to this page via [making a PR :(fa-solid fa-code-branch fa-fw):](https://github.com/Lruihao/FixIt/pulls). (e.g. [#111](https://github.com/Lruihao/FixIt/pull/111))
|
||||
|
||||
> :(fas fa-exclamation-triangle): *Website failure, stop maintenance and improper content may be unlinked!*
|
||||
> :(fa-solid fa-exclamation-triangle): *Website failure, stop maintenance and improper content may be unlinked!*
|
||||
{{< /admonition >}}
|
||||
|
||||
@@ -12,7 +12,7 @@ comment: true
|
||||
---
|
||||
|
||||
{{< admonition tip "添加您的 FixIt 网站" >}}
|
||||
您可以通过 [创建 PR :(fas fa-code-branch fa-fw):](https://github.com/Lruihao/FixIt/pulls) 将您的 FixIt 网站添加到此页面。(例如:[#111](https://github.com/Lruihao/FixIt/pull/111))
|
||||
您可以通过 [创建 PR :(fa-solid fa-code-branch fa-fw):](https://github.com/Lruihao/FixIt/pulls) 将您的 FixIt 网站添加到此页面。(例如:[#111](https://github.com/Lruihao/FixIt/pull/111))
|
||||
|
||||
> :(fas fa-exclamation-triangle): *网站失效、停止维护、不当内容都可能被取消链接!*
|
||||
> :(fa-solid fa-exclamation-triangle): *网站失效、停止维护、不当内容都可能被取消链接!*
|
||||
{{< /admonition >}}
|
||||
|
||||
@@ -53,7 +53,7 @@ John Gruber, the author of Markdown, puts it like this:
|
||||
Without further delay, let us go over the main elements of Markdown and what the resulting HTML looks like!
|
||||
|
||||
{{< admonition tip >}}
|
||||
:(far fa-bookmark fa-fw): Bookmark this page for easy future reference!
|
||||
:(fa-regular fa-bookmark fa-fw): Bookmark this page for easy future reference!
|
||||
{{< /admonition >}}
|
||||
|
||||
## 1 Headings
|
||||
|
||||
@@ -53,7 +53,7 @@ John Gruber, Markdown 的作者如是说:
|
||||
话不多说,我们来回顾一下 Markdown 的主要语法以及生成的 HTML 样式!
|
||||
|
||||
{{< admonition tip >}}
|
||||
:(far fa-bookmark fa-fw): 将此页保存为书签,以备将来参考!
|
||||
:(fa-regular fa-bookmark fa-fw): 将此页保存为书签,以备将来参考!
|
||||
{{< /admonition >}}
|
||||
|
||||
## 1 标题
|
||||
|
||||
@@ -22,7 +22,7 @@ menu:
|
||||
name: "PWA Support"
|
||||
title: "Guide to setup PWA in FixIt."
|
||||
parent: "documentation"
|
||||
pre: "<i class='fab fa-readme fa-fw fa-sm'></i>"
|
||||
pre: "<i class='fa-brands fa-readme fa-fw fa-sm'></i>"
|
||||
---
|
||||
|
||||
Find out how to turn your FixIt site into a Progressive Web App.
|
||||
|
||||
@@ -21,7 +21,7 @@ menu:
|
||||
main:
|
||||
title: "在 FixIt 中设置 PWA 的指南。"
|
||||
parent: "documentation"
|
||||
pre: "<i class='fab fa-readme fa-fw fa-sm'></i>"
|
||||
pre: "<i class='fa-brands fa-readme fa-fw fa-sm'></i>"
|
||||
---
|
||||
|
||||
了解如何在 FixIt 主题中配置渐进式网络应用程序 (PWA)。
|
||||
|
||||
@@ -21,7 +21,7 @@ menu:
|
||||
name: "Basics"
|
||||
title: "Discover what the Hugo - FixIt theme is all about and the core-concepts behind it."
|
||||
parent: "documentation"
|
||||
pre: "<i class='fab fa-readme fa-fw fa-sm'></i>"
|
||||
pre: "<i class='fa-brands fa-readme fa-fw fa-sm'></i>"
|
||||
---
|
||||
|
||||
Discover what the Hugo - **FixIt** theme is all about and the core-concepts behind it.
|
||||
@@ -32,14 +32,14 @@ Discover what the Hugo - **FixIt** theme is all about and the core-concepts behi
|
||||
|
||||
Thanks to the simplicity of Hugo, [Hugo](https://gohugo.io/) is the only dependency of this theme.
|
||||
|
||||
Just install latest version of [:(far fa-file-archive fa-fw): Hugo (> 0.62.0)](https://gohugo.io/getting-started/installing/) for your OS (**Windows**, **Linux**, **macOS**).
|
||||
Just install latest version of [:(fa-regular fa-file-archive fa-fw): Hugo (> 0.62.0)](https://gohugo.io/getting-started/installing/) for your OS (**Windows**, **Linux**, **macOS**).
|
||||
|
||||
{{< admonition note "Why not support earlier versions of Hugo?" >}}
|
||||
Since [Markdown Render Hooks](https://gohugo.io/getting-started/configuration-markup#markdown-render-hooks) was introduced in the [Hugo Christmas Edition](https://gohugo.io/news/0.62.0-relnotes/), this theme only supports Hugo versions above **0.62.0**.
|
||||
{{< /admonition >}}
|
||||
|
||||
{{< admonition tip "Hugo extended version is recommended" >}}
|
||||
Since some features of this theme need to processes :(fab fa-sass fa-fw): SCSS to :(fab fa-css3 fa-fw): CSS, it is recommended to use Hugo **extended** version for better experience.
|
||||
Since some features of this theme need to processes :(fa-brands fa-sass fa-fw): SCSS to :(fa-brands fa-css3 fa-fw): CSS, it is recommended to use Hugo **extended** version for better experience.
|
||||
{{< /admonition >}}
|
||||
|
||||
## 2 Installation
|
||||
@@ -59,7 +59,7 @@ cd my_website
|
||||
|
||||
The **FixIt** theme’s repository is: <https://github.com/Lruihao/FixIt>.
|
||||
|
||||
You can download the [latest release :(far fa-file-archive fa-fw): .zip file](https://github.com/Lruihao/FixIt/releases) of the theme and extract it in the `themes` directory.
|
||||
You can download the [latest release :(fa-regular fa-file-archive fa-fw): .zip file](https://github.com/Lruihao/FixIt/releases) of the theme and extract it in the `themes` directory.
|
||||
|
||||
Alternatively, clone this repository to the `themes` directory:
|
||||
|
||||
@@ -196,7 +196,7 @@ Alternatively, you can use [AWS Amplify](https://gohugo.io/hosting-and-deploymen
|
||||
|
||||
In addition to [Hugo global configuration](https://gohugo.io/overview/configuration/) and [menu configuration](#basic-configuration), **FixIt** lets you define the following parameters in your site configuration (here is a `config.toml`, whose values are default).
|
||||
|
||||
Please open the code block below to view the complete sample configuration :(far fa-hand-point-down fa-fw)::
|
||||
Please open the code block below to view the complete sample configuration :(fa-regular fa-hand-point-down fa-fw)::
|
||||
|
||||
```toml
|
||||
[params]
|
||||
@@ -1134,7 +1134,7 @@ menu:
|
||||
name: "Basics"
|
||||
title: "Discover what the Hugo - FixIt theme is all about and the core-concepts behind it."
|
||||
parent: "documentation"
|
||||
pre: "<i class='fab fa-readme fa-fw fa-sm'></i>"
|
||||
pre: "<i class='fa-brands fa-readme fa-fw fa-sm'></i>"
|
||||
---
|
||||
...
|
||||
```
|
||||
@@ -1151,19 +1151,19 @@ menu:
|
||||
|
||||
| Language | Hugo Code | HTML `lang` Attribute | Theme Docs | Lunr.js Support |
|
||||
|:-------------------- |:---------:|:---------------------:|:-----------------------------:|:-----------------------------:|
|
||||
| English | `en` | `en` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| Simplified Chinese | `zh-cn` | `zh-CN` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| French | `fr` | `fr` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| Polish | `pl` | `pl` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |
|
||||
| Brazilian Portuguese | `pt-br` | `pt-BR` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| Italian | `it` | `it` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| Spanish | `es` | `es` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| German | `de` | `de` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| Serbian | `sr` | `sr` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |
|
||||
| Russian | `ru` | `ru` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| Romanian | `ro` | `ro` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| Vietnamese | `vi` | `vi` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| Traditional Chinese | `zh-tw` | `zh-TW` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| English | `en` | `en` | :(fa-regular fa-check-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
| Simplified Chinese | `zh-cn` | `zh-CN` | :(fa-regular fa-check-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
| French | `fr` | `fr` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
| Polish | `pl` | `pl` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): |
|
||||
| Brazilian Portuguese | `pt-br` | `pt-BR` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
| Italian | `it` | `it` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
| Spanish | `es` | `es` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
| German | `de` | `de` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
| Serbian | `sr` | `sr` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): |
|
||||
| Russian | `ru` | `ru` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
| Romanian | `ro` | `ro` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
| Vietnamese | `vi` | `vi` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
| Traditional Chinese | `zh-tw` | `zh-TW` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
|
||||
### 4.2 Basic Configuration
|
||||
|
||||
@@ -1292,7 +1292,7 @@ Translations strings are used for common default values used in the theme. Trans
|
||||
|
||||
To override these values, create a new file in your local i18n folder `i18n/<languageCode>.toml` and inspire yourself from `themes/FixIt/i18n/en.toml`.
|
||||
|
||||
By the way, as these translations could be used by other people, please take the time to propose a translation by [ making a PR :(fas fa-code-branch fa-fw):](https://github.com/Lruihao/FixIt/pulls) to the theme!
|
||||
By the way, as these translations could be used by other people, please take the time to propose a translation by [making a PR :(fa-solid fa-code-branch fa-fw):](https://github.com/Lruihao/FixIt/pulls) to the theme!
|
||||
|
||||
## 5 Search
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ menu:
|
||||
main:
|
||||
title: "探索 Hugo - FixIt 主题的全部内容和背后的核心概念。"
|
||||
parent: "documentation"
|
||||
pre: "<i class='fab fa-readme fa-fw fa-sm'></i>"
|
||||
pre: "<i class='fa-brands fa-readme fa-fw fa-sm'></i>"
|
||||
---
|
||||
|
||||
探索 Hugo - **FixIt** 主题的全部内容和背后的核心概念。
|
||||
@@ -31,14 +31,14 @@ menu:
|
||||
|
||||
由于 Hugo 提供的便利性,[Hugo](https://gohugo.io/) 本身是这个主题唯一的依赖。
|
||||
|
||||
直接安装满足你操作系统 (**Windows**, **Linux**, **macOS**) 的最新版本 [:(far fa-file-archive fa-fw): Hugo (> 0.62.0)](https://gohugo.io/getting-started/installing/).
|
||||
直接安装满足你操作系统 (**Windows**, **Linux**, **macOS**) 的最新版本 [:(fa-regular fa-file-archive fa-fw): Hugo (> 0.62.0)](https://gohugo.io/getting-started/installing/).
|
||||
|
||||
{{< admonition note "为什么不支持早期版本的 Hugo?" >}}
|
||||
由于 [Markdown 渲染钩子函数](https://gohugo.io/getting-started/configuration-markup#markdown-render-hooks) 在 [Hugo 圣诞节版本](https://gohugo.io/news/0.62.0-relnotes/) 中被引入,本主题只支持高于 **0.62.0** 的 Hugo 版本。
|
||||
{{< /admonition >}}
|
||||
|
||||
{{< admonition tip "推荐使用 Hugo extended 版本" >}}
|
||||
由于这个主题的一些特性需要将 :(fab fa-sass fa-fw): SCSS 转换为 :(fab fa-css3 fa-fw): CSS, 推荐使用 Hugo **extended** 版本来获得更好的使用体验。
|
||||
由于这个主题的一些特性需要将 :(fa-brands fa-sass fa-fw): SCSS 转换为 :(fa-brands fa-css3 fa-fw): CSS, 推荐使用 Hugo **extended** 版本来获得更好的使用体验。
|
||||
{{< /admonition >}}
|
||||
|
||||
## 2 安装
|
||||
@@ -58,7 +58,7 @@ cd my_website
|
||||
|
||||
**FixIt** 主题的仓库是:<https://github.com/Lruihao/FixIt>
|
||||
|
||||
你可以下载主题的 [最新版本 :(far fa-file-archive fa-fw): .zip 文件](https://github.com/Lruihao/FixIt/releases) 并且解压放到 `themes` 目录。
|
||||
你可以下载主题的 [最新版本 :(fa-regular fa-file-archive fa-fw): .zip 文件](https://github.com/Lruihao/FixIt/releases) 并且解压放到 `themes` 目录。
|
||||
|
||||
另外,也可以直接把这个主题克隆到 `themes` 目录:
|
||||
|
||||
@@ -198,7 +198,7 @@ hugo
|
||||
|
||||
除了 [Hugo 全局配置](https://gohugo.io/overview/configuration/) 和 [菜单配置](#basic-configuration) 之外,**FixIt** 主题还允许您在网站配置中定义以下参数(这是一个示例 `config.toml`, 其内容为默认值).
|
||||
|
||||
请打开下面的代码块查看完整的示例配置 :(far fa-hand-point-down fa-fw)::
|
||||
请打开下面的代码块查看完整的示例配置 :(fa-regular fa-hand-point-down fa-fw)::
|
||||
|
||||
```toml
|
||||
[params]
|
||||
@@ -1143,7 +1143,7 @@ menu:
|
||||
main:
|
||||
title: "探索 Hugo - FixIt 主题的全部内容和背后的核心概念。"
|
||||
parent: "documentation"
|
||||
pre: "<i class='fab fa-readme fa-fw fa-sm'></i>"
|
||||
pre: "<i class='fa-brands fa-readme fa-fw fa-sm'></i>"
|
||||
---
|
||||
...
|
||||
```
|
||||
@@ -1160,19 +1160,19 @@ menu:
|
||||
|
||||
| 语言 | Hugo 代码 | HTML `lang` 属性 | 主题文档 | Lunr.js 支持 |
|
||||
|:----|:----:|:----:|:----:|:----:|
|
||||
| 英语 | `en` | `en` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| 简体中文 | `zh-cn` | `zh-CN` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| 法语 | `fr` | `fr` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| 波兰语 | `pl` | `pl` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |
|
||||
| 巴西葡萄牙语 | `pt-br` | `pt-BR` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| 意大利语 | `it` | `it` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| 西班牙语 | `es` | `es` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| 德语 | `de` | `de` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| 塞尔维亚语 | `sr` | `sr` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |
|
||||
| 俄语 | `ru` | `ru` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| 罗马尼亚语 | `ro` | `ro` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| 越南语 | `vi` | `vi` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| 繁体中文 | `zh-tw` | `zh-TW` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| 英语 | `en` | `en` | :(fa-regular fa-check-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
| 简体中文 | `zh-cn` | `zh-CN` | :(fa-regular fa-check-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
| 法语 | `fr` | `fr` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
| 波兰语 | `pl` | `pl` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): |
|
||||
| 巴西葡萄牙语 | `pt-br` | `pt-BR` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
| 意大利语 | `it` | `it` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
| 西班牙语 | `es` | `es` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
| 德语 | `de` | `de` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
| 塞尔维亚语 | `sr` | `sr` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): |
|
||||
| 俄语 | `ru` | `ru` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
| 罗马尼亚语 | `ro` | `ro` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
| 越南语 | `vi` | `vi` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
| 繁体中文 | `zh-tw` | `zh-TW` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
|
||||
|
||||
### 4.2 基本配置
|
||||
|
||||
@@ -1302,7 +1302,7 @@ defaultContentLanguage = "zh-cn"
|
||||
|
||||
要覆盖默认值,请在你项目的 i18n 目录 `i18n/<languageCode>.toml` 中创建一个新文件,并从 `themes/FixIt/i18n/en.toml` 中获得提示。
|
||||
|
||||
另外,由于你的翻译可能会帮助到其他人,请花点时间通过 [创建一个 PR :(fas fa-code-branch fa-fw):](https://github.com/Lruihao/FixIt/pulls) 来贡献主题翻译,谢谢!
|
||||
另外,由于你的翻译可能会帮助到其他人,请花点时间通过 [创建一个 PR :(fa-solid fa-code-branch fa-fw):](https://github.com/Lruihao/FixIt/pulls) 来贡献主题翻译,谢谢!
|
||||
|
||||
## 5 搜索
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ menu:
|
||||
name: "Built-in Shortcodes"
|
||||
title: "Hugo provides multiple built-in shortcodes for author convenience and to keep your markdown content clean."
|
||||
parent: "documentation"
|
||||
pre: "<i class='fab fa-readme fa-fw fa-sm'></i>"
|
||||
pre: "<i class='fa-brands fa-readme fa-fw fa-sm'></i>"
|
||||
---
|
||||
|
||||
**Hugo** provides multiple built-in shortcodes for author convenience and to keep your markdown content clean.
|
||||
|
||||
@@ -20,7 +20,7 @@ menu:
|
||||
main:
|
||||
title: "Hugo 提供了多个内置的 Shortcodes, 以方便作者保持 Markdown 内容的整洁。"
|
||||
parent: "documentation"
|
||||
pre: "<i class='fab fa-readme fa-fw fa-sm'></i>"
|
||||
pre: "<i class='fa-brands fa-readme fa-fw fa-sm'></i>"
|
||||
---
|
||||
|
||||
**Hugo** 提供了多个内置的 Shortcodes, 以方便作者保持 Markdown 内容的整洁。
|
||||
|
||||
@@ -26,7 +26,7 @@ menu:
|
||||
name: "Content"
|
||||
title: "Find out how to create and organize your content quickly and intuitively in FixIt theme."
|
||||
parent: "documentation"
|
||||
pre: "<i class='fab fa-readme fa-fw fa-sm'></i>"
|
||||
pre: "<i class='fa-brands fa-readme fa-fw fa-sm'></i>"
|
||||
---
|
||||
|
||||
Find out how to create and organize your content quickly and intuitively in **FixIt** theme.
|
||||
@@ -60,7 +60,7 @@ such as **links**, **images**, `image` shortcode, `music` shortcode and some par
|
||||
|
||||
Images in page resources or assets directory [processing](https://gohugo.io/content-management/image-processing/)
|
||||
will be supported in the future.
|
||||
It's really cool! :(far fa-grin-squint fa-fw):
|
||||
It's really cool! :(fa-regular fa-grin-squint fa-fw):
|
||||
{{< /admonition >}}
|
||||
|
||||
## 2 Front Matter {#front-matter}
|
||||
@@ -434,20 +434,20 @@ You can easily use these icons in your articles.
|
||||
Get the `class` of icons you wanted from the [Font Awesome website](https://fontawesome.com/icons?d=gallery).
|
||||
|
||||
```markdown
|
||||
Gone camping! {?:}(fas fa-campground fa-fw): Be back soon.
|
||||
Gone camping! {?:}(fa-solid fa-campground fa-fw): Be back soon.
|
||||
|
||||
That is so funny! {?:}(far fa-grin-tears):
|
||||
That is so funny! {?:}(fa-regular fa-grin-tears):
|
||||
```
|
||||
|
||||
The rendered output looks like this:
|
||||
|
||||
Gone camping! :(fas fa-campground fa-fw): Be back soon.
|
||||
Gone camping! :(fa-solid fa-campground fa-fw): Be back soon.
|
||||
|
||||
That is so funny! :(far fa-grin-tears):
|
||||
That is so funny! :(fa-regular fa-grin-tears):
|
||||
|
||||
### Escape character {#escape-character}
|
||||
|
||||
In some special cases (when writing this theme documentation :(far fa-grin-squint-tears):),
|
||||
In some special cases (when writing this theme documentation :(fa-regular fa-grin-squint-tears):),
|
||||
your content will conflict with basic or extended Markdown syntax, and it is inevitable.
|
||||
|
||||
The escape character syntax can help you build the content you wanted:
|
||||
|
||||
@@ -25,7 +25,7 @@ menu:
|
||||
main:
|
||||
title: "了解如何在 FixIt 主题中快速,直观地创建和组织内容。"
|
||||
parent: "documentation"
|
||||
pre: "<i class='fab fa-readme fa-fw fa-sm'></i>"
|
||||
pre: "<i class='fa-brands fa-readme fa-fw fa-sm'></i>"
|
||||
---
|
||||
|
||||
了解如何在 **FixIt** 主题中快速,直观地创建和组织内容。
|
||||
@@ -58,7 +58,7 @@ menu:
|
||||
例如 **链接**, **图片**, `image` shortcode, `music` shortcode 和**前置参数**中的部分参数。
|
||||
|
||||
页面资源或者 **assets** 目录中的 [图片处理](https://gohugo.io/content-management/image-processing/) 会在未来的版本中得到支持。
|
||||
非常酷的功能!:(far fa-grin-squint fa-fw):
|
||||
非常酷的功能!:(fa-regular fa-grin-squint fa-fw):
|
||||
{{< /admonition >}}
|
||||
|
||||
## 2 前置参数 {#front-matter}
|
||||
@@ -433,20 +433,20 @@ $$ \ce{Hg^2+ ->[I-] HgI2 ->[I-] [Hg^{II}I4]^2-} $$
|
||||
从 [Font Awesome 网站](https://fontawesome.com/icons?d=gallery) 上获取所需的图标 `class`.
|
||||
|
||||
```markdown
|
||||
去露营啦!{?:}(fas fa-campground fa-fw): 很快就回来。
|
||||
去露营啦!{?:}(fa-solid fa-campground fa-fw): 很快就回来。
|
||||
|
||||
真开心!{?:}(far fa-grin-tears):
|
||||
真开心!{?:}(fa-regular fa-grin-tears):
|
||||
```
|
||||
|
||||
呈现的输出效果如下:
|
||||
|
||||
去露营啦!:(fas fa-campground fa-fw): 很快就回来。
|
||||
去露营啦!:(fa-solid fa-campground fa-fw): 很快就回来。
|
||||
|
||||
真开心!:(far fa-grin-tears):
|
||||
真开心!:(fa-regular fa-grin-tears):
|
||||
|
||||
### 转义字符 {#escape-character}
|
||||
|
||||
在某些特殊情况下 (编写这个主题文档时 :(far fa-grin-squint-tears):),
|
||||
在某些特殊情况下 (编写这个主题文档时 :(fa-regular fa-grin-squint-tears):),
|
||||
你的文章内容会与 Markdown 的基本或者扩展语法冲突,并且无法避免。
|
||||
|
||||
转义字符语法可以帮助你渲染出想要的内容:
|
||||
|
||||
@@ -22,7 +22,7 @@ menu:
|
||||
name: "Extended Shortcodes"
|
||||
title: "FixIt theme provides multiple shortcodes on top of built-in ones in Hugo."
|
||||
parent: "documentation"
|
||||
pre: "<i class='fab fa-readme fa-fw fa-sm'></i>"
|
||||
pre: "<i class='fa-brands fa-readme fa-fw fa-sm'></i>"
|
||||
---
|
||||
|
||||
**FixIt** theme provides multiple shortcodes on top of built-in ones in Hugo.
|
||||
@@ -42,7 +42,7 @@ Hugo **extended** version is necessary for `style` shortcode.
|
||||
The `style` shortcode has two positional parameters.
|
||||
|
||||
The **first** one is the custom style content,
|
||||
which supports nesting syntax in [:(fab fa-sass fa-fw): SASS](https://sass-lang.com/documentation/style-rules/declarations#nesting)
|
||||
which supports nesting syntax in [:(fa-brands fa-sass fa-fw): SASS](https://sass-lang.com/documentation/style-rules/declarations#nesting)
|
||||
and `&` referring to this parent HTML element.
|
||||
|
||||
And the **second** one is the tag name of the HTML element wrapping the content you want to change style, and whose default value is `div`.
|
||||
@@ -1314,7 +1314,7 @@ The rendered output looks like this:
|
||||
|
||||
{{< version 0.2.8 >}}
|
||||
|
||||
`script` is a shortcode to insert custom **:(fab fa-js fa-fw): Javascript** in your post.
|
||||
`script` is a shortcode to insert custom **:(fa-brands fa-js fa-fw): Javascript** in your post.
|
||||
|
||||
{{< admonition >}}
|
||||
The script content can be guaranteed to be executed in order after all third-party libraries are loaded. So you are free to use third-party libraries.
|
||||
@@ -1338,7 +1338,7 @@ console.log('Hello FixIt!');
|
||||
|
||||
{{< version 0.2.13 >}} {{< version 0.2.14 changed >}}
|
||||
|
||||
`details` is a shortcode to insert **:(fab fa-html5 fa-fw): HTML5 tag** details and summary in your post.
|
||||
`details` is a shortcode to insert **:(fa-brands fa-html5 fa-fw): HTML5 tag** details and summary in your post.
|
||||
|
||||
The `details` shortcode has only one parameter:
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ menu:
|
||||
main:
|
||||
title: "FixIt 主题在 Hugo 内置的 shortcode 的基础上提供多个扩展的 shortcode"
|
||||
parent: "documentation"
|
||||
pre: "<i class='fab fa-readme fa-fw fa-sm'></i>"
|
||||
pre: "<i class='fa-brands fa-readme fa-fw fa-sm'></i>"
|
||||
---
|
||||
|
||||
**FixIt** 主题在 Hugo 内置的 shortcode 的基础上提供多个扩展的 shortcode.
|
||||
@@ -43,7 +43,7 @@ Hugo **extended** 版本对于 `style` shortcode 是必需的。
|
||||
|
||||
`style` shortcode 有两个位置参数。
|
||||
|
||||
第一个参数是自定义样式的内容。它支持 [:(fab fa-sass fa-fw): SASS](https://sass-lang.com/documentation/style-rules/declarations#nesting) 中的嵌套语法,
|
||||
第一个参数是自定义样式的内容。它支持 [:(fa-brands fa-sass fa-fw): SASS](https://sass-lang.com/documentation/style-rules/declarations#nesting) 中的嵌套语法,
|
||||
并且 `&` 指代这个父元素。
|
||||
|
||||
第二个参数是包裹你要更改样式的内容的 HTML 标签,默认值是 `div`。
|
||||
@@ -1314,7 +1314,7 @@ public class HelloWorld {
|
||||
|
||||
{{< version 0.2.8 >}}
|
||||
|
||||
`script` shortcode 用来在你的文章中插入 **:(fab fa-js fa-fw): Javascript** 脚本。
|
||||
`script` shortcode 用来在你的文章中插入 **:(fa-brands fa-js fa-fw): Javascript** 脚本。
|
||||
|
||||
{{< admonition >}}
|
||||
脚本内容可以保证在所有的第三方库加载之后按顺序执行。
|
||||
@@ -1339,7 +1339,7 @@ console.log('Hello FixIt!');
|
||||
|
||||
{{< version 0.2.13 >}} {{< version 0.2.14 changed >}}
|
||||
|
||||
`details` shortcode 用来在你的文章中插入 **:(fab fa-html5 fa-fw): HTML5 标签** details 和 summary。
|
||||
`details` shortcode 用来在你的文章中插入 **:(fa-brands fa-html5 fa-fw): HTML5 标签** details 和 summary。
|
||||
|
||||
`details` shortcode 只有一个参数:
|
||||
- **summary** *[可选]* (**第一个**位置参数)
|
||||
|
||||
@@ -16,70 +16,70 @@ menu:
|
||||
main:
|
||||
title: "Test for rendering Font Awesome icons"
|
||||
parent: "tests"
|
||||
pre: "<i class='fas fa-vial fa-fw fa-sm'></i>"
|
||||
pre: "<i class='fa-solid fa-vial fa-fw fa-sm'></i>"
|
||||
---
|
||||
|
||||
## Size
|
||||
|
||||
:(fas fa-camera fa-xs):
|
||||
:(fas fa-camera fa-sm):
|
||||
:(fas fa-camera fa-lg):
|
||||
:(fas fa-camera fa-2x):
|
||||
:(fas fa-camera fa-3x):
|
||||
:(fas fa-camera fa-5x):
|
||||
:(fas fa-camera fa-7x):
|
||||
:(fas fa-camera fa-10x):
|
||||
:(fa-solid fa-camera fa-xs):
|
||||
:(fa-solid fa-camera fa-sm):
|
||||
:(fa-solid fa-camera fa-lg):
|
||||
:(fa-solid fa-camera fa-2x):
|
||||
:(fa-solid fa-camera fa-3x):
|
||||
:(fa-solid fa-camera fa-5x):
|
||||
:(fa-solid fa-camera fa-7x):
|
||||
:(fa-solid fa-camera fa-10x):
|
||||
|
||||
## Fixed width
|
||||
|
||||
:(fas fa-skating fa-fw fa-2x): Skating
|
||||
:(fas fa-skiing fa-fw fa-2x): Skiing
|
||||
:(fas fa-skiing-nordic fa-fw fa-2x): Nordic Skiing
|
||||
:(fa-solid fa-skating fa-fw fa-2x): Skating
|
||||
:(fa-solid fa-skiing fa-fw fa-2x): Skiing
|
||||
:(fa-solid fa-skiing-nordic fa-fw fa-2x): Nordic Skiing
|
||||
|
||||
## List icon
|
||||
|
||||
:(far fa-check-square): Eat a hamburger
|
||||
:(far fa-square): Get a girlfriend
|
||||
:(fa-regular fa-check-square): Eat a hamburger
|
||||
:(fa-regular fa-square): Get a girlfriend
|
||||
|
||||
:(far fa-check-circle): Go to beach
|
||||
:(far fa-circle): Go to Tibet
|
||||
:(fa-regular fa-check-circle): Go to beach
|
||||
:(fa-regular fa-circle): Go to Tibet
|
||||
|
||||
## Rotate
|
||||
|
||||
:(fas fa-snowboarding):
|
||||
:(fas fa-snowboarding fa-rotate-90):
|
||||
:(fas fa-snowboarding fa-rotate-180):
|
||||
:(fas fa-snowboarding fa-rotate-270):
|
||||
:(fa-solid fa-snowboarding):
|
||||
:(fa-solid fa-snowboarding fa-rotate-90):
|
||||
:(fa-solid fa-snowboarding fa-rotate-180):
|
||||
:(fa-solid fa-snowboarding fa-rotate-270):
|
||||
|
||||
## Flip
|
||||
|
||||
:(fas fa-snowboarding):
|
||||
:(fas fa-snowboarding fa-flip-horizontal):
|
||||
:(fas fa-snowboarding fa-flip-vertical):
|
||||
:(fas fa-snowboarding fa-flip-both):
|
||||
:(fa-solid fa-snowboarding):
|
||||
:(fa-solid fa-snowboarding fa-flip-horizontal):
|
||||
:(fa-solid fa-snowboarding fa-flip-vertical):
|
||||
:(fa-solid fa-snowboarding fa-flip-both):
|
||||
|
||||
|
||||
## Animation
|
||||
|
||||
:(fas fa-spinner):
|
||||
:(fas fa-spinner fa-spin):
|
||||
:(fas fa-spinner fa-pulse):
|
||||
:(fas fa-circle-notch fa-spin):
|
||||
:(fas fa-circle-notch fa-pulse):
|
||||
:(fas fa-sync fa-spin):
|
||||
:(fas fa-sync fa-pulse):
|
||||
:(fas fa-cog fa-spin):
|
||||
:(fas fa-cog fa-pulse):
|
||||
:(fa-solid fa-spinner):
|
||||
:(fa-solid fa-spinner fa-spin):
|
||||
:(fa-solid fa-spinner fa-pulse):
|
||||
:(fa-solid fa-circle-notch fa-spin):
|
||||
:(fa-solid fa-circle-notch fa-pulse):
|
||||
:(fa-solid fa-sync fa-spin):
|
||||
:(fa-solid fa-sync fa-pulse):
|
||||
:(fa-solid fa-cog fa-spin):
|
||||
:(fa-solid fa-cog fa-pulse):
|
||||
|
||||
|
||||
## Float
|
||||
|
||||
:(fas fa-quote-left fa-pull-left):
|
||||
:(fa-solid fa-quote-left fa-pull-left):
|
||||
|
||||
<div class="text-center">hey guys!</div>
|
||||
|
||||
:(fas fa-quote-right fa-pull-right):
|
||||
:(fa-solid fa-quote-right fa-pull-right):
|
||||
|
||||
## Border
|
||||
|
||||
:(fab fa-apple fa-border fa-fw fa-10x):
|
||||
:(fa-brands fa-apple fa-border fa-fw fa-10x):
|
||||
@@ -16,7 +16,7 @@ menu:
|
||||
main:
|
||||
title: "Test for code highlight feature"
|
||||
parent: "tests"
|
||||
pre: "<i class='fas fa-vial fa-fw fa-sm'></i>"
|
||||
pre: "<i class='fa-solid fa-vial fa-fw fa-sm'></i>"
|
||||
---
|
||||
|
||||
`inline code`
|
||||
|
||||
@@ -17,7 +17,7 @@ menu:
|
||||
name: "Markdown 测试"
|
||||
title: "Test for Markdown rendering"
|
||||
parent: "tests"
|
||||
pre: "<i class='fas fa-vial fa-fw fa-sm'></i>"
|
||||
pre: "<i class='fa-solid fa-vial fa-fw fa-sm'></i>"
|
||||
---
|
||||
|
||||
## line break
|
||||
|
||||
@@ -22,7 +22,7 @@ menu:
|
||||
name: "打印测试"
|
||||
title: "这是一篇测试 FixIt 主题在打印视图表现的测试文章"
|
||||
parent: "tests"
|
||||
pre: "<i class='fas fa-vial fa-fw fa-sm'></i>"
|
||||
pre: "<i class='fa-solid fa-vial fa-fw fa-sm'></i>"
|
||||
---
|
||||
|
||||
<div class="print-d-none">
|
||||
|
||||
@@ -15,7 +15,7 @@ menu:
|
||||
main:
|
||||
title: "Test for shortcodes usages"
|
||||
parent: "tests"
|
||||
pre: "<i class='fas fa-vial fa-fw fa-sm'></i>"
|
||||
pre: "<i class='fa-solid fa-vial fa-fw fa-sm'></i>"
|
||||
---
|
||||
|
||||
normal content
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
<h1 id="error-emoji"></h1>
|
||||
<p class="error-text">
|
||||
{{- T "pageNotFoundText" -}}
|
||||
<a href="javascript:void(0);" title="{{ T `back` }}" onclick="window.history.back();"><i class="far fa-hand-point-left fa-fw"></i></a>
|
||||
<a href="javascript:void(0);" title="{{ T `back` }}" onclick="window.history.back();"><i class="fa-regular fa-hand-point-left fa-fw"></i></a>
|
||||
</p>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
{{- $categories := slice -}}
|
||||
{{- range .Params.categories -}}
|
||||
{{- $category := partialCached "function/path.html" . . | printf "/categories/%v" | $.Site.GetPage -}}
|
||||
{{- $categories = $categories | append (printf `<a href="%v"><i class="far fa-folder fa-fw"></i> %v</a>` $category.RelPermalink $category.Title) -}}
|
||||
{{- $categories = $categories | append (printf `<a href="%v"><i class="fa-regular fa-folder fa-fw"></i> %v</a>` $category.RelPermalink $category.Title) -}}
|
||||
{{- end -}}
|
||||
{{- with delimit $categories " " -}}
|
||||
<span class="post-category">
|
||||
@@ -58,7 +58,7 @@
|
||||
<a href="{{ .RelPermalink }}">{{ T "readMore" }}</a>
|
||||
{{- with .Params.tags -}}
|
||||
<div class="post-tags">
|
||||
<i class="fas fa-tags fa-fw"></i>
|
||||
<i class="fa-solid fa-tags fa-fw"></i>
|
||||
{{- range $index, $value := . -}}
|
||||
{{- if gt $index 0 }}, {{ end -}}
|
||||
{{- $tag := partialCached "function/path.html" $value $value | printf "/tags/%v" | $.Site.GetPage -}}
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
<h1 class="offline-title animate__animated animate__pulse animate__faster">{{- T "offlineTitle" -}}</h1>
|
||||
<h2 class="offline-subtitle">
|
||||
<i class="fa-stack fa-xs">
|
||||
<i class="fas fa-wifi fa-stack-1x"></i>
|
||||
<i class="fas fa-ban fa-stack-2x"></i>
|
||||
<i class="fa-solid fa-wifi fa-stack-1x"></i>
|
||||
<i class="fa-solid fa-ban fa-stack-2x"></i>
|
||||
</i>
|
||||
<span>ERROR_INTERNET_DISCONNECTED</span>
|
||||
</h2>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<div class="footer-line copyright">
|
||||
{{- /* Copyright year */ -}}
|
||||
{{- if ne .Site.Params.footer.copyright false -}}
|
||||
<i class="far fa-copyright fa-fw"></i>
|
||||
<i class="fa-regular fa-copyright fa-fw"></i>
|
||||
{{ with .Site.Params.footer.since -}}
|
||||
<span itemprop="copyrightYear">
|
||||
{{- if lt . now.Year }}{{ . }} - {{ end }}{{ now.Year -}}
|
||||
@@ -49,7 +49,7 @@
|
||||
{{- if .Site.Params.ibruce.siteTime | or .Site.Params.footer.siteTime | or .Site.Params.footer.wordCount -}}
|
||||
<div class="footer-line statistics">
|
||||
{{- if .Site.Params.ibruce.siteTime | or .Site.Params.footer.siteTime -}}
|
||||
<span class="site-time" title='{{ T "siteRunning" }}'><i class="fas fa-heartbeat fa-fw animate-icon"></i> <span class="run-times">{{- T "siteRunning" -}}</span></span>
|
||||
<span class="site-time" title='{{ T "siteRunning" }}'><i class="fa-solid fa-heartbeat fa-fw animate-icon"></i> <span class="run-times">{{- T "siteRunning" -}}</span></span>
|
||||
{{- end -}}
|
||||
|
||||
{{- /* Total word count */ -}}
|
||||
@@ -65,7 +65,7 @@
|
||||
{{- if ge $humanizedNum 1000 -}}
|
||||
{{- $humanizedNum = printf "%.2fK" (div $humanizedNum 1000.0) -}}
|
||||
{{- end -}}
|
||||
<span class="total-word-count footer-divider" title='{{- T "totalwordCount" . }}'><i class="far fa-keyboard fa-fw"></i> {{- T "totalwordCount" (dict "Count" $humanizedNum) -}}</span>
|
||||
<span class="total-word-count footer-divider" title='{{- T "totalwordCount" . }}'><i class="fa-regular fa-keyboard fa-fw"></i> {{- T "totalwordCount" (dict "Count" $humanizedNum) -}}</span>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
</div>
|
||||
@@ -74,9 +74,9 @@
|
||||
{{- /* 不蒜子 */ -}}
|
||||
{{- if eq .Site.Params.ibruce.enable true -}}
|
||||
<div class="footer-line ibruce">
|
||||
<span id="busuanzi_container_site_uv" title='{{ T "siteUV" }}'><i class="far fa-user fa-fw"></i> <span id="busuanzi_value_site_uv"><i class="fa fa-spinner fa-spin fa-fw"></i></span></span>
|
||||
<span id="busuanzi_container_site_uv" title='{{ T "siteUV" }}'><i class="fa-regular fa-user fa-fw"></i> <span id="busuanzi_value_site_uv"><i class="fa fa-spinner fa-spin fa-fw"></i></span></span>
|
||||
{{- /* remove spaces */ -}}
|
||||
<span id="busuanzi_container_site_pv" class="footer-divider" title='{{ T "sitePV" }}'><i class="far fa-eye fa-fw"></i> <span id="busuanzi_value_site_pv"><i class="fa fa-spinner fa-spin fa-fw"></i></span></span>
|
||||
<span id="busuanzi_container_site_pv" class="footer-divider" title='{{ T "sitePV" }}'><i class="fa-regular fa-eye fa-fw"></i> <span id="busuanzi_value_site_pv"><i class="fa fa-spinner fa-spin fa-fw"></i></span></span>
|
||||
</div>
|
||||
{{- end -}}
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{{- /* Checkbox unchecked */ -}}
|
||||
{{- $old := `<input disabled="" type="checkbox">` -}}
|
||||
{{- $new := `<i class="far fa-square fa-fw"></i>` -}}
|
||||
{{- $new := `<i class="fa-regular fa-square fa-fw"></i>` -}}
|
||||
{{- $content := replace . $old $new -}}
|
||||
|
||||
{{- /* Checkbox checked */ -}}
|
||||
{{- $old = `<input checked="" disabled="" type="checkbox">` -}}
|
||||
{{- $new = `<i class="far fa-check-square fa-fw"></i>` -}}
|
||||
{{- $new = `<i class="fa-regular fa-check-square fa-fw"></i>` -}}
|
||||
{{- return replace $content $old $new -}}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{- /* Font Awesome */ -}}
|
||||
{{- /* :(far fa-circle): -> <i class="far fa-circle fa-fw"></i> */ -}}
|
||||
{{- /* :(fa-regular fa-circle): -> <i class="fa-regular fa-circle fa-fw"></i> */ -}}
|
||||
|
||||
{{- $REin := ` (:\([\w- ]+?\):)` -}}
|
||||
{{- $REout := ` $1` -}}
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
{{- with .Pre -}}{{- . | safeHTML }} {{ end }}{{ .Name }}{{ with .Post }} {{ . | safeHTML -}}{{- end -}}
|
||||
</a>
|
||||
{{- if .HasChildren -}}
|
||||
<i class="dropdown-icon fas fa-chevron-down"></i>
|
||||
<i class="dropdown-icon fa-solid fa-chevron-down"></i>
|
||||
<ul class="sub-menu">
|
||||
{{ range .Children }}
|
||||
{{- $url := .URL | relLangURL -}}
|
||||
@@ -89,7 +89,7 @@
|
||||
<li class="menu-item language">
|
||||
<span title="{{ T "selectLanguage" }}">
|
||||
{{- .Language.LanguageName -}}
|
||||
<i class="dropdown-icon fas fa-chevron-down"></i>
|
||||
<i class="dropdown-icon fa-solid fa-chevron-down"></i>
|
||||
</span>
|
||||
<ul class="sub-menu">
|
||||
{{- if (eq .Kind "404") -}}
|
||||
@@ -123,18 +123,18 @@
|
||||
<li class="menu-item search" id="search-desktop">
|
||||
<input type="text" placeholder="{{ .Site.Params.search.placeholder | default (T `searchPlaceholder`) }}" id="search-input-desktop">
|
||||
<a href="javascript:void(0);" class="search-button search-toggle" id="search-toggle-desktop" title="{{ T `search` }}">
|
||||
<i class="fas fa-search fa-fw"></i>
|
||||
<i class="fa-solid fa-search fa-fw"></i>
|
||||
</a>
|
||||
<a href="javascript:void(0);" class="search-button search-clear" id="search-clear-desktop" title="{{ T `clear` }}">
|
||||
<i class="fas fa-times-circle fa-fw"></i>
|
||||
<i class="fa-solid fa-times-circle fa-fw"></i>
|
||||
</a>
|
||||
<span class="search-button search-loading" id="search-loading-desktop">
|
||||
<i class="fas fa-spinner fa-fw fa-spin"></i>
|
||||
<i class="fa-solid fa-spinner fa-fw fa-spin"></i>
|
||||
</span>
|
||||
</li>
|
||||
{{- end -}}
|
||||
<li class="menu-item theme-switch" title="{{ T "switchTheme" }}">
|
||||
<i class="fas fa-adjust fa-fw"></i>
|
||||
<i class="fa-solid fa-adjust fa-fw"></i>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
@@ -189,13 +189,13 @@
|
||||
<div class="search mobile" id="search-mobile">
|
||||
<input type="text" placeholder="{{ .Site.Params.search.placeholder | default (T `searchPlaceholder`) }}" id="search-input-mobile">
|
||||
<a href="javascript:void(0);" class="search-button search-toggle" id="search-toggle-mobile" title="{{ T `search` }}">
|
||||
<i class="fas fa-search fa-fw"></i>
|
||||
<i class="fa-solid fa-search fa-fw"></i>
|
||||
</a>
|
||||
<a href="javascript:void(0);" class="search-button search-clear" id="search-clear-mobile" title="{{ T `clear` }}">
|
||||
<i class="fas fa-times-circle fa-fw"></i>
|
||||
<i class="fa-solid fa-times-circle fa-fw"></i>
|
||||
</a>
|
||||
<span class="search-button search-loading" id="search-loading-mobile">
|
||||
<i class="fas fa-spinner fa-fw fa-spin"></i>
|
||||
<i class="fa-solid fa-spinner fa-fw fa-spin"></i>
|
||||
</span>
|
||||
</div>
|
||||
<a href="javascript:void(0);" class="search-cancel" id="search-cancel-mobile">
|
||||
@@ -223,7 +223,7 @@
|
||||
>
|
||||
{{- with .Pre -}}{{- . | safeHTML }} {{ end }}{{ .Name }}{{ with .Post }} {{ . | safeHTML -}}{{- end -}}
|
||||
</a>
|
||||
<i class="dropdown-icon fas fa-chevron-right"></i>
|
||||
<i class="dropdown-icon fa-solid fa-chevron-right"></i>
|
||||
</span>
|
||||
<ul class="sub-menu">
|
||||
{{ range .Children }}
|
||||
@@ -259,13 +259,13 @@
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
<li class="menu-item theme-switch" title="{{ T "switchTheme" }}">
|
||||
<i class="fas fa-adjust fa-fw"></i>
|
||||
<i class="fa-solid fa-adjust fa-fw"></i>
|
||||
</li>
|
||||
{{- if .Site.IsMultiLingual -}}
|
||||
<li class="menu-item language">
|
||||
<span title="{{ T "selectLanguage" }}">
|
||||
{{- .Language.LanguageName -}}
|
||||
<i class="dropdown-icon fas fa-chevron-down"></i>
|
||||
<i class="dropdown-icon fa-solid fa-chevron-down"></i>
|
||||
</span>
|
||||
<select class="language-select" onchange="location = this.value;">
|
||||
{{- if eq .Kind "404" -}}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{- $version := "v0.2.14" -}}
|
||||
{{- $version := "v0.2.15-RC" -}}
|
||||
{{- $VERSION := "0.2.X" -}}
|
||||
|
||||
{{- /* FixIt theme version detection */ -}}
|
||||
|
||||
@@ -37,12 +37,12 @@
|
||||
| and (eq ((strings.HasSuffix .Content `</i>`) | or (strings.HasSuffix .Content `):`)) false)
|
||||
-}}
|
||||
{{- if .Download -}}
|
||||
{{- dict "Class" "fas fa-cloud-download-alt fa-fw ms-1" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-solid fa-cloud-download-alt fa-fw ms-1" | partial "plugin/icon.html" -}}
|
||||
{{- else -}}
|
||||
{{- dict "Class" "fas fa-external-link-alt fa-fw fa-xs ms-1" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-solid fa-external-link-alt fa-fw fa-xs ms-1" | partial "plugin/icon.html" -}}
|
||||
{{- end -}}
|
||||
{{- else if .Download }}
|
||||
{{- dict "Class" "fas fa-download fa-fw ms-1" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-solid fa-download fa-fw ms-1" | partial "plugin/icon.html" -}}
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
<span class="cl-backdrop"></span>
|
||||
|
||||
@@ -4,84 +4,84 @@
|
||||
{{- /* 001: Twitter */ -}}
|
||||
{{- if $share.Twitter -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Twitter" data-sharer="twitter" data-url="{{ .Permalink }}" data-title="{{ .Title }}"{{ with .Site.Params.Social.Twitter }} data-via="{{ . }}"{{ end }}{{ with .Params.tags }} data-hashtags="{{ delimit . `,` }}"{{ end }}>
|
||||
{{- dict "Class" "fab fa-twitter fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-twitter fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
{{- /* 002: Facebook */ -}}
|
||||
{{- if $share.Facebook -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Facebook" data-sharer="facebook" data-url="{{ .Permalink }}"{{ with .Params.tags }} data-hashtag="{{ index . 0 }}"{{ end }}>
|
||||
{{- dict "Class" "fab fa-facebook-square fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-facebook-square fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
{{- /* 003: Linkedin */ -}}
|
||||
{{- if $share.Linkedin -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Linkedin" data-sharer="linkedin" data-url="{{ .Permalink }}">
|
||||
{{- dict "Class" "fab fa-linkedin fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-linkedin fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
{{- /* 004: WhatsApp */ -}}
|
||||
{{- if $share.Whatsapp -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} WhatsApp" data-sharer="whatsapp" data-url="{{ .Permalink }}" data-title="{{ .Title }}" data-web>
|
||||
{{- dict "Class" "fab fa-whatsapp fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-whatsapp fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
{{- /* 005: Viber */ -}}
|
||||
{{- if $share.Viber -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Viber" data-sharer="viber" data-url="{{ .Permalink }}" data-title="{{ .Title }}">
|
||||
{{- dict "Class" "fab fa-viber fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-viber fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
{{- /* 006: Pinterest */ -}}
|
||||
{{- if $share.Pinterest -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Pinterest" data-sharer="pinterest" data-url="{{ .Permalink }}"{{ with .Description }} data-description="{{ . }}"{{ end }}{{ with .Params.featuredImage }} data-image="{{ . }}"{{ end }}>
|
||||
{{- dict "Class" "fab fa-pinterest fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-pinterest fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
{{- /* 007: Tumblr */ -}}
|
||||
{{- if $share.Tumblr -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Tumblr" data-sharer="tumblr" data-url="{{ .Permalink }}" data-title="{{ .Title }}"{{ with .Description }} data-caption="{{ . }}"{{ end }}{{ with .Params.tags }} data-tags="{{ delimit . `,` }}"{{ end }}>
|
||||
{{- dict "Class" "fab fa-tumblr fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-tumblr fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
{{- /* 008: Hacker News */ -}}
|
||||
{{- if $share.Hackernews -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Hacker News" data-sharer="hackernews" data-url="{{ .Permalink }}" data-title="{{ .Title }}">
|
||||
{{- dict "Class" "fab fa-hacker-news fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-hacker-news fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
{{- /* 009: Reddit */ -}}
|
||||
{{- if $share.Reddit -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Reddit" data-sharer="reddit" data-url="{{ .Permalink }}">
|
||||
{{- dict "Class" "fab fa-reddit fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-reddit fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
{{- /* 010: VK */ -}}
|
||||
{{- if $share.VK -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} VK" data-sharer="vk" data-url="{{ .Permalink }}" data-title="{{ .Title }}"{{ with .Description }} data-caption="{{ . }}"{{ end }}{{ with .Params.featuredImage }} data-image="{{ . }}"{{ end }}>
|
||||
{{- dict "Class" "fab fa-vk fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-vk fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
{{- /* 011: Buffer */ -}}
|
||||
{{- if $share.Buffer -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Buffer" data-sharer="buffer" data-url="{{ .Permalink }}" data-title="{{ .Title }}"{{ with .Site.Params.Social.Twitter }} data-via="{{ . }}"{{ end }}{{ with .Params.featuredImage }} data-picture="{{ . }}"{{ end }}>
|
||||
{{- dict "Class" "fab fa-buffer fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-buffer fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
{{- /* 012: Xing */ -}}
|
||||
{{- if $share.Xing -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Xing" data-sharer="xing" data-url="{{ .Permalink }}" data-title="{{ .Title }}">
|
||||
{{- dict "Class" "fab fa-xing fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-xing fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
@@ -102,42 +102,42 @@
|
||||
{{- /* 015: Pocket */ -}}
|
||||
{{- if $share.Pocket -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Pocket" data-sharer="pocket" data-url="{{ .Permalink }}">
|
||||
{{- dict "Class" "fab fa-get-pocket fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-get-pocket fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
{{- /* 016: Digg */ -}}
|
||||
{{- if $share.Digg -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Digg" data-sharer="digg" data-url="{{ .Permalink }}">
|
||||
{{- dict "Class" "fab fa-digg fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-digg fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
{{- /* 017: StumbleUpon */ -}}
|
||||
{{- if $share.Stumbleupon -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} StumbleUpon" data-sharer="stumbleupon" data-url="{{ .Permalink }}" data-title="{{ .Title }}">
|
||||
{{- dict "Class" "fab fa-stumbleupon fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-stumbleupon fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
{{- /* 018: Flipboard */ -}}
|
||||
{{- if $share.Flipboard -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Flipboard" data-sharer="flipboard" data-url="{{ .Permalink }}" data-title="{{ .Title }}">
|
||||
{{- dict "Class" "fab fa-flipboard fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-flipboard fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
{{- /* 019: 微博 */ -}}
|
||||
{{- if $share.Weibo -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} 微博" data-sharer="weibo" data-url="{{ .Permalink }}" data-title="{{ .Title }}"{{ with .Params.featuredImage }} data-image="{{ . }}"{{ end }}{{ with .Site.Params.Social.Weibo }} data-ralateuid="{{ . }}"{{ end }}>
|
||||
{{- dict "Class" "fab fa-weibo fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-weibo fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
{{- /* 020: 人人 */ -}}
|
||||
{{- if $share.Renren -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} 人人" data-sharer="renren" data-url="{{ .Permalink }}">
|
||||
{{- dict "Class" "fab fa-renren fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-renren fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
@@ -151,7 +151,7 @@
|
||||
{{- /* 022: Blogger */ -}}
|
||||
{{- if $share.Blogger -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Blogger" data-sharer="blogger" data-url="{{ .Permalink }}" data-title="{{ .Title }}" data-description="{{ .Description }}">
|
||||
{{- dict "Class" "fab fa-blogger fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-blogger fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
@@ -165,35 +165,35 @@
|
||||
{{- /* 024: OK.RU */ -}}
|
||||
{{- if $share.Odnoklassniki -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} OK.RU" data-sharer="okru" data-url="{{ .Permalink }}" data-title="{{ .Title }}">
|
||||
{{- dict "Class" "fab fa-odnoklassniki fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-odnoklassniki fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
{{- /* 025: Evernote */ -}}
|
||||
{{- if $share.Evernote -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Evernote" data-sharer="evernote" data-url="{{ .Permalink }}" data-title="{{ .Title }}">
|
||||
{{- dict "Class" "fab fa-evernote fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-evernote fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
{{- /* 026: Skype */ -}}
|
||||
{{- if $share.Skype -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Skype" data-sharer="skype" data-url="{{ .Permalink }}" data-title="{{ .Title }}">
|
||||
{{- dict "Class" "fab fa-skype fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-skype fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
{{- /* 027: Trello */ -}}
|
||||
{{- if $share.Trello -}}
|
||||
<a href="javascript:void(0);" title="{{ T `shareOn` }} Trello" data-sharer="trello" data-url="{{ .Permalink }}" data-title="{{ .Title }}" data-description="{{ .Description }}">
|
||||
{{- dict "Class" "fab fa-trello fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-trello fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
|
||||
{{- /* 028: Mix */ -}}
|
||||
{{- if $share.Mix -}}
|
||||
<a href="//mix.com/add?url={{ .Permalink }}&description={{ .Title }}" target="_blank" title="{{ T `shareOn` }} Mix">
|
||||
{{- dict "Class" "fab fa-mix fa-fw" | partial "plugin/icon.html" -}}
|
||||
{{- dict "Class" "fa-brands fa-mix fa-fw" | partial "plugin/icon.html" -}}
|
||||
</a>
|
||||
{{ end -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
{{- end -}}
|
||||
<div class="details admonition {{ $type }} open">
|
||||
<div class="details-summary admonition-title">
|
||||
<i class="icon fas {{ $icon }} fa-fw"></i>{{ T $type }}<i class="details-icon fas fa-angle-right fa-fw"></i>
|
||||
<i class="icon fas {{ $icon }} fa-fw"></i>{{ T $type }}<i class="details-icon fa-solid fa-angle-right fa-fw"></i>
|
||||
</div>
|
||||
<div class="details-content">
|
||||
<div class="admonition-content">
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
{{- if $.Site.Params.gitRepo -}}
|
||||
{{- with $.GitInfo -}}
|
||||
<a class="git-hash" href="{{ printf `%v/commit/%v` $.Site.Params.gitRepo .Hash }}" rel="external nofollow noopener noreffer" target="_blank" title="commit by {{ .AuthorName }}({{ .AuthorEmail }}) {{ .Hash }}: {{ .Subject }}">
|
||||
<i class="fas fa-hashtag fa-fw"></i>{{- .AbbreviatedHash -}}
|
||||
<i class="fa-solid fa-hashtag fa-fw"></i>{{- .AbbreviatedHash -}}
|
||||
</a>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
@@ -55,7 +55,7 @@
|
||||
<div class="post-info-more">
|
||||
<section class="post-tags">
|
||||
{{- with .Params.tags -}}
|
||||
<i class="fas fa-tags fa-fw"></i>
|
||||
<i class="fa-solid fa-tags fa-fw"></i>
|
||||
{{- range $index, $value := . -}}
|
||||
{{- if gt $index 0 }}, {{ end -}}
|
||||
{{- $tag := partialCached "function/path.html" $value $value | printf "/tags/%v" | $.Site.GetPage -}}
|
||||
@@ -70,10 +70,10 @@
|
||||
|
||||
<div class="post-nav">
|
||||
{{- if .PrevInSection -}}
|
||||
<a href="{{ .PrevInSection.RelPermalink }}" class="prev" rel="prev" title="{{ .PrevInSection.Title }}"><i class="fas fa-angle-left fa-fw"></i>{{ .PrevInSection.Title }}</a>
|
||||
<a href="{{ .PrevInSection.RelPermalink }}" class="prev" rel="prev" title="{{ .PrevInSection.Title }}"><i class="fa-solid fa-angle-left fa-fw"></i>{{ .PrevInSection.Title }}</a>
|
||||
{{- end -}}
|
||||
{{ if .NextInSection }}
|
||||
<a href="{{ .NextInSection.RelPermalink }}" class="next" rel="next" title="{{ .NextInSection.Title }}">{{ .NextInSection.Title }}<i class="fas fa-angle-right fa-fw"></i></a>
|
||||
<a href="{{ .NextInSection.RelPermalink }}" class="next" rel="next" title="{{ .NextInSection.Title }}">{{ .NextInSection.Title }}<i class="fa-solid fa-angle-right fa-fw"></i></a>
|
||||
{{- end -}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
{{- end -}}
|
||||
<span class="post-author">
|
||||
{{- $content := $author.name -}}
|
||||
{{- $icon := dict "Class" "fas fa-user-circle" -}}
|
||||
{{- $icon := dict "Class" "fa-solid fa-user-circle" -}}
|
||||
{{- if $avatar -}}
|
||||
{{- $content = printf "%v %v" (dict "Src" $avatar "Class" "avatar" "Alt" $author.name | partial "plugin/image.html") $author.name -}}
|
||||
{{- $icon = "" -}}
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
<div id="fixed-buttons">
|
||||
{{- /* top button */ -}}
|
||||
<a href="#" id="back-to-top" class="fixed-button" title="{{ T `backToTop` }}">
|
||||
<i class="fas fa-arrow-up fa-fw"></i>
|
||||
<i class="fa-solid fa-arrow-up fa-fw"></i>
|
||||
</a>
|
||||
|
||||
{{- /* comment button */ -}}
|
||||
<a href="#" id="view-comments" class="fixed-button" title="{{ T `viewComments` }}">
|
||||
<i class="fas fa-comment fa-fw"></i>
|
||||
<i class="fa-solid fa-comment fa-fw"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
+12
-12
@@ -34,7 +34,7 @@
|
||||
{{- $categories := slice -}}
|
||||
{{- range .Params.categories -}}
|
||||
{{- $category := partialCached "function/path.html" . . | printf "/categories/%v" | $.Site.GetPage -}}
|
||||
{{- $categories = $categories | append (printf `<a href="%v"><i class="far fa-folder fa-fw"></i> %v</a>` $category.RelPermalink $category.Title) -}}
|
||||
{{- $categories = $categories | append (printf `<a href="%v"><i class="fa-regular fa-folder fa-fw"></i> %v</a>` $category.RelPermalink $category.Title) -}}
|
||||
{{- end -}}
|
||||
{{- with delimit $categories " " }}
|
||||
<span class="post-category">
|
||||
@@ -45,46 +45,46 @@
|
||||
<div class="post-meta-line">
|
||||
{{- with .Site.Params.dateformat | default "2006-01-02" | .PublishDate.Format -}}
|
||||
<span title={{ "2006-01-02 15:04:05" | $.PublishDate.Format }}>
|
||||
<i class="far fa-calendar-alt fa-fw"></i> <time datetime="{{ . }}" >{{ . }}</time>
|
||||
<i class="fa-regular fa-calendar-alt fa-fw"></i> <time datetime="{{ . }}" >{{ . }}</time>
|
||||
</span>
|
||||
{{- end -}}
|
||||
<i class="fas fa-pencil-alt fa-fw"></i> {{ T "wordCount" .WordCount }}
|
||||
<i class="far fa-clock fa-fw"></i> {{ T "readingTime" .ReadingTime }}
|
||||
<i class="fa-solid fa-pencil-alt fa-fw"></i> {{ T "wordCount" .WordCount }}
|
||||
<i class="fa-regular fa-clock fa-fw"></i> {{ T "readingTime" .ReadingTime }}
|
||||
{{- $comment := .Scratch.Get "comment" | default dict -}}
|
||||
{{- /* Visitor Count */ -}}
|
||||
{{- if $comment.enable -}}
|
||||
{{- if ($comment.valine.enable | and $comment.valine.visitor) | or ($comment.waline.enable | and $comment.waline.visitor) -}}
|
||||
{{- /* Warning: waline v2 will not be compatible with valine */ -}}
|
||||
<span id="{{ .RelPermalink }}" class="leancloud_visitors comment-visitors" data-flag-title="{{ .Title }}">
|
||||
<i class="far fa-eye fa-fw"></i> <span class="leancloud-visitors-count">-</span> {{ T "views" }}
|
||||
<i class="fa-regular fa-eye fa-fw"></i> <span class="leancloud-visitors-count">-</span> {{ T "views" }}
|
||||
</span>
|
||||
{{- else if $comment.waline.enable | and $comment.waline.visitor -}}
|
||||
<span class="comment-visitors" data-flag-title="{{ .Title }}">
|
||||
<i class="far fa-eye fa-fw"></i> <span id="{{ .RelPermalink }}" class="waline-visitor-count">-</span> {{ T "views" }}
|
||||
<i class="fa-regular fa-eye fa-fw"></i> <span id="{{ .RelPermalink }}" class="waline-visitor-count">-</span> {{ T "views" }}
|
||||
</span>
|
||||
{{- else if $comment.twikoo.enable | and $comment.twikoo.visitor -}}
|
||||
<span id="{{ .RelPermalink }}" class="comment-visitors" data-flag-title="{{ .Title }}">
|
||||
<i class="far fa-eye fa-fw"></i> <span id="twikoo_visitors">-</span> {{ T "views" }}
|
||||
<i class="fa-regular fa-eye fa-fw"></i> <span id="twikoo_visitors">-</span> {{ T "views" }}
|
||||
</span>
|
||||
{{- end -}}
|
||||
{{- else if .Site.Params.ibruce.enable | and .Site.Params.ibruce.enablePost -}}
|
||||
<span id="busuanzi_container_page_pv" class="busuanzi_visitors comment-visitors" data-flag-title="{{ .Title }}">
|
||||
<i class="far fa-eye fa-fw"></i> <span id="busuanzi_value_page_pv">-</span> {{ T "views" }}
|
||||
<i class="fa-regular fa-eye fa-fw"></i> <span id="busuanzi_value_page_pv">-</span> {{ T "views" }}
|
||||
</span>
|
||||
{{- end -}}
|
||||
{{- /* Comment Count */ -}}
|
||||
{{- if $comment.enable -}}
|
||||
{{- if $comment.valine.enable | and $comment.valine.commentCount -}}
|
||||
<span class="comment-count" data-flag-title="{{ .Title }}">
|
||||
<i class="far fa-comments fa-fw"></i> <span data-xid="{{ .RelPermalink }}" class="valine-comment-count">-</span> {{ T "comments" }}
|
||||
<i class="fa-regular fa-comments fa-fw"></i> <span data-xid="{{ .RelPermalink }}" class="valine-comment-count">-</span> {{ T "comments" }}
|
||||
</span>
|
||||
{{- else if $comment.waline.enable | and $comment.waline.commentCount -}}
|
||||
<span class="comment-count" data-flag-title="{{ .Title }}">
|
||||
<i class="far fa-comments fa-fw"></i> <span id="{{ .RelPermalink }}" class="waline-comment-count">-</span> {{ T "comments" }}
|
||||
<i class="fa-regular fa-comments fa-fw"></i> <span id="{{ .RelPermalink }}" class="waline-comment-count">-</span> {{ T "comments" }}
|
||||
</span>
|
||||
{{- else if $comment.twikoo.enable | and $comment.twikoo.commentCount -}}
|
||||
<span id="{{ .RelPermalink }}" class="comment-count" data-flag-title="{{ .Title }}">
|
||||
<i class="far fa-comments fa-fw"></i> <span id="twikoo-comment-count">-</span> {{ T "comments" }}
|
||||
<i class="fa-regular fa-comments fa-fw"></i> <span id="twikoo-comment-count">-</span> {{ T "comments" }}
|
||||
</span>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
@@ -107,7 +107,7 @@
|
||||
<div class="details toc" id="toc-static" kept="{{ if $toc.keepStatic }}true{{ else }}false{{ end }}">
|
||||
<div class="details-summary toc-title">
|
||||
<span>{{ T "contents" }}</span>
|
||||
<span><i class="details-icon fas fa-angle-right"></i></span>
|
||||
<span><i class="details-icon fa-solid fa-angle-right"></i></span>
|
||||
</div>
|
||||
<div class="details-content toc-content" id="toc-content-static">
|
||||
{{- dict "Content" .TableOfContents "Ruby" $params.ruby "Fraction" $params.fraction "Fontawesome" $params.fontawesome | partial "function/content.html" | safeHTML -}}
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
{{- $inner := .Inner | .Page.RenderString -}}
|
||||
|
||||
{{- $iconMap := dict "note" "fas fa-pencil-alt fa-fw" -}}
|
||||
{{- $iconMap = dict "abstract" "fas fa-list-ul fa-fw" | merge $iconMap -}}
|
||||
{{- $iconMap = dict "info" "fas fa-info-circle fa-fw" | merge $iconMap -}}
|
||||
{{- $iconMap = dict "tip" "fas fa-lightbulb fa-fw" | merge $iconMap -}}
|
||||
{{- $iconMap = dict "success" "fas fa-check-circle fa-fw" | merge $iconMap -}}
|
||||
{{- $iconMap = dict "question" "fas fa-question-circle fa-fw" | merge $iconMap -}}
|
||||
{{- $iconMap = dict "warning" "fas fa-exclamation-triangle fa-fw" | merge $iconMap -}}
|
||||
{{- $iconMap = dict "failure" "fas fa-times-circle fa-fw" | merge $iconMap -}}
|
||||
{{- $iconMap = dict "danger" "fas fa-skull-crossbones fa-fw" | merge $iconMap -}}
|
||||
{{- $iconMap = dict "bug" "fas fa-bug fa-fw" | merge $iconMap -}}
|
||||
{{- $iconMap = dict "example" "fas fa-list-ol fa-fw" | merge $iconMap -}}
|
||||
{{- $iconMap = dict "quote" "fas fa-quote-right fa-fw" | merge $iconMap -}}
|
||||
{{- $iconDetails := "fas fa-angle-right fa-fw" -}}
|
||||
{{- $iconMap := dict "note" "fa-solid fa-pencil-alt fa-fw" -}}
|
||||
{{- $iconMap = dict "abstract" "fa-solid fa-list-ul fa-fw" | merge $iconMap -}}
|
||||
{{- $iconMap = dict "info" "fa-solid fa-info-circle fa-fw" | merge $iconMap -}}
|
||||
{{- $iconMap = dict "tip" "fa-solid fa-lightbulb fa-fw" | merge $iconMap -}}
|
||||
{{- $iconMap = dict "success" "fa-solid fa-check-circle fa-fw" | merge $iconMap -}}
|
||||
{{- $iconMap = dict "question" "fa-solid fa-question-circle fa-fw" | merge $iconMap -}}
|
||||
{{- $iconMap = dict "warning" "fa-solid fa-exclamation-triangle fa-fw" | merge $iconMap -}}
|
||||
{{- $iconMap = dict "failure" "fa-solid fa-times-circle fa-fw" | merge $iconMap -}}
|
||||
{{- $iconMap = dict "danger" "fa-solid fa-skull-crossbones fa-fw" | merge $iconMap -}}
|
||||
{{- $iconMap = dict "bug" "fa-solid fa-bug fa-fw" | merge $iconMap -}}
|
||||
{{- $iconMap = dict "example" "fa-solid fa-list-ol fa-fw" | merge $iconMap -}}
|
||||
{{- $iconMap = dict "quote" "fa-solid fa-quote-right fa-fw" | merge $iconMap -}}
|
||||
{{- $iconDetails := "fa-solid fa-angle-right fa-fw" -}}
|
||||
|
||||
{{- if .IsNamedParams -}}
|
||||
{{- $type := .Get "type" | default "note" -}}
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
{{- $taxonomy := .Data.Singular -}}
|
||||
{{- $pageCount := len .Pages -}}
|
||||
{{- if eq $taxonomy "category" -}}
|
||||
<i class="far fa-folder-open fa-fw"></i>
|
||||
<i class="fa-regular fa-folder-open fa-fw"></i>
|
||||
{{ .Title }} <sup>{{- $pageCount -}}</sup>
|
||||
{{- else if eq $taxonomy "tag" -}}
|
||||
<i class="fas fa-tag fa-fw"></i>
|
||||
<i class="fa-solid fa-tag fa-fw"></i>
|
||||
{{ .Title }} <sup>{{- $pageCount -}}</sup>
|
||||
{{- else -}}
|
||||
{{- printf "%v - %v" (T $taxonomy | default $taxonomy) .Title -}}
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<div class="card-item-wrapper">
|
||||
<h3 class="card-item-title">
|
||||
<a href="{{ .RelPermalink }}">
|
||||
<i class="far fa-folder fa-fw"></i>
|
||||
<i class="fa-regular fa-folder fa-fw"></i>
|
||||
{{ .Page.Title }} <sup>{{- len $pages -}}</sup>
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
Generated
+81
-85
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "fixit-src",
|
||||
"version": "0.2.14",
|
||||
"version": "0.2.15-RC",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
@@ -10,7 +10,7 @@
|
||||
"integrity": "sha512-hoyByceqwKirw7w3Z7gnIIZC3Wx3J484Y3L/cMpXFbr7d9ZQj2mODrirNzcJa+SM3UlpWXYvKV4RlRpFXlWgXg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@jridgewell/trace-mapping": "^0.3.0"
|
||||
"@jridgewell/trace-mapping": "0.3.4"
|
||||
}
|
||||
},
|
||||
"@babel/cli": {
|
||||
@@ -52,21 +52,21 @@
|
||||
"integrity": "sha512-5ug+SfZCpDAkVp9SFIZAzlW18rlzsOcJGaetCjkySnrXXDUw9AR8cDUm1iByTmdWM6yxX6/zycaV76w3YTF2gw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@ampproject/remapping": "^2.1.0",
|
||||
"@babel/code-frame": "^7.16.7",
|
||||
"@babel/generator": "^7.17.9",
|
||||
"@babel/helper-compilation-targets": "^7.17.7",
|
||||
"@babel/helper-module-transforms": "^7.17.7",
|
||||
"@babel/helpers": "^7.17.9",
|
||||
"@babel/parser": "^7.17.9",
|
||||
"@babel/template": "^7.16.7",
|
||||
"@babel/traverse": "^7.17.9",
|
||||
"@babel/types": "^7.17.0",
|
||||
"convert-source-map": "^1.7.0",
|
||||
"debug": "^4.1.0",
|
||||
"gensync": "^1.0.0-beta.2",
|
||||
"json5": "^2.2.1",
|
||||
"semver": "^6.3.0"
|
||||
"@ampproject/remapping": "2.1.2",
|
||||
"@babel/code-frame": "7.16.7",
|
||||
"@babel/generator": "7.17.9",
|
||||
"@babel/helper-compilation-targets": "7.17.7",
|
||||
"@babel/helper-module-transforms": "7.17.7",
|
||||
"@babel/helpers": "7.17.9",
|
||||
"@babel/parser": "7.17.9",
|
||||
"@babel/template": "7.16.7",
|
||||
"@babel/traverse": "7.17.9",
|
||||
"@babel/types": "7.17.0",
|
||||
"convert-source-map": "1.7.0",
|
||||
"debug": "4.3.3",
|
||||
"gensync": "1.0.0-beta.2",
|
||||
"json5": "2.2.1",
|
||||
"semver": "6.3.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/compat-data": {
|
||||
@@ -81,9 +81,9 @@
|
||||
"integrity": "sha512-rAdDousTwxbIxbz5I7GEQ3lUip+xVCXooZNbsydCWs3xA7ZsYOv+CFRdzGxRX78BmQHu9B1Eso59AOZQOJDEdQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/types": "^7.17.0",
|
||||
"jsesc": "^2.5.1",
|
||||
"source-map": "^0.5.0"
|
||||
"@babel/types": "7.17.0",
|
||||
"jsesc": "2.5.2",
|
||||
"source-map": "0.5.7"
|
||||
}
|
||||
},
|
||||
"@babel/helper-compilation-targets": {
|
||||
@@ -92,10 +92,10 @@
|
||||
"integrity": "sha512-UFzlz2jjd8kroj0hmCFV5zr+tQPi1dpC2cRsDV/3IEW8bJfCPrPpmcSN6ZS8RqIq4LXcmpipCQFPddyFA5Yc7w==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/compat-data": "^7.17.7",
|
||||
"@babel/helper-validator-option": "^7.16.7",
|
||||
"browserslist": "^4.17.5",
|
||||
"semver": "^6.3.0"
|
||||
"@babel/compat-data": "7.17.7",
|
||||
"@babel/helper-validator-option": "7.16.7",
|
||||
"browserslist": "4.19.1",
|
||||
"semver": "6.3.0"
|
||||
}
|
||||
},
|
||||
"@babel/helper-function-name": {
|
||||
@@ -104,8 +104,8 @@
|
||||
"integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/template": "^7.16.7",
|
||||
"@babel/types": "^7.17.0"
|
||||
"@babel/template": "7.16.7",
|
||||
"@babel/types": "7.17.0"
|
||||
}
|
||||
},
|
||||
"@babel/helper-module-transforms": {
|
||||
@@ -114,14 +114,14 @@
|
||||
"integrity": "sha512-VmZD99F3gNTYB7fJRDTi+u6l/zxY0BE6OIxPSU7a50s6ZUQkHwSDmV92FfM+oCG0pZRVojGYhkR8I0OGeCVREw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-environment-visitor": "^7.16.7",
|
||||
"@babel/helper-module-imports": "^7.16.7",
|
||||
"@babel/helper-simple-access": "^7.17.7",
|
||||
"@babel/helper-split-export-declaration": "^7.16.7",
|
||||
"@babel/helper-validator-identifier": "^7.16.7",
|
||||
"@babel/template": "^7.16.7",
|
||||
"@babel/traverse": "^7.17.3",
|
||||
"@babel/types": "^7.17.0"
|
||||
"@babel/helper-environment-visitor": "7.16.7",
|
||||
"@babel/helper-module-imports": "7.16.7",
|
||||
"@babel/helper-simple-access": "7.17.7",
|
||||
"@babel/helper-split-export-declaration": "7.16.7",
|
||||
"@babel/helper-validator-identifier": "7.16.7",
|
||||
"@babel/template": "7.16.7",
|
||||
"@babel/traverse": "7.17.9",
|
||||
"@babel/types": "7.17.0"
|
||||
}
|
||||
},
|
||||
"@babel/helper-simple-access": {
|
||||
@@ -130,7 +130,7 @@
|
||||
"integrity": "sha512-txyMCGroZ96i+Pxr3Je3lzEJjqwaRC9buMUgtomcrLe5Nd0+fk1h0LLA+ixUF5OW7AhHuQ7Es1WcQJZmZsz2XA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/types": "^7.17.0"
|
||||
"@babel/types": "7.17.0"
|
||||
}
|
||||
},
|
||||
"@babel/parser": {
|
||||
@@ -145,16 +145,16 @@
|
||||
"integrity": "sha512-PQO8sDIJ8SIwipTPiR71kJQCKQYB5NGImbOviK8K+kg5xkNSYXLBupuX9QhatFowrsvo9Hj8WgArg3W7ijNAQw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/code-frame": "^7.16.7",
|
||||
"@babel/generator": "^7.17.9",
|
||||
"@babel/helper-environment-visitor": "^7.16.7",
|
||||
"@babel/helper-function-name": "^7.17.9",
|
||||
"@babel/helper-hoist-variables": "^7.16.7",
|
||||
"@babel/helper-split-export-declaration": "^7.16.7",
|
||||
"@babel/parser": "^7.17.9",
|
||||
"@babel/types": "^7.17.0",
|
||||
"debug": "^4.1.0",
|
||||
"globals": "^11.1.0"
|
||||
"@babel/code-frame": "7.16.7",
|
||||
"@babel/generator": "7.17.9",
|
||||
"@babel/helper-environment-visitor": "7.16.7",
|
||||
"@babel/helper-function-name": "7.17.9",
|
||||
"@babel/helper-hoist-variables": "7.16.7",
|
||||
"@babel/helper-split-export-declaration": "7.16.7",
|
||||
"@babel/parser": "7.17.9",
|
||||
"@babel/types": "7.17.0",
|
||||
"debug": "4.3.3",
|
||||
"globals": "11.12.0"
|
||||
}
|
||||
},
|
||||
"semver": {
|
||||
@@ -452,9 +452,9 @@
|
||||
"integrity": "sha512-cPCt915ShDWUEzEp3+UNRktO2n6v49l5RSnG9M5pS24hA+2FAc5si+Pn1i4VVbQQ+jh+bIZhPFQOJOzbrOYY1Q==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/template": "^7.16.7",
|
||||
"@babel/traverse": "^7.17.9",
|
||||
"@babel/types": "^7.17.0"
|
||||
"@babel/template": "7.16.7",
|
||||
"@babel/traverse": "7.17.9",
|
||||
"@babel/types": "7.17.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/generator": {
|
||||
@@ -463,9 +463,9 @@
|
||||
"integrity": "sha512-rAdDousTwxbIxbz5I7GEQ3lUip+xVCXooZNbsydCWs3xA7ZsYOv+CFRdzGxRX78BmQHu9B1Eso59AOZQOJDEdQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/types": "^7.17.0",
|
||||
"jsesc": "^2.5.1",
|
||||
"source-map": "^0.5.0"
|
||||
"@babel/types": "7.17.0",
|
||||
"jsesc": "2.5.2",
|
||||
"source-map": "0.5.7"
|
||||
}
|
||||
},
|
||||
"@babel/helper-function-name": {
|
||||
@@ -474,8 +474,8 @@
|
||||
"integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/template": "^7.16.7",
|
||||
"@babel/types": "^7.17.0"
|
||||
"@babel/template": "7.16.7",
|
||||
"@babel/types": "7.17.0"
|
||||
}
|
||||
},
|
||||
"@babel/parser": {
|
||||
@@ -490,16 +490,16 @@
|
||||
"integrity": "sha512-PQO8sDIJ8SIwipTPiR71kJQCKQYB5NGImbOviK8K+kg5xkNSYXLBupuX9QhatFowrsvo9Hj8WgArg3W7ijNAQw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/code-frame": "^7.16.7",
|
||||
"@babel/generator": "^7.17.9",
|
||||
"@babel/helper-environment-visitor": "^7.16.7",
|
||||
"@babel/helper-function-name": "^7.17.9",
|
||||
"@babel/helper-hoist-variables": "^7.16.7",
|
||||
"@babel/helper-split-export-declaration": "^7.16.7",
|
||||
"@babel/parser": "^7.17.9",
|
||||
"@babel/types": "^7.17.0",
|
||||
"debug": "^4.1.0",
|
||||
"globals": "^11.1.0"
|
||||
"@babel/code-frame": "7.16.7",
|
||||
"@babel/generator": "7.17.9",
|
||||
"@babel/helper-environment-visitor": "7.16.7",
|
||||
"@babel/helper-function-name": "7.17.9",
|
||||
"@babel/helper-hoist-variables": "7.16.7",
|
||||
"@babel/helper-split-export-declaration": "7.16.7",
|
||||
"@babel/parser": "7.17.9",
|
||||
"@babel/types": "7.17.0",
|
||||
"debug": "4.3.3",
|
||||
"globals": "11.12.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1554,21 +1554,21 @@
|
||||
"integrity": "sha512-/BBMw4EvjmyquN5O+t5eh0+YqB3XXJkYD2cjKpYtWOfFy4lQ4UozNSmxAcWT8r2XtZs0ewG+zrfsqeR15i1ajA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@ampproject/remapping": "^2.1.0",
|
||||
"@babel/code-frame": "^7.16.7",
|
||||
"@babel/generator": "^7.17.3",
|
||||
"@babel/helper-compilation-targets": "^7.16.7",
|
||||
"@babel/helper-module-transforms": "^7.16.7",
|
||||
"@babel/helpers": "^7.17.2",
|
||||
"@babel/parser": "^7.17.3",
|
||||
"@babel/template": "^7.16.7",
|
||||
"@babel/traverse": "^7.17.3",
|
||||
"@babel/types": "^7.17.0",
|
||||
"convert-source-map": "^1.7.0",
|
||||
"debug": "^4.1.0",
|
||||
"gensync": "^1.0.0-beta.2",
|
||||
"json5": "^2.1.2",
|
||||
"semver": "^6.3.0"
|
||||
"@ampproject/remapping": "2.1.2",
|
||||
"@babel/code-frame": "7.16.7",
|
||||
"@babel/generator": "7.17.3",
|
||||
"@babel/helper-compilation-targets": "7.16.7",
|
||||
"@babel/helper-module-transforms": "7.16.7",
|
||||
"@babel/helpers": "7.17.9",
|
||||
"@babel/parser": "7.17.3",
|
||||
"@babel/template": "7.16.7",
|
||||
"@babel/traverse": "7.17.3",
|
||||
"@babel/types": "7.17.0",
|
||||
"convert-source-map": "1.7.0",
|
||||
"debug": "4.3.3",
|
||||
"gensync": "1.0.0-beta.2",
|
||||
"json5": "2.2.1",
|
||||
"semver": "6.3.0"
|
||||
}
|
||||
},
|
||||
"semver": {
|
||||
@@ -3057,8 +3057,7 @@
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
|
||||
"integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
"dev": true
|
||||
},
|
||||
"is-generator-function": {
|
||||
"version": "1.0.10",
|
||||
@@ -3074,7 +3073,6 @@
|
||||
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
|
||||
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"is-extglob": "2.1.1"
|
||||
}
|
||||
@@ -3364,8 +3362,7 @@
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
|
||||
"integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
"dev": true
|
||||
},
|
||||
"object-assign": {
|
||||
"version": "4.1.1",
|
||||
@@ -3514,8 +3511,7 @@
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
|
||||
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
"dev": true
|
||||
},
|
||||
"pify": {
|
||||
"version": "4.0.1",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "fixit-src",
|
||||
"version": "0.2.14",
|
||||
"version": "0.2.15-RC",
|
||||
"description": "FixIt theme source files",
|
||||
"private": true,
|
||||
"dependencies": {},
|
||||
|
||||
+5
-5
@@ -332,7 +332,7 @@ class Theme {
|
||||
searchConfig.type === 'algolia'
|
||||
? {
|
||||
searchType: 'algolia',
|
||||
icon: '<i class="fab fa-algolia fa-fw"></i>',
|
||||
icon: '<i class="fa-brands fa-algolia fa-fw"></i>',
|
||||
href: 'https://www.algolia.com/'
|
||||
}
|
||||
: {
|
||||
@@ -415,14 +415,14 @@ class Theme {
|
||||
// code title
|
||||
const $title = document.createElement('span');
|
||||
$title.classList.add('code-title');
|
||||
$title.insertAdjacentHTML('afterbegin', '<i class="arrow fas fa-chevron-right fa-fw"></i>');
|
||||
$title.insertAdjacentHTML('afterbegin', '<i class="arrow fa-solid fa-chevron-right fa-fw"></i>');
|
||||
$title.addEventListener('click', () => {
|
||||
$chroma.classList.toggle('open');
|
||||
}, false);
|
||||
$header.appendChild($title);
|
||||
// ellipses icon
|
||||
const $ellipses = document.createElement('span');
|
||||
$ellipses.insertAdjacentHTML('afterbegin', '<i class="fas fa-ellipsis-h fa-fw"></i>');
|
||||
$ellipses.insertAdjacentHTML('afterbegin', '<i class="fa-solid fa-ellipsis-h fa-fw"></i>');
|
||||
$ellipses.classList.add('ellipses');
|
||||
$ellipses.addEventListener('click', () => {
|
||||
$chroma.classList.add('open');
|
||||
@@ -432,7 +432,7 @@ class Theme {
|
||||
if (this.config.code.editable) {
|
||||
const $edit = document.createElement('span');
|
||||
$edit.classList.add('edit');
|
||||
$edit.insertAdjacentHTML('afterbegin', `<i class="fas fa-key fa-fw" title="${this.config.code.editUnLockTitle}"></i>`);
|
||||
$edit.insertAdjacentHTML('afterbegin', `<i class="fa-solid fa-key fa-fw" title="${this.config.code.editUnLockTitle}"></i>`);
|
||||
$edit.addEventListener('click', () => {
|
||||
const $iconKey = $edit.querySelector('.fa-key');
|
||||
const $iconLock = $edit.querySelector('.fa-lock');
|
||||
@@ -457,7 +457,7 @@ class Theme {
|
||||
// copy button
|
||||
if (this.config.code.copyTitle) {
|
||||
const $copy = document.createElement('span');
|
||||
$copy.insertAdjacentHTML('afterbegin', '<i class="far fa-copy fa-fw"></i>');
|
||||
$copy.insertAdjacentHTML('afterbegin', '<i class="fa-regular fa-copy fa-fw"></i>');
|
||||
$copy.classList.add('copy');
|
||||
const code = $code.innerText;
|
||||
if (this.config.code.maxShownLines < 0 || code.split('\n').length < this.config.code.maxShownLines + 2) {
|
||||
|
||||
Reference in New Issue
Block a user