Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-05-06 18:52:01 +0300
committerGitHub <noreply@github.com>2020-05-06 18:52:01 +0300
commit6fbde281b27c424a72d0909e631b65ebf413c606 (patch)
tree46986b2cc3c44b6c1409b4e864c68d3a573a32c5
parentfe0548d826eeb8b74f73934b13a11a1f61369b83 (diff)
parent87923f284cdeab96575bf333cf2c5461f110966c (diff)
Merge pull request #329 from dillonzq/develop
-rw-r--r--README.md2
-rw-r--r--README.zh-cn.md2
-rw-r--r--assets/data/emoji/apple.yml150
-rw-r--r--assets/data/emoji/facebook.yml150
-rw-r--r--assets/data/emoji/google.yml150
-rw-r--r--assets/data/emoji/twitter.yml150
-rw-r--r--assets/data/social.yml (renamed from assets/data/social.yaml)0
-rw-r--r--exampleSite/config.toml7
-rw-r--r--exampleSite/content/posts/theme-documentation-basics.en.md7
-rw-r--r--exampleSite/content/posts/theme-documentation-basics.fr.md6
-rw-r--r--exampleSite/content/posts/theme-documentation-basics.zh-cn.md6
-rw-r--r--i18n/de.toml196
-rw-r--r--i18n/en.toml3
-rw-r--r--i18n/es.toml6
-rw-r--r--i18n/fr.toml6
-rw-r--r--i18n/it.toml6
-rw-r--r--i18n/pl.toml3
-rw-r--r--i18n/pt-BR.toml6
-rw-r--r--i18n/sr.toml191
-rw-r--r--i18n/zh-CN.toml7
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--layouts/_default/single.html3
-rw-r--r--layouts/partials/assets.html6
-rw-r--r--layouts/partials/comment.html1
-rw-r--r--layouts/partials/home/profile.html2
-rw-r--r--layouts/shortcodes/style.html5
-rw-r--r--resources/_gen/assets/scss/style/06219b515bd3039bce88e4417e803b29/id-1.scss_3bfbc84092731480b8d374981b54d253.content (renamed from resources/_gen/assets/scss/stype/id-1.scss_ff2a8d7d59c25f259218399bceecc7ea.content)0
-rw-r--r--resources/_gen/assets/scss/style/06219b515bd3039bce88e4417e803b29/id-1.scss_3bfbc84092731480b8d374981b54d253.json1
-rw-r--r--resources/_gen/assets/scss/style/2d4250d7b4edf7b7647e94cfdc183b86/id-1.scss_e5494f82a408608c874431b5dcdb4f1e.content2
-rw-r--r--resources/_gen/assets/scss/style/2d4250d7b4edf7b7647e94cfdc183b86/id-1.scss_e5494f82a408608c874431b5dcdb4f1e.json1
-rw-r--r--resources/_gen/assets/scss/style/2f6a44c07cd36aed63db163b9f515d63/id-1.scss_4bcd2a22db7c9ce77fc96c1aa4d683bd.content2
-rw-r--r--resources/_gen/assets/scss/style/2f6a44c07cd36aed63db163b9f515d63/id-1.scss_4bcd2a22db7c9ce77fc96c1aa4d683bd.json1
-rw-r--r--resources/_gen/assets/scss/style/387e497be0b7dbdc903468dec88ce042/id-1.scss_66d6eb926874a089016353786f28e165.content2
-rw-r--r--resources/_gen/assets/scss/style/387e497be0b7dbdc903468dec88ce042/id-1.scss_66d6eb926874a089016353786f28e165.json1
-rw-r--r--resources/_gen/assets/scss/style/409594da26069e6252388311312abfd5/id-1.scss_78b750e0fe281aa9b91566ae181c2e40.content4
-rw-r--r--resources/_gen/assets/scss/style/409594da26069e6252388311312abfd5/id-1.scss_78b750e0fe281aa9b91566ae181c2e40.json1
-rw-r--r--resources/_gen/assets/scss/style/7857d7858fcfb859deeb60f29672cffc/id-1.scss_0d902f60eb581fec9411dd1846631db7.content4
-rw-r--r--resources/_gen/assets/scss/style/7857d7858fcfb859deeb60f29672cffc/id-1.scss_0d902f60eb581fec9411dd1846631db7.json1
-rw-r--r--resources/_gen/assets/scss/style/c17d91e847fcfcd8e30a3c3f56b6af46/id-1.scss_a7b5c907db9ad46c812c6b1bf9d871a7.content2
-rw-r--r--resources/_gen/assets/scss/style/c17d91e847fcfcd8e30a3c3f56b6af46/id-1.scss_a7b5c907db9ad46c812c6b1bf9d871a7.json1
-rw-r--r--resources/_gen/assets/scss/style/f34bb62f734d1cecaa4de6a8b8efab52/id-1.scss_da37cb970ff275a236f7c8e80f90244b.content2
-rw-r--r--resources/_gen/assets/scss/style/f34bb62f734d1cecaa4de6a8b8efab52/id-1.scss_da37cb970ff275a236f7c8e80f90244b.json1
-rw-r--r--resources/_gen/assets/scss/style/fb3ada7a67e15e6dfbcd8e86e0e7fb61/id-1.scss_8bcb276b6f7024fb75f6398ae3519592.content4
-rw-r--r--resources/_gen/assets/scss/style/fb3ada7a67e15e6dfbcd8e86e0e7fb61/id-1.scss_8bcb276b6f7024fb75f6398ae3519592.json1
-rw-r--r--resources/_gen/assets/scss/stype/id-1.scss_ff2a8d7d59c25f259218399bceecc7ea.json1
45 files changed, 1080 insertions, 25 deletions
diff --git a/README.md b/README.md
index 8d0b394..dadb575 100644
--- a/README.md
+++ b/README.md
@@ -133,6 +133,8 @@ LoveIt supports the following languages:
* Brazilian Portuguese
* Italian
* Spanish
+* German
+* Serbian
* [Contribute with a new language](https://github.com/dillonzq/LoveIt/pulls)
[Languages Compatibility](https://hugoloveit.com/theme-documentation-basics/#language-compatibility)
diff --git a/README.zh-cn.md b/README.zh-cn.md
index 2185173..d68d0b7 100644
--- a/README.zh-cn.md
+++ b/README.zh-cn.md
@@ -128,6 +128,8 @@ LoveIt 支持下列语言:
* 巴西葡萄牙语
* 意大利语
* 西班牙语
+* 德语
+* 塞尔维亚语
* [贡献一种新的语言](https://github.com/dillonzq/LoveIt/pulls)
[语言兼容性](https://hugoloveit.com/zh-cn/theme-documentation-basics/#language-compatibility)
diff --git a/assets/data/emoji/apple.yml b/assets/data/emoji/apple.yml
new file mode 100644
index 0000000..3f9cee9
--- /dev/null
+++ b/assets/data/emoji/apple.yml
@@ -0,0 +1,150 @@
+emojiCDN: 'https://cdn.jsdelivr.net/npm/emoji-datasource-apple@5.0.1/img/apple/64/'
+emojiMaps:
+ '100': 1f4af.png
+ grinning: 1f600.png
+ smiley: 1f603.png
+ smile: 1f604.png
+ grin: 1f601.png
+ laughing: 1f606.png
+ sweat_smile: 1f605.png
+ rolling_on_the_floor_laughing: 1f923.png
+ joy: 1f602.png
+ slightly_smiling_face: 1f642.png
+ upside_down_face: 1f643.png
+ wink: 1f609.png
+ blush: 1f60a.png
+ innocent: 1f607.png
+ smiling_face_with_3_hearts: 1f970.png
+ heart_eyes: 1f60d.png
+ star-struck: 1f929.png
+ kissing_heart: 1f618.png
+ kissing: 1f617.png
+ relaxed: 263a-fe0f.png
+ kissing_closed_eyes: 1f61a.png
+ kissing_smiling_eyes: 1f619.png
+ yum: 1f60b.png
+ stuck_out_tongue: 1f61b.png
+ stuck_out_tongue_winking_eye: 1f61c.png
+ zany_face: 1f92a.png
+ stuck_out_tongue_closed_eyes: 1f61d.png
+ money_mouth_face: 1f911.png
+ hugging_face: 1f917.png
+ face_with_hand_over_mouth: 1f92d.png
+ shushing_face: 1f92b.png
+ thinking_face: 1f914.png
+ zipper_mouth_face: 1f910.png
+ face_with_raised_eyebrow: 1f928.png
+ neutral_face: 1f610.png
+ expressionless: 1f611.png
+ no_mouth: 1f636.png
+ smirk: 1f60f.png
+ unamused: 1f612.png
+ face_with_rolling_eyes: 1f644.png
+ grimacing: 1f62c.png
+ lying_face: 1f925.png
+ relieved: 1f60c.png
+ pensive: 1f614.png
+ sleepy: 1f62a.png
+ drooling_face: 1f924.png
+ sleeping: 1f634.png
+ mask: 1f637.png
+ face_with_thermometer: 1f912.png
+ face_with_head_bandage: 1f915.png
+ nauseated_face: 1f922.png
+ face_vomiting: 1f92e.png
+ sneezing_face: 1f927.png
+ hot_face: 1f975.png
+ cold_face: 1f976.png
+ woozy_face: 1f974.png
+ dizzy_face: 1f635.png
+ exploding_head: 1f92f.png
+ face_with_cowboy_hat: 1f920.png
+ partying_face: 1f973.png
+ sunglasses: 1f60e.png
+ nerd_face: 1f913.png
+ face_with_monocle: 1f9d0.png
+ confused: 1f615.png
+ worried: 1f61f.png
+ slightly_frowning_face: 1f641.png
+ white_frowning_face: 2639-fe0f.png
+ open_mouth: 1f62e.png
+ hushed: 1f62f.png
+ astonished: 1f632.png
+ flushed: 1f633.png
+ pleading_face: 1f97a.png
+ frowning: 1f626.png
+ anguished: 1f627.png
+ fearful: 1f628.png
+ cold_sweat: 1f630.png
+ disappointed_relieved: 1f625.png
+ cry: 1f622.png
+ sob: 1f62d.png
+ scream: 1f631.png
+ confounded: 1f616.png
+ persevere: 1f623.png
+ disappointed: 1f61e.png
+ sweat: 1f613.png
+ weary: 1f629.png
+ tired_face: 1f62b.png
+ yawning_face: 1f971.png
+ triumph: 1f624.png
+ rage: 1f621.png
+ angry: 1f620.png
+ face_with_symbols_on_mouth: 1f92c.png
+ smiling_imp: 1f608.png
+ imp: 1f47f.png
+ skull: 1f480.png
+ skull_and_crossbones: 2620-fe0f.png
+ hankey: 1f4a9.png
+ clown_face: 1f921.png
+ japanese_ogre: 1f479.png
+ japanese_goblin: 1f47a.png
+ ghost: 1f47b.png
+ alien: 1f47d.png
+ space_invader: 1f47e.png
+ robot_face: 1f916.png
+ smiley_cat: 1f63a.png
+ smile_cat: 1f638.png
+ joy_cat: 1f639.png
+ heart_eyes_cat: 1f63b.png
+ smirk_cat: 1f63c.png
+ kissing_cat: 1f63d.png
+ scream_cat: 1f640.png
+ crying_cat_face: 1f63f.png
+ pouting_cat: 1f63e.png
+ see_no_evil: 1f648.png
+ hear_no_evil: 1f649.png
+ speak_no_evil: 1f64a.png
+ kiss: 1f48b.png
+ love_letter: 1f48c.png
+ cupid: 1f498.png
+ gift_heart: 1f49d.png
+ sparkling_heart: 1f496.png
+ heartpulse: 1f497.png
+ heartbeat: 1f493.png
+ revolving_hearts: 1f49e.png
+ two_hearts: 1f495.png
+ heart_decoration: 1f49f.png
+ heavy_heart_exclamation_mark_ornament: 2763-fe0f.png
+ broken_heart: 1f494.png
+ heart: 2764-fe0f.png
+ orange_heart: 1f9e1.png
+ yellow_heart: 1f49b.png
+ green_heart: 1f49a.png
+ blue_heart: 1f499.png
+ purple_heart: 1f49c.png
+ brown_heart: 1f90e.png
+ black_heart: 1f5a4.png
+ white_heart: 1f90d.png
+ anger: 1f4a2.png
+ boom: 1f4a5.png
+ dizzy: 1f4ab.png
+ sweat_drops: 1f4a6.png
+ dash: 1f4a8.png
+ hole: 1f573-fe0f.png
+ bomb: 1f4a3.png
+ speech_balloon: 1f4ac.png
+ left_speech_bubble: 1f5e8-fe0f.png
+ right_anger_bubble: 1f5ef-fe0f.png
+ thought_balloon: 1f4ad.png
+ zzz: 1f4a4.png
diff --git a/assets/data/emoji/facebook.yml b/assets/data/emoji/facebook.yml
new file mode 100644
index 0000000..f987491
--- /dev/null
+++ b/assets/data/emoji/facebook.yml
@@ -0,0 +1,150 @@
+emojiCDN: 'https://cdn.jsdelivr.net/npm/emoji-datasource-facebook@5.0.1/img/facebook/64/'
+emojiMaps:
+ '100': 1f4af.png
+ grinning: 1f600.png
+ smiley: 1f603.png
+ smile: 1f604.png
+ grin: 1f601.png
+ laughing: 1f606.png
+ sweat_smile: 1f605.png
+ rolling_on_the_floor_laughing: 1f923.png
+ joy: 1f602.png
+ slightly_smiling_face: 1f642.png
+ upside_down_face: 1f643.png
+ wink: 1f609.png
+ blush: 1f60a.png
+ innocent: 1f607.png
+ smiling_face_with_3_hearts: 1f970.png
+ heart_eyes: 1f60d.png
+ star-struck: 1f929.png
+ kissing_heart: 1f618.png
+ kissing: 1f617.png
+ relaxed: 263a-fe0f.png
+ kissing_closed_eyes: 1f61a.png
+ kissing_smiling_eyes: 1f619.png
+ yum: 1f60b.png
+ stuck_out_tongue: 1f61b.png
+ stuck_out_tongue_winking_eye: 1f61c.png
+ zany_face: 1f92a.png
+ stuck_out_tongue_closed_eyes: 1f61d.png
+ money_mouth_face: 1f911.png
+ hugging_face: 1f917.png
+ face_with_hand_over_mouth: 1f92d.png
+ shushing_face: 1f92b.png
+ thinking_face: 1f914.png
+ zipper_mouth_face: 1f910.png
+ face_with_raised_eyebrow: 1f928.png
+ neutral_face: 1f610.png
+ expressionless: 1f611.png
+ no_mouth: 1f636.png
+ smirk: 1f60f.png
+ unamused: 1f612.png
+ face_with_rolling_eyes: 1f644.png
+ grimacing: 1f62c.png
+ lying_face: 1f925.png
+ relieved: 1f60c.png
+ pensive: 1f614.png
+ sleepy: 1f62a.png
+ drooling_face: 1f924.png
+ sleeping: 1f634.png
+ mask: 1f637.png
+ face_with_thermometer: 1f912.png
+ face_with_head_bandage: 1f915.png
+ nauseated_face: 1f922.png
+ face_vomiting: 1f92e.png
+ sneezing_face: 1f927.png
+ hot_face: 1f975.png
+ cold_face: 1f976.png
+ woozy_face: 1f974.png
+ dizzy_face: 1f635.png
+ exploding_head: 1f92f.png
+ face_with_cowboy_hat: 1f920.png
+ partying_face: 1f973.png
+ sunglasses: 1f60e.png
+ nerd_face: 1f913.png
+ face_with_monocle: 1f9d0.png
+ confused: 1f615.png
+ worried: 1f61f.png
+ slightly_frowning_face: 1f641.png
+ white_frowning_face: 2639-fe0f.png
+ open_mouth: 1f62e.png
+ hushed: 1f62f.png
+ astonished: 1f632.png
+ flushed: 1f633.png
+ pleading_face: 1f97a.png
+ frowning: 1f626.png
+ anguished: 1f627.png
+ fearful: 1f628.png
+ cold_sweat: 1f630.png
+ disappointed_relieved: 1f625.png
+ cry: 1f622.png
+ sob: 1f62d.png
+ scream: 1f631.png
+ confounded: 1f616.png
+ persevere: 1f623.png
+ disappointed: 1f61e.png
+ sweat: 1f613.png
+ weary: 1f629.png
+ tired_face: 1f62b.png
+ yawning_face: 1f971.png
+ triumph: 1f624.png
+ rage: 1f621.png
+ angry: 1f620.png
+ face_with_symbols_on_mouth: 1f92c.png
+ smiling_imp: 1f608.png
+ imp: 1f47f.png
+ skull: 1f480.png
+ skull_and_crossbones: 2620-fe0f.png
+ hankey: 1f4a9.png
+ clown_face: 1f921.png
+ japanese_ogre: 1f479.png
+ japanese_goblin: 1f47a.png
+ ghost: 1f47b.png
+ alien: 1f47d.png
+ space_invader: 1f47e.png
+ robot_face: 1f916.png
+ smiley_cat: 1f63a.png
+ smile_cat: 1f638.png
+ joy_cat: 1f639.png
+ heart_eyes_cat: 1f63b.png
+ smirk_cat: 1f63c.png
+ kissing_cat: 1f63d.png
+ scream_cat: 1f640.png
+ crying_cat_face: 1f63f.png
+ pouting_cat: 1f63e.png
+ see_no_evil: 1f648.png
+ hear_no_evil: 1f649.png
+ speak_no_evil: 1f64a.png
+ kiss: 1f48b.png
+ love_letter: 1f48c.png
+ cupid: 1f498.png
+ gift_heart: 1f49d.png
+ sparkling_heart: 1f496.png
+ heartpulse: 1f497.png
+ heartbeat: 1f493.png
+ revolving_hearts: 1f49e.png
+ two_hearts: 1f495.png
+ heart_decoration: 1f49f.png
+ heavy_heart_exclamation_mark_ornament: 2763-fe0f.png
+ broken_heart: 1f494.png
+ heart: 2764-fe0f.png
+ orange_heart: 1f9e1.png
+ yellow_heart: 1f49b.png
+ green_heart: 1f49a.png
+ blue_heart: 1f499.png
+ purple_heart: 1f49c.png
+ brown_heart: 1f90e.png
+ black_heart: 1f5a4.png
+ white_heart: 1f90d.png
+ anger: 1f4a2.png
+ boom: 1f4a5.png
+ dizzy: 1f4ab.png
+ sweat_drops: 1f4a6.png
+ dash: 1f4a8.png
+ hole: 1f573-fe0f.png
+ bomb: 1f4a3.png
+ speech_balloon: 1f4ac.png
+ left_speech_bubble: 1f5e8-fe0f.png
+ right_anger_bubble: 1f5ef-fe0f.png
+ thought_balloon: 1f4ad.png
+ zzz: 1f4a4.png
diff --git a/assets/data/emoji/google.yml b/assets/data/emoji/google.yml
new file mode 100644
index 0000000..7137ccb
--- /dev/null
+++ b/assets/data/emoji/google.yml
@@ -0,0 +1,150 @@
+emojiCDN: 'https://cdn.jsdelivr.net/npm/emoji-datasource-google@5.0.1/img/google/64/'
+emojiMaps:
+ '100': 1f4af.png
+ grinning: 1f600.png
+ smiley: 1f603.png
+ smile: 1f604.png
+ grin: 1f601.png
+ laughing: 1f606.png
+ sweat_smile: 1f605.png
+ rolling_on_the_floor_laughing: 1f923.png
+ joy: 1f602.png
+ slightly_smiling_face: 1f642.png
+ upside_down_face: 1f643.png
+ wink: 1f609.png
+ blush: 1f60a.png
+ innocent: 1f607.png
+ smiling_face_with_3_hearts: 1f970.png
+ heart_eyes: 1f60d.png
+ star-struck: 1f929.png
+ kissing_heart: 1f618.png
+ kissing: 1f617.png
+ relaxed: 263a-fe0f.png
+ kissing_closed_eyes: 1f61a.png
+ kissing_smiling_eyes: 1f619.png
+ yum: 1f60b.png
+ stuck_out_tongue: 1f61b.png
+ stuck_out_tongue_winking_eye: 1f61c.png
+ zany_face: 1f92a.png
+ stuck_out_tongue_closed_eyes: 1f61d.png
+ money_mouth_face: 1f911.png
+ hugging_face: 1f917.png
+ face_with_hand_over_mouth: 1f92d.png
+ shushing_face: 1f92b.png
+ thinking_face: 1f914.png
+ zipper_mouth_face: 1f910.png
+ face_with_raised_eyebrow: 1f928.png
+ neutral_face: 1f610.png
+ expressionless: 1f611.png
+ no_mouth: 1f636.png
+ smirk: 1f60f.png
+ unamused: 1f612.png
+ face_with_rolling_eyes: 1f644.png
+ grimacing: 1f62c.png
+ lying_face: 1f925.png
+ relieved: 1f60c.png
+ pensive: 1f614.png
+ sleepy: 1f62a.png
+ drooling_face: 1f924.png
+ sleeping: 1f634.png
+ mask: 1f637.png
+ face_with_thermometer: 1f912.png
+ face_with_head_bandage: 1f915.png
+ nauseated_face: 1f922.png
+ face_vomiting: 1f92e.png
+ sneezing_face: 1f927.png
+ hot_face: 1f975.png
+ cold_face: 1f976.png
+ woozy_face: 1f974.png
+ dizzy_face: 1f635.png
+ exploding_head: 1f92f.png
+ face_with_cowboy_hat: 1f920.png
+ partying_face: 1f973.png
+ sunglasses: 1f60e.png
+ nerd_face: 1f913.png
+ face_with_monocle: 1f9d0.png
+ confused: 1f615.png
+ worried: 1f61f.png
+ slightly_frowning_face: 1f641.png
+ white_frowning_face: 2639-fe0f.png
+ open_mouth: 1f62e.png
+ hushed: 1f62f.png
+ astonished: 1f632.png
+ flushed: 1f633.png
+ pleading_face: 1f97a.png
+ frowning: 1f626.png
+ anguished: 1f627.png
+ fearful: 1f628.png
+ cold_sweat: 1f630.png
+ disappointed_relieved: 1f625.png
+ cry: 1f622.png
+ sob: 1f62d.png
+ scream: 1f631.png
+ confounded: 1f616.png
+ persevere: 1f623.png
+ disappointed: 1f61e.png
+ sweat: 1f613.png
+ weary: 1f629.png
+ tired_face: 1f62b.png
+ yawning_face: 1f971.png
+ triumph: 1f624.png
+ rage: 1f621.png
+ angry: 1f620.png
+ face_with_symbols_on_mouth: 1f92c.png
+ smiling_imp: 1f608.png
+ imp: 1f47f.png
+ skull: 1f480.png
+ skull_and_crossbones: 2620-fe0f.png
+ hankey: 1f4a9.png
+ clown_face: 1f921.png
+ japanese_ogre: 1f479.png
+ japanese_goblin: 1f47a.png
+ ghost: 1f47b.png
+ alien: 1f47d.png
+ space_invader: 1f47e.png
+ robot_face: 1f916.png
+ smiley_cat: 1f63a.png
+ smile_cat: 1f638.png
+ joy_cat: 1f639.png
+ heart_eyes_cat: 1f63b.png
+ smirk_cat: 1f63c.png
+ kissing_cat: 1f63d.png
+ scream_cat: 1f640.png
+ crying_cat_face: 1f63f.png
+ pouting_cat: 1f63e.png
+ see_no_evil: 1f648.png
+ hear_no_evil: 1f649.png
+ speak_no_evil: 1f64a.png
+ kiss: 1f48b.png
+ love_letter: 1f48c.png
+ cupid: 1f498.png
+ gift_heart: 1f49d.png
+ sparkling_heart: 1f496.png
+ heartpulse: 1f497.png
+ heartbeat: 1f493.png
+ revolving_hearts: 1f49e.png
+ two_hearts: 1f495.png
+ heart_decoration: 1f49f.png
+ heavy_heart_exclamation_mark_ornament: 2763-fe0f.png
+ broken_heart: 1f494.png
+ heart: 2764-fe0f.png
+ orange_heart: 1f9e1.png
+ yellow_heart: 1f49b.png
+ green_heart: 1f49a.png
+ blue_heart: 1f499.png
+ purple_heart: 1f49c.png
+ brown_heart: 1f90e.png
+ black_heart: 1f5a4.png
+ white_heart: 1f90d.png
+ anger: 1f4a2.png
+ boom: 1f4a5.png
+ dizzy: 1f4ab.png
+ sweat_drops: 1f4a6.png
+ dash: 1f4a8.png
+ hole: 1f573-fe0f.png
+ bomb: 1f4a3.png
+ speech_balloon: 1f4ac.png
+ left_speech_bubble: 1f5e8-fe0f.png
+ right_anger_bubble: 1f5ef-fe0f.png
+ thought_balloon: 1f4ad.png
+ zzz: 1f4a4.png
diff --git a/assets/data/emoji/twitter.yml b/assets/data/emoji/twitter.yml
new file mode 100644
index 0000000..97365c6
--- /dev/null
+++ b/assets/data/emoji/twitter.yml
@@ -0,0 +1,150 @@
+emojiCDN: 'https://cdn.jsdelivr.net/npm/emoji-datasource-twitter@5.0.1/img/twitter/64/'
+emojiMaps:
+ '100': 1f4af.png
+ grinning: 1f600.png
+ smiley: 1f603.png
+ smile: 1f604.png
+ grin: 1f601.png
+ laughing: 1f606.png
+ sweat_smile: 1f605.png
+ rolling_on_the_floor_laughing: 1f923.png
+ joy: 1f602.png
+ slightly_smiling_face: 1f642.png
+ upside_down_face: 1f643.png
+ wink: 1f609.png
+ blush: 1f60a.png
+ innocent: 1f607.png
+ smiling_face_with_3_hearts: 1f970.png
+ heart_eyes: 1f60d.png
+ star-struck: 1f929.png
+ kissing_heart: 1f618.png
+ kissing: 1f617.png
+ relaxed: 263a-fe0f.png
+ kissing_closed_eyes: 1f61a.png
+ kissing_smiling_eyes: 1f619.png
+ yum: 1f60b.png
+ stuck_out_tongue: 1f61b.png
+ stuck_out_tongue_winking_eye: 1f61c.png
+ zany_face: 1f92a.png
+ stuck_out_tongue_closed_eyes: 1f61d.png
+ money_mouth_face: 1f911.png
+ hugging_face: 1f917.png
+ face_with_hand_over_mouth: 1f92d.png
+ shushing_face: 1f92b.png
+ thinking_face: 1f914.png
+ zipper_mouth_face: 1f910.png
+ face_with_raised_eyebrow: 1f928.png
+ neutral_face: 1f610.png
+ expressionless: 1f611.png
+ no_mouth: 1f636.png
+ smirk: 1f60f.png
+ unamused: 1f612.png
+ face_with_rolling_eyes: 1f644.png
+ grimacing: 1f62c.png
+ lying_face: 1f925.png
+ relieved: 1f60c.png
+ pensive: 1f614.png
+ sleepy: 1f62a.png
+ drooling_face: 1f924.png
+ sleeping: 1f634.png
+ mask: 1f637.png
+ face_with_thermometer: 1f912.png
+ face_with_head_bandage: 1f915.png
+ nauseated_face: 1f922.png
+ face_vomiting: 1f92e.png
+ sneezing_face: 1f927.png
+ hot_face: 1f975.png
+ cold_face: 1f976.png
+ woozy_face: 1f974.png
+ dizzy_face: 1f635.png
+ exploding_head: 1f92f.png
+ face_with_cowboy_hat: 1f920.png
+ partying_face: 1f973.png
+ sunglasses: 1f60e.png
+ nerd_face: 1f913.png
+ face_with_monocle: 1f9d0.png
+ confused: 1f615.png
+ worried: 1f61f.png
+ slightly_frowning_face: 1f641.png
+ white_frowning_face: 2639-fe0f.png
+ open_mouth: 1f62e.png
+ hushed: 1f62f.png
+ astonished: 1f632.png
+ flushed: 1f633.png
+ pleading_face: 1f97a.png
+ frowning: 1f626.png
+ anguished: 1f627.png
+ fearful: 1f628.png
+ cold_sweat: 1f630.png
+ disappointed_relieved: 1f625.png
+ cry: 1f622.png
+ sob: 1f62d.png
+ scream: 1f631.png
+ confounded: 1f616.png
+ persevere: 1f623.png
+ disappointed: 1f61e.png
+ sweat: 1f613.png
+ weary: 1f629.png
+ tired_face: 1f62b.png
+ yawning_face: 1f971.png
+ triumph: 1f624.png
+ rage: 1f621.png
+ angry: 1f620.png
+ face_with_symbols_on_mouth: 1f92c.png
+ smiling_imp: 1f608.png
+ imp: 1f47f.png
+ skull: 1f480.png
+ skull_and_crossbones: 2620-fe0f.png
+ hankey: 1f4a9.png
+ clown_face: 1f921.png
+ japanese_ogre: 1f479.png
+ japanese_goblin: 1f47a.png
+ ghost: 1f47b.png
+ alien: 1f47d.png
+ space_invader: 1f47e.png
+ robot_face: 1f916.png
+ smiley_cat: 1f63a.png
+ smile_cat: 1f638.png
+ joy_cat: 1f639.png
+ heart_eyes_cat: 1f63b.png
+ smirk_cat: 1f63c.png
+ kissing_cat: 1f63d.png
+ scream_cat: 1f640.png
+ crying_cat_face: 1f63f.png
+ pouting_cat: 1f63e.png
+ see_no_evil: 1f648.png
+ hear_no_evil: 1f649.png
+ speak_no_evil: 1f64a.png
+ kiss: 1f48b.png
+ love_letter: 1f48c.png
+ cupid: 1f498.png
+ gift_heart: 1f49d.png
+ sparkling_heart: 1f496.png
+ heartpulse: 1f497.png
+ heartbeat: 1f493.png
+ revolving_hearts: 1f49e.png
+ two_hearts: 1f495.png
+ heart_decoration: 1f49f.png
+ heavy_heart_exclamation_mark_ornament: 2763-fe0f.png
+ broken_heart: 1f494.png
+ heart: 2764-fe0f.png
+ orange_heart: 1f9e1.png
+ yellow_heart: 1f49b.png
+ green_heart: 1f49a.png
+ blue_heart: 1f499.png
+ purple_heart: 1f49c.png
+ brown_heart: 1f90e.png
+ black_heart: 1f5a4.png
+ white_heart: 1f90d.png
+ anger: 1f4a2.png
+ boom: 1f4a5.png
+ dizzy: 1f4ab.png
+ sweat_drops: 1f4a6.png
+ dash: 1f4a8.png
+ hole: 1f573-fe0f.png
+ bomb: 1f4a3.png
+ speech_balloon: 1f4ac.png
+ left_speech_bubble: 1f5e8-fe0f.png
+ right_anger_bubble: 1f5ef-fe0f.png
+ thought_balloon: 1f4ad.png
+ zzz: 1f4a4.png
diff --git a/assets/data/social.yaml b/assets/data/social.yml
index 007a441..007a441 100644
--- a/assets/data/social.yaml
+++ b/assets/data/social.yml
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 480d05f..15d5e02 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -873,6 +873,13 @@ enableEmoji = true
highlight = true
enableQQ = false
serverURLs = ""
+ # emoji config file name, default is "google.yml"
+ # ("apple.yml", "google.yml", "facebook.yml", "twitter.yml")
+ # located in "assets/data/emoji/" directory, where you can put your config file
+ # emoji 配置文件名称, 默认是 "facebook.yml"
+ # ("apple.yml", "google.yml", "facebook.yml", "twitter.yml")
+ # 位于 "assets/data/emoji/" 目录, 你可以在此存放你自己的配置文件
+ emoji = ""
# Facebook comment config (https://developers.facebook.com/docs/plugins/comments)
# Facebook 评论系统设置 (https://developers.facebook.com/docs/plugins/comments)
[params.page.comment.facebook]
diff --git a/exampleSite/content/posts/theme-documentation-basics.en.md b/exampleSite/content/posts/theme-documentation-basics.en.md
index eeaf8fc..32671d5 100644
--- a/exampleSite/content/posts/theme-documentation-basics.en.md
+++ b/exampleSite/content/posts/theme-documentation-basics.en.md
@@ -513,6 +513,10 @@ Please open the code block below to view the complete sample configuration :(far
highlight = true
enableQQ = false
serverURLs = ""
+ # {{< version 0.2.6 >}} emoji config file name, default is "facebook.yml"
+ # ("apple.yml", "google.yml", "facebook.yml", "twitter.yml")
+ # located in "assets/data/emoji/" directory, where you can put your config file
+ emoji = ""
# {{< link "https://developers.facebook.com/docs/plugins/comments" "Facebook comment" >}} config
[params.page.comment.facebook]
enable = false
@@ -849,6 +853,9 @@ In `config/css/_custom.scss`, you can add some css style code to customize the s
| 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): |
+| 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): |
### 4.2 Basic Configuration
diff --git a/exampleSite/content/posts/theme-documentation-basics.fr.md b/exampleSite/content/posts/theme-documentation-basics.fr.md
index 255b2e6..d749462 100644
--- a/exampleSite/content/posts/theme-documentation-basics.fr.md
+++ b/exampleSite/content/posts/theme-documentation-basics.fr.md
@@ -518,6 +518,10 @@ Please open the code block below to view the complete sample configuration :(far
highlight = true
enableQQ = false
serverURLs = ""
+ # {{< version 0.2.6 >}} emoji config file name, default is "facebook.yml"
+ # ("apple.yml", "google.yml", "facebook.yml", "twitter.yml")
+ # located in "assets/data/emoji/" directory, where you can put your config file
+ emoji = ""
# {{< link "https://developers.facebook.com/docs/plugins/comments" "Facebook comment" >}} config
[params.page.comment.facebook]
enable = false
@@ -854,6 +858,8 @@ In `config/css/_custom.scss`, you can add some css style code to customize the s
| 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): |
### 4.2 Basic Configuration
diff --git a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md b/exampleSite/content/posts/theme-documentation-basics.zh-cn.md
index 41ad1f3..aec55c4 100644
--- a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md
+++ b/exampleSite/content/posts/theme-documentation-basics.zh-cn.md
@@ -520,6 +520,10 @@ hugo
highlight = true
enableQQ = false
serverURLs = ""
+ # {{< version 0.2.6 >}} emoji 配置文件名称, 默认是 "facebook.yml"
+ # ("apple.yml", "google.yml", "facebook.yml", "twitter.yml")
+ # 位于 "assets/data/emoji/" 目录, 你可以在此存放你自己的配置文件
+ emoji = ""
# {{< link "https://developers.facebook.com/docs/plugins/comments" "Facebook 评论系统" >}}设置
[params.page.comment.facebook]
enable = false
@@ -857,6 +861,8 @@ $code-font-family: Fira Mono, Source Code Pro, Menlo, Consolas, Monaco, monospac
| 巴西葡萄牙语 | `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): |
+| 塞尔维亚语 | `pl` | `pl` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |
### 4.2 基本配置
diff --git a/i18n/de.toml b/i18n/de.toml
new file mode 100644
index 0000000..5cf537e
--- /dev/null
+++ b/i18n/de.toml
@@ -0,0 +1,196 @@
+# Translations for German
+# Übersetzung auf Deutsch
+# https://gohugo.io/content-management/multilingual/#translation-of-strings
+
+# === baseof ==
+[backToTop]
+other = "nach oben"
+
+[viewComments]
+other = "Kommentare anzeigen"
+# === baseof ==
+
+# === Post ===
+[posts]
+other = "Artikel"
+# === Post ===
+
+# === Taxonomy ===
+[allSome]
+other = "Alle %s"
+
+[tag]
+other = "Tag"
+
+[tags]
+other = "Tags"
+
+[category]
+other = "Kategorie"
+
+[categories]
+other = "Kategorien"
+# === Taxonomy ===
+
+# === Pagination ===
+[more]
+other = "Mehr"
+# === Pagination ===
+
+# === partials/header.html ===
+[selectLanguage]
+other = "Sprache wählen"
+
+[switchTheme]
+other = "Thema wechseln"
+# === partials/header.html ===
+
+# === partials/footer.html ===
+[poweredBySome]
+other = "Ermöglicht durch %s"
+
+[theme]
+other = "Thema"
+# === partials/footer.html ===
+
+# === partials/comment.html ===
+[valineLang]
+other = "en"
+
+[valinePlaceholder]
+other = "Ihr Kommentar ..."
+
+[facebookLanguageCode]
+other = "de_DE"
+# === partials/comment.html ===
+
+# === partials/assets.html ===
+[search]
+other = "Suche"
+
+[searchPlaceholder]
+other = "Suche nach Titel und Inhalt..."
+
+[clear]
+other = "Leeren"
+
+[cancel]
+other = "Abbrechen"
+
+[noResultsFound]
+other = "Keine Ergebnisse gefunden"
+
+[lunrLanguageCode]
+other = "de"
+
+[lunrLanguageLib]
+other = "lib/lunr/lunr.de.js"
+
+[copyToClipboard]
+other = "In Zwischenablage kopieren"
+# === partials/assets.html ===
+
+# === partials/plugin/share.html ===
+[shareOn]
+other = "Teilen auf"
+# === partials/plugin/share.html ===
+
+# === posts/single.html ===
+[contents]
+other = "Inhalt"
+
+[publish]
+other = "veröffentlicht auf"
+
+[included]
+other = "enthalten in"
+
+[wordCount]
+one = "Ein Wort"
+other = "{{ .Count }} Wörter"
+
+[readingTime]
+one = "Eine Minute"
+other = "{{ .Count }} Minuten"
+
+[views]
+other = "Aufrufe"
+
+[author]
+other = "Autor"
+
+[lastMod]
+other = "Aktualisiert am %s"
+
+[license]
+other = "Veröffentlicht unter der %s Lizenz"
+
+[seeMarkdown]
+other = "Markdown anzeigen"
+
+[back]
+other = "Zurück"
+
+[home]
+other = "Startseite"
+
+[readMore]
+other = "Mehr lesen"
+# === posts/single.html ===
+
+# === 404.html ===
+[pageNotFound]
+other = "Seite nicht gefunden"
+
+[pageNotFoundText]
+other = "Leider konnte die von Ihnen angeforderte Seite nicht aufgerufen werden."
+# === 404.html ===
+
+# === shortcodes/admonition.html ===
+[note]
+other = "Notiz"
+
+[abstract]
+other = "Ausblick"
+
+[info]
+other = "Info"
+
+[tip]
+other = "Tip"
+
+[success]
+other = "Erfolg"
+
+[question]
+other = "Frage"
+
+[warning]
+other = "Warnung"
+
+[failure]
+other = "Fehler"
+
+[danger]
+other = "Gefahr"
+
+[bug]
+other = "Bug"
+
+[example]
+other = "Beispiel"
+
+[quote]
+other = "Zitat"
+# === shortcodes/admonition.html ===
+
+# === shortcodes/version.html ===
+[new]
+other = "NEU"
+
+[changed]
+other = "GEÄNDERT"
+
+[deleted]
+other = "GELÖSCHT"
+# === shortcodes/version.html ===
diff --git a/i18n/en.toml b/i18n/en.toml
index ad5e807..b9f88a8 100644
--- a/i18n/en.toml
+++ b/i18n/en.toml
@@ -79,6 +79,9 @@ other = "Cancel"
[noResultsFound]
other = "No results found"
+[lunrLanguageCode]
+other = "en"
+
[copyToClipboard]
other = "Copy to clipboard"
# === partials/assets.html ===
diff --git a/i18n/es.toml b/i18n/es.toml
index f40889c..64e3dbc 100644
--- a/i18n/es.toml
+++ b/i18n/es.toml
@@ -80,12 +80,12 @@ other = "Cancelar"
[noResultsFound]
other = "No se encontraron resultados"
-[lunrLanguageLib]
-other = "lib/lunr/lunr.es.js"
-
[lunrLanguageCode]
other = "es"
+[lunrLanguageLib]
+other = "lib/lunr/lunr.es.js"
+
[copyToClipboard]
other = "Copiar al portapapeles"
# === partials/assets.html ===
diff --git a/i18n/fr.toml b/i18n/fr.toml
index 56085cd..300c72b 100644
--- a/i18n/fr.toml
+++ b/i18n/fr.toml
@@ -80,12 +80,12 @@ other = "Annuler"
[noResultsFound]
other = "Aucun résultat trouvé"
-[lunrLanguageLib]
-other = "lib/lunr/lunr.fr.js"
-
[lunrLanguageCode]
other = "fr"
+[lunrLanguageLib]
+other = "lib/lunr/lunr.fr.js"
+
[copyToClipboard]
other = "Copier dans le presse-papiers"
# === partials/assets.html ===
diff --git a/i18n/it.toml b/i18n/it.toml
index e37633b..4d79ab4 100644
--- a/i18n/it.toml
+++ b/i18n/it.toml
@@ -80,12 +80,12 @@ other = "Annulla"
[noResultsFound]
other = "Nessun risultato trovato"
-[lunrLanguageLib]
-other = "lib/lunr/lunr.it.js"
-
[lunrLanguageCode]
other = "it"
+[lunrLanguageLib]
+other = "lib/lunr/lunr.it.js"
+
[copyToClipboard]
other = "Copia negli appunti"
# === partials/assets.html ===
diff --git a/i18n/pl.toml b/i18n/pl.toml
index a487d1e..92cf05e 100644
--- a/i18n/pl.toml
+++ b/i18n/pl.toml
@@ -80,9 +80,6 @@ other = "Anuluj"
[noResultsFound]
other = "Nie znaleziono wyników"
-[lunrLanguageLib]
-other = "lib/lunr/lunr.pl.js"
-
[lunrLanguageCode]
other = "pl"
diff --git a/i18n/pt-BR.toml b/i18n/pt-BR.toml
index 2931cc9..6c9856e 100644
--- a/i18n/pt-BR.toml
+++ b/i18n/pt-BR.toml
@@ -80,12 +80,12 @@ other = "Cancelar"
[noResultsFound]
other = "Nenhum resultado encontrado"
-[lunrLanguageLib]
-other = "lib/lunr/lunr.pt.js"
-
[lunrLanguageCode]
other = "pt"
+[lunrLanguageLib]
+other = "lib/lunr/lunr.pt.js"
+
[copyToClipboard]
other = "Copiar para a área de transferência"
# === partials/assets.html ===
diff --git a/i18n/sr.toml b/i18n/sr.toml
new file mode 100644
index 0000000..118f32c
--- /dev/null
+++ b/i18n/sr.toml
@@ -0,0 +1,191 @@
+# Translations for Serbian
+# Превод на Српски
+# https://gohugo.io/content-management/multilingual/#translation-of-strings
+
+# === baseof ==
+[backToTop]
+other = "Назад на Врх"
+
+[viewComments]
+other = "Погледај Коментаре"
+# === baseof ==
+
+# === Post ===
+[posts]
+other = "Постови"
+# === Post ===
+
+# === Taxonomy ===
+[allSome]
+other = "Све %s"
+
+[tag]
+other = "Таг"
+
+[tags]
+other = "Тагови"
+
+[category]
+other = "Категорија"
+
+[categories]
+other = "Категорије"
+# === Taxonomy ===
+
+# === Pagination ===
+[more]
+other = "Више"
+# === Pagination ===
+
+# === partials/header.html ===
+[selectLanguage]
+other = "Изабери Језик"
+
+[switchTheme]
+other = "Промени Тему"
+# === partials/header.html ===
+
+# === partials/footer.html ===
+[poweredBySome]
+other = "Покреће %s"
+
+[theme]
+other = "Тема"
+# === partials/footer.html ===
+
+# === partials/comment.html ===
+[valineLang]
+other = "sr"
+
+[valinePlaceholder]
+other = "Ваш коментар ..."
+
+[facebookLanguageCode]
+other = "sr_RS"
+# === partials/comment.html ===
+
+# === partials/assets.html ===
+[search]
+other = "Претрага"
+
+[searchPlaceholder]
+other = "Претражи наслове или садржај..."
+
+[clear]
+other = "Очисти"
+
+[cancel]
+other = "Поништи"
+
+[noResultsFound]
+other = "Без резултата"
+
+[lunrLanguageCode]
+other = "sr"
+
+[copyToClipboard]
+other = "Копирај на радну таблу"
+# === partials/assets.html ===
+
+# === partials/plugin/share.html ===
+[shareOn]
+other = "Подели на"
+# === partials/plugin/share.html ===
+
+# === posts/single.html ===
+[contents]
+other = "Садржаји"
+
+[publish]
+other = "објављено"
+
+[included]
+other = "укључено"
+
+[wordCount]
+other = "око {{ .Count }} речи"
+
+[readingTime]
+other = "{{ .Count }} мин"
+
+[views]
+other = "прегледа"
+
+[author]
+other = "Аутор"
+
+[lastMod]
+other = "Чланак је обновљен %s"
+
+[license]
+other = "Објављено под условима %s лиценце"
+
+[seeMarkdown]
+other = "Читај Markdown"
+
+[back]
+other = "Назад"
+
+[home]
+other = "Почетна"
+
+[readMore]
+other = "Прочитај више"
+# === posts/single.html ===
+
+# === 404.html ===
+[pageNotFound]
+other = "Страница није пронађена"
+
+[pageNotFoundText]
+other = "Страница коју тражите не постоји. Жао нам је."
+# === 404.html ===
+
+# === shortcodes/admonition.html ===
+[note]
+other = "Напомена"
+
+[abstract]
+other = "Сажетак"
+
+[info]
+other = "Инфо"
+
+[tip]
+other = "Савет"
+
+[success]
+other = "Успех"
+
+[question]
+other = "Питање"
+
+[warning]
+other = "Упозорење"
+
+[failure]
+other = "Неуспех"
+
+[danger]
+other = "Опасност"
+
+[bug]
+other = "Грешка"
+
+[example]
+other = "Пример"
+
+[quote]
+other = "Цитат"
+# === shortcodes/admonition.html ===
+
+# === shortcodes/version.html ===
+[new]
+other = "НОВО"
+
+[changed]
+other = "ПРОМЕЊЕНО"
+
+[deleted]
+other = "ОБРИСАНО"
+# === shortcodes/version.html ===
diff --git a/i18n/zh-CN.toml b/i18n/zh-CN.toml
index cd7521c..67f19da 100644
--- a/i18n/zh-CN.toml
+++ b/i18n/zh-CN.toml
@@ -80,11 +80,14 @@ other = "取消"
[noResultsFound]
other = "没有找到结果"
+[lunrLanguageCode]
+other = "zh"
+
[lunrLanguageLib]
other = "lib/lunr/lunr.zh.js"
-[lunrLanguageCode]
-other = "zh"
+[lunrSegmentitLib]
+other = "lib/lunr/lunr.segmentit.js"
[copyToClipboard]
other = "复制到剪贴板"
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index b08da4a..a196159 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -10,7 +10,7 @@
{{- end -}}
{{- $params := .Params | merge .Site.Params.page -}}
-{{- .Scratch.Set "version" "0.2.5" -}}
+{{- .Scratch.Set "version" "0.2.6" -}}
{{- if eq hugo.Environment "production" -}}
{{- .Scratch.Set "cdn" .Site.Params.cdn -}}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 9f23ce8..c14337b 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -17,5 +17,8 @@
<div class="content" id="content">
{{- dict "content" .Content "ruby" $params.ruby "fraction" $params.fraction "fontawesome" $params.fontawesome | partial "function/content.html" | safeHTML -}}
</div>
+
+ {{- /* Comment */ -}}
+ {{- partial "comment.html" . -}}
</div>
{{- end -}}
diff --git a/layouts/partials/assets.html b/layouts/partials/assets.html
index cad8f1f..edb52c8 100644
--- a/layouts/partials/assets.html
+++ b/layouts/partials/assets.html
@@ -19,10 +19,10 @@
{{- end -}}
{{- $source := $cdn.lunrJS | default "lib/lunr/lunr.min.js" -}}
{{- dict "source" $source "fingerprint" $fingerprint | dict "scratch" $.Scratch "data" | partial "scratch/script.html" -}}
- {{- if ne .Language.Lang "en" -}}
+ {{- if T "lunrLanguageLib" -}}
{{- $config = T "lunrLanguageCode" | dict "lunrLanguageCode" | dict "search" | merge $config -}}
- {{- if eq .Language.Lang "zh-cn" -}}
- {{- $config = dict "lunrSegmentitURL" (resources.Get "lib/lunr/lunr.segmentit.js").RelPermalink | dict "search" | merge $config -}}
+ {{- with T "lunrSegmentitLib" -}}
+ {{- $config = dict "lunrSegmentitURL" (resources.Get .).RelPermalink | dict "search" | merge $config -}}
{{- end -}}
{{- dict "source" "lib/lunr/lunr.stemmer.support.js" "minify" true "fingerprint" $fingerprint | dict "scratch" $.Scratch "data" | partial "scratch/script.html" -}}
{{- dict "source" (T "lunrLanguageLib") "minify" true "fingerprint" $fingerprint | dict "scratch" $.Scratch "data" | partial "scratch/script.html" -}}
diff --git a/layouts/partials/comment.html b/layouts/partials/comment.html
index fac888e..71ea677 100644
--- a/layouts/partials/comment.html
+++ b/layouts/partials/comment.html
@@ -50,6 +50,7 @@
{{- with $valine.serverURLs -}}
{{- $commentConfig = dict "serverURLs" . | dict "valine" | merge $commentConfig -}}
{{- end -}}
+ {{- $commentConfig = $valine.emoji | default "facebook.yml" | printf "data/emoji/%s" | resources.Get | transform.Unmarshal | dict "valine" | merge $commentConfig -}}
<noscript>
Please enable JavaScript to view the comments powered by <a href="https://valine.js.org/">Valine</a>.
</noscript>
diff --git a/layouts/partials/home/profile.html b/layouts/partials/home/profile.html
index 427ba8c..4563e19 100644
--- a/layouts/partials/home/profile.html
+++ b/layouts/partials/home/profile.html
@@ -41,7 +41,7 @@
{{- if $profile.social -}}
<div class="social-links">
- {{- $socialMap := resources.Get "data/social.yaml" | transform.Unmarshal -}}
+ {{- $socialMap := resources.Get "data/social.yml" | transform.Unmarshal -}}
{{- $socialArr := slice -}}
{{- range $key, $value := .Site.Params.social -}}
{{- $social := $key | lower | index $socialMap | default dict -}}
diff --git a/layouts/shortcodes/style.html b/layouts/shortcodes/style.html
index 3e1e999..4ac5f60 100644
--- a/layouts/shortcodes/style.html
+++ b/layouts/shortcodes/style.html
@@ -4,7 +4,8 @@
{{- printf `<%s id="%s">%s</%s>` $tag $id $content $tag | safeHTML -}}
{{- $style := .Get 0 | printf "#%s{%s}" $id -}}
-{{- $res := resources.FromString (printf "stype/%s.scss" $id) $style -}}
-{{- $res = $res | toCSS (dict "targetPath" (printf "stype/%s.css" $id)) -}}
+{{- $path := printf "style/%s/%s" (md5 .Page.RelPermalink) $id -}}
+{{- $res := resources.FromString (printf "%s.scss" $path) $style -}}
+{{- $res = $res | toCSS (dict "targetPath" (printf "%s.css" $path)) -}}
{{- $styleArr := (.Page.Scratch.Get "this").styleArr | default slice -}}
{{- $styleArr | append $res.Content | .Page.Scratch.SetInMap "this" "styleArr" -}}
diff --git a/resources/_gen/assets/scss/stype/id-1.scss_ff2a8d7d59c25f259218399bceecc7ea.content b/resources/_gen/assets/scss/style/06219b515bd3039bce88e4417e803b29/id-1.scss_3bfbc84092731480b8d374981b54d253.content
index 4705b8a..4705b8a 100644
--- a/resources/_gen/assets/scss/stype/id-1.scss_ff2a8d7d59c25f259218399bceecc7ea.content
+++ b/resources/_gen/assets/scss/style/06219b515bd3039bce88e4417e803b29/id-1.scss_3bfbc84092731480b8d374981b54d253.content
diff --git a/resources/_gen/assets/scss/style/06219b515bd3039bce88e4417e803b29/id-1.scss_3bfbc84092731480b8d374981b54d253.json b/resources/_gen/assets/scss/style/06219b515bd3039bce88e4417e803b29/id-1.scss_3bfbc84092731480b8d374981b54d253.json
new file mode 100644
index 0000000..a1d0304
--- /dev/null
+++ b/resources/_gen/assets/scss/style/06219b515bd3039bce88e4417e803b29/id-1.scss_3bfbc84092731480b8d374981b54d253.json
@@ -0,0 +1 @@
+{"Target":"style/06219b515bd3039bce88e4417e803b29/id-1.css","MediaType":"text/css","Data":{}} \ No newline at end of file
diff --git a/resources/_gen/assets/scss/style/2d4250d7b4edf7b7647e94cfdc183b86/id-1.scss_e5494f82a408608c874431b5dcdb4f1e.content b/resources/_gen/assets/scss/style/2d4250d7b4edf7b7647e94cfdc183b86/id-1.scss_e5494f82a408608c874431b5dcdb4f1e.content
new file mode 100644
index 0000000..4705b8a
--- /dev/null
+++ b/resources/_gen/assets/scss/style/2d4250d7b4edf7b7647e94cfdc183b86/id-1.scss_e5494f82a408608c874431b5dcdb4f1e.content
@@ -0,0 +1,2 @@
+#id-1 img {
+ height: 1.25rem; }
diff --git a/resources/_gen/assets/scss/style/2d4250d7b4edf7b7647e94cfdc183b86/id-1.scss_e5494f82a408608c874431b5dcdb4f1e.json b/resources/_gen/assets/scss/style/2d4250d7b4edf7b7647e94cfdc183b86/id-1.scss_e5494f82a408608c874431b5dcdb4f1e.json
new file mode 100644
index 0000000..349e487
--- /dev/null
+++ b/resources/_gen/assets/scss/style/2d4250d7b4edf7b7647e94cfdc183b86/id-1.scss_e5494f82a408608c874431b5dcdb4f1e.json
@@ -0,0 +1 @@
+{"Target":"style/2d4250d7b4edf7b7647e94cfdc183b86/id-1.css","MediaType":"text/css","Data":{}} \ No newline at end of file
diff --git a/resources/_gen/assets/scss/style/2f6a44c07cd36aed63db163b9f515d63/id-1.scss_4bcd2a22db7c9ce77fc96c1aa4d683bd.content b/resources/_gen/assets/scss/style/2f6a44c07cd36aed63db163b9f515d63/id-1.scss_4bcd2a22db7c9ce77fc96c1aa4d683bd.content
new file mode 100644
index 0000000..eeea194
--- /dev/null
+++ b/resources/_gen/assets/scss/style/2f6a44c07cd36aed63db163b9f515d63/id-1.scss_4bcd2a22db7c9ce77fc96c1aa4d683bd.content
@@ -0,0 +1,2 @@
+#id-1 {
+ text-align: right; }
diff --git a/resources/_gen/assets/scss/style/2f6a44c07cd36aed63db163b9f515d63/id-1.scss_4bcd2a22db7c9ce77fc96c1aa4d683bd.json b/resources/_gen/assets/scss/style/2f6a44c07cd36aed63db163b9f515d63/id-1.scss_4bcd2a22db7c9ce77fc96c1aa4d683bd.json
new file mode 100644
index 0000000..4f99983
--- /dev/null
+++ b/resources/_gen/assets/scss/style/2f6a44c07cd36aed63db163b9f515d63/id-1.scss_4bcd2a22db7c9ce77fc96c1aa4d683bd.json
@@ -0,0 +1 @@
+{"Target":"style/2f6a44c07cd36aed63db163b9f515d63/id-1.css","MediaType":"text/css","Data":{}} \ No newline at end of file
diff --git a/resources/_gen/assets/scss/style/387e497be0b7dbdc903468dec88ce042/id-1.scss_66d6eb926874a089016353786f28e165.content b/resources/_gen/assets/scss/style/387e497be0b7dbdc903468dec88ce042/id-1.scss_66d6eb926874a089016353786f28e165.content
new file mode 100644
index 0000000..eeea194
--- /dev/null
+++ b/resources/_gen/assets/scss/style/387e497be0b7dbdc903468dec88ce042/id-1.scss_66d6eb926874a089016353786f28e165.content
@@ -0,0 +1,2 @@
+#id-1 {
+ text-align: right; }
diff --git a/resources/_gen/assets/scss/style/387e497be0b7dbdc903468dec88ce042/id-1.scss_66d6eb926874a089016353786f28e165.json b/resources/_gen/assets/scss/style/387e497be0b7dbdc903468dec88ce042/id-1.scss_66d6eb926874a089016353786f28e165.json
new file mode 100644
index 0000000..b6df739
--- /dev/null
+++ b/resources/_gen/assets/scss/style/387e497be0b7dbdc903468dec88ce042/id-1.scss_66d6eb926874a089016353786f28e165.json
@@ -0,0 +1 @@
+{"Target":"style/387e497be0b7dbdc903468dec88ce042/id-1.css","MediaType":"text/css","Data":{}} \ No newline at end of file
diff --git a/resources/_gen/assets/scss/style/409594da26069e6252388311312abfd5/id-1.scss_78b750e0fe281aa9b91566ae181c2e40.content b/resources/_gen/assets/scss/style/409594da26069e6252388311312abfd5/id-1.scss_78b750e0fe281aa9b91566ae181c2e40.content
new file mode 100644
index 0000000..b50337c
--- /dev/null
+++ b/resources/_gen/assets/scss/style/409594da26069e6252388311312abfd5/id-1.scss_78b750e0fe281aa9b91566ae181c2e40.content
@@ -0,0 +1,4 @@
+#id-1 {
+ text-align: right; }
+ #id-1 strong {
+ color: #00b1ff; }
diff --git a/resources/_gen/assets/scss/style/409594da26069e6252388311312abfd5/id-1.scss_78b750e0fe281aa9b91566ae181c2e40.json b/resources/_gen/assets/scss/style/409594da26069e6252388311312abfd5/id-1.scss_78b750e0fe281aa9b91566ae181c2e40.json
new file mode 100644
index 0000000..aaf81b1
--- /dev/null
+++ b/resources/_gen/assets/scss/style/409594da26069e6252388311312abfd5/id-1.scss_78b750e0fe281aa9b91566ae181c2e40.json
@@ -0,0 +1 @@
+{"Target":"style/409594da26069e6252388311312abfd5/id-1.css","MediaType":"text/css","Data":{}} \ No newline at end of file
diff --git a/resources/_gen/assets/scss/style/7857d7858fcfb859deeb60f29672cffc/id-1.scss_0d902f60eb581fec9411dd1846631db7.content b/resources/_gen/assets/scss/style/7857d7858fcfb859deeb60f29672cffc/id-1.scss_0d902f60eb581fec9411dd1846631db7.content
new file mode 100644
index 0000000..b50337c
--- /dev/null
+++ b/resources/_gen/assets/scss/style/7857d7858fcfb859deeb60f29672cffc/id-1.scss_0d902f60eb581fec9411dd1846631db7.content
@@ -0,0 +1,4 @@
+#id-1 {
+ text-align: right; }
+ #id-1 strong {
+ color: #00b1ff; }
diff --git a/resources/_gen/assets/scss/style/7857d7858fcfb859deeb60f29672cffc/id-1.scss_0d902f60eb581fec9411dd1846631db7.json b/resources/_gen/assets/scss/style/7857d7858fcfb859deeb60f29672cffc/id-1.scss_0d902f60eb581fec9411dd1846631db7.json
new file mode 100644
index 0000000..c8a1063
--- /dev/null
+++ b/resources/_gen/assets/scss/style/7857d7858fcfb859deeb60f29672cffc/id-1.scss_0d902f60eb581fec9411dd1846631db7.json
@@ -0,0 +1 @@
+{"Target":"style/7857d7858fcfb859deeb60f29672cffc/id-1.css","MediaType":"text/css","Data":{}} \ No newline at end of file
diff --git a/resources/_gen/assets/scss/style/c17d91e847fcfcd8e30a3c3f56b6af46/id-1.scss_a7b5c907db9ad46c812c6b1bf9d871a7.content b/resources/_gen/assets/scss/style/c17d91e847fcfcd8e30a3c3f56b6af46/id-1.scss_a7b5c907db9ad46c812c6b1bf9d871a7.content
new file mode 100644
index 0000000..eeea194
--- /dev/null
+++ b/resources/_gen/assets/scss/style/c17d91e847fcfcd8e30a3c3f56b6af46/id-1.scss_a7b5c907db9ad46c812c6b1bf9d871a7.content
@@ -0,0 +1,2 @@
+#id-1 {
+ text-align: right; }
diff --git a/resources/_gen/assets/scss/style/c17d91e847fcfcd8e30a3c3f56b6af46/id-1.scss_a7b5c907db9ad46c812c6b1bf9d871a7.json b/resources/_gen/assets/scss/style/c17d91e847fcfcd8e30a3c3f56b6af46/id-1.scss_a7b5c907db9ad46c812c6b1bf9d871a7.json
new file mode 100644
index 0000000..43fa776
--- /dev/null
+++ b/resources/_gen/assets/scss/style/c17d91e847fcfcd8e30a3c3f56b6af46/id-1.scss_a7b5c907db9ad46c812c6b1bf9d871a7.json
@@ -0,0 +1 @@
+{"Target":"style/c17d91e847fcfcd8e30a3c3f56b6af46/id-1.css","MediaType":"text/css","Data":{}} \ No newline at end of file
diff --git a/resources/_gen/assets/scss/style/f34bb62f734d1cecaa4de6a8b8efab52/id-1.scss_da37cb970ff275a236f7c8e80f90244b.content b/resources/_gen/assets/scss/style/f34bb62f734d1cecaa4de6a8b8efab52/id-1.scss_da37cb970ff275a236f7c8e80f90244b.content
new file mode 100644
index 0000000..4705b8a
--- /dev/null
+++ b/resources/_gen/assets/scss/style/f34bb62f734d1cecaa4de6a8b8efab52/id-1.scss_da37cb970ff275a236f7c8e80f90244b.content
@@ -0,0 +1,2 @@
+#id-1 img {
+ height: 1.25rem; }
diff --git a/resources/_gen/assets/scss/style/f34bb62f734d1cecaa4de6a8b8efab52/id-1.scss_da37cb970ff275a236f7c8e80f90244b.json b/resources/_gen/assets/scss/style/f34bb62f734d1cecaa4de6a8b8efab52/id-1.scss_da37cb970ff275a236f7c8e80f90244b.json
new file mode 100644
index 0000000..7fc699b
--- /dev/null
+++ b/resources/_gen/assets/scss/style/f34bb62f734d1cecaa4de6a8b8efab52/id-1.scss_da37cb970ff275a236f7c8e80f90244b.json
@@ -0,0 +1 @@
+{"Target":"style/f34bb62f734d1cecaa4de6a8b8efab52/id-1.css","MediaType":"text/css","Data":{}} \ No newline at end of file
diff --git a/resources/_gen/assets/scss/style/fb3ada7a67e15e6dfbcd8e86e0e7fb61/id-1.scss_8bcb276b6f7024fb75f6398ae3519592.content b/resources/_gen/assets/scss/style/fb3ada7a67e15e6dfbcd8e86e0e7fb61/id-1.scss_8bcb276b6f7024fb75f6398ae3519592.content
new file mode 100644
index 0000000..b50337c
--- /dev/null
+++ b/resources/_gen/assets/scss/style/fb3ada7a67e15e6dfbcd8e86e0e7fb61/id-1.scss_8bcb276b6f7024fb75f6398ae3519592.content
@@ -0,0 +1,4 @@
+#id-1 {
+ text-align: right; }
+ #id-1 strong {
+ color: #00b1ff; }
diff --git a/resources/_gen/assets/scss/style/fb3ada7a67e15e6dfbcd8e86e0e7fb61/id-1.scss_8bcb276b6f7024fb75f6398ae3519592.json b/resources/_gen/assets/scss/style/fb3ada7a67e15e6dfbcd8e86e0e7fb61/id-1.scss_8bcb276b6f7024fb75f6398ae3519592.json
new file mode 100644
index 0000000..6dba0aa
--- /dev/null
+++ b/resources/_gen/assets/scss/style/fb3ada7a67e15e6dfbcd8e86e0e7fb61/id-1.scss_8bcb276b6f7024fb75f6398ae3519592.json
@@ -0,0 +1 @@
+{"Target":"style/fb3ada7a67e15e6dfbcd8e86e0e7fb61/id-1.css","MediaType":"text/css","Data":{}} \ No newline at end of file
diff --git a/resources/_gen/assets/scss/stype/id-1.scss_ff2a8d7d59c25f259218399bceecc7ea.json b/resources/_gen/assets/scss/stype/id-1.scss_ff2a8d7d59c25f259218399bceecc7ea.json
deleted file mode 100644
index 57e277f..0000000
--- a/resources/_gen/assets/scss/stype/id-1.scss_ff2a8d7d59c25f259218399bceecc7ea.json
+++ /dev/null
@@ -1 +0,0 @@
-{"Target":"stype/id-1.css","MediaType":"text/css","Data":{}} \ No newline at end of file