Commit graph

375 commits

Author SHA1 Message Date
Dillon
c17b7a1ffc
Merge pull request #521 from rsrchboy/fix-rss-authors
`.params` -> `$params`
2022-05-02 17:00:59 +08:00
weibin
e12ad76790 title support emoji 2022-03-22 21:03:45 +08:00
weibin
765b28f663 title support emoji 2022-03-22 11:19:05 +08:00
weibin
faa7a679fa title support emoji 2022-03-22 11:08:30 +08:00
Dastan Abd
56d01049ba feat: Add yandex metrika tracking code 2021-12-06 20:25:32 +06:00
Khusika Dhamar Gusti
3649382c34 fix(home): Don't use div element inside heading
This error appears when we use typeit (with div element) in home-subtitle (with heading element).
PS: We don't need to re-set the class because home-subtitle has already declared the font-size in the style.

Partially fixes: #401

Signed-off-by: Khusika Dhamar Gusti <mail@khusika.com>
2020-11-28 09:54:29 +07:00
Khusika Dhamar Gusti
9151f85ce9 fix(toc): Use data attributes for toc
Partially fixes: #401

Signed-off-by: Khusika Dhamar Gusti <mail@khusika.com>
2020-11-27 18:42:42 +07:00
Khusika Dhamar Gusti
1281b13109 fix(header): Use data attributes for header mode
Partially fixes: #401

Signed-off-by: Khusika Dhamar Gusti <mail@khusika.com>
2020-11-26 16:46:31 +07:00
Khusika Dhamar Gusti
fbceb4ad5d fix(index): Use data attributes for home.posts
Partially fixes: #401

Signed-off-by: Khusika Dhamar Gusti <mail@khusika.com>
2020-11-26 09:23:46 +07:00
Christian Oliff
74c90db9c4 fix(base): Remove unneeded meta tag
```html
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
```
This was only needed for IE10 and lower (which are no longer supported) and chromeframe which was a Google plugin for IE8 and lower and was discontinued many years ago. So this meta tag can be safely removed.

Partially fixes: #401

Signed-off-by: Khusika Dhamar Gusti <mail@khusika.com>
2020-11-25 14:21:32 +07:00
Khusika Dhamar Gusti
d7f6344d00 fix(footer): Define itemtype property
The properties copyrightYear and copyrightHolder refer to the nearest parent CreativeWork.
https://schema.org/CreativeWork

Partially fixes: #401

Signed-off-by: Khusika Dhamar Gusti <mail@khusika.com>
2020-11-24 09:52:39 +07:00
Khusika Dhamar Gusti
89d344074a feat(home): allow HTML format in subtitle
Signed-off-by: Khusika Dhamar Gusti <mail@khusika.com>
2020-11-02 19:28:07 +07:00
Khusika Dhamar Gusti
8eb46b216d fix(footer): Guard post-info-license
Show license information if it is mentioned in the markdown.

Signed-off-by: Khusika Dhamar Gusti <mail@khusika.com>
2020-11-02 19:21:22 +07:00
Chris Weyl
8073888dd8 .params -> $params
This was causing the authors of all RSS items to render as "Author".
2020-09-17 12:01:48 -05:00
Evgeny Kuznetsov
3249f108da
fix(function): error with newer Hugo versions 2020-09-14 20:14:41 +03:00
Nimrod Gutman
3807bf5915
add support for Plausible Analytics 2020-07-17 12:15:40 +03:00
Khusika Dhamar Gusti
c069c4d2e0 fix(header): Use search-dropdown if search is enabled
Signed-off-by: Khusika Dhamar Gusti <mail@khusika.com>
2020-07-16 10:06:26 +07:00
Matt Esch
01de8bace7 inline telegram script 2020-06-24 11:49:51 +01:00
Evgeny Kuznetsov
dff364c0bb
also support nicknames 2020-06-12 10:11:45 +03:00
Evgeny Kuznetsov
49d6a58a2f
feat(shortcode): person
css

allow named params

document
2020-06-12 09:36:02 +03:00
Dillon
89a526d693
feat(SEO): update SEO config (#393) 2020-05-29 11:11:21 +08:00
Andrea Carratta
2242e0c3c7
feat(sitemap): improve priority (#392)
Co-authored-by: Dillon <dillonzq@outlook.com>
2020-05-29 11:09:06 +08:00
Dillon
f631e3de04
fix(404): 404 page select language error (#391) 2020-05-29 00:19:39 +08:00
Dillon
aa48df5edd
feat(content): support complete local resource references (#388) 2020-05-28 17:05:37 +08:00
Dillon
94b8e6bf69 chore: update version to v0.2.10 2020-05-24 16:15:39 +08:00
Dillon
9dd5230204
feat(TOC): add keepStatic param for TOC (#372) 2020-05-18 22:27:01 +08:00
Dillon
8f53c999e5 chore: refactor some code 2020-05-18 21:30:33 +08:00
W.T. Chang
e5ae1d696b
fix(path): broken tag/category link when containing a dot (#368) 2020-05-18 17:30:37 +08:00
Dillon
9c1244490f
i18n: update i18n string format (#371) 2020-05-18 16:10:24 +08:00
Ghosin
36f59a72ee
fix(rss): fix self atom:link. (#363) 2020-05-16 00:49:47 +08:00
Dillon
acef6c143e
fix(format): string format error (#366) 2020-05-16 00:46:51 +08:00
Dillon
212e26c553 chore(icon): update line icon 2020-05-15 20:24:23 +08:00
Dillon
da9df3b0ce
feat(style): change custom style file path (#360) 2020-05-15 19:05:16 +08:00
Dillon
c6733538dc chore(shortcode): make style shortcode toCSS outputStyle compressed 2020-05-15 17:48:03 +08:00
Dillon
d3d2d751ec
feat(shortcode): add script shortcode (#359) 2020-05-15 17:43:04 +08:00
Dillon
c5a0ec61c9 feat(compatibility): add config for compatibility (Polyfill.io and object-fit-images) 2020-05-15 16:32:36 +08:00
Dillon
3fba585d79 fix(style): add spaces for some icons 2020-05-14 16:14:14 +08:00
Dillon
486d859cc8
feat(page): add custom page library support (css and js) (#357) 2020-05-13 22:12:51 +08:00
Dillon
861350be32
feat(home): home profile title support HTML format (#356) 2020-05-13 21:33:30 +08:00
Dillon
0a9ec97450
feat(cookies): add Cookie consent banner (#355) 2020-05-13 21:19:39 +08:00
Dillon
8d491509e0
fix(social): social links blocked by uBlock Origin (#354) 2020-05-13 19:35:46 +08:00
Dillon
39159a9a6d
feat(CDN): replace CDN config with CDN data file (#353) 2020-05-13 19:29:37 +08:00
Dillon
762a7e538d
feat(compatibility): improve compatibility for Hugo basic version (#352) 2020-05-13 00:45:19 +08:00
Dillon
6aa05a7f3e fix(featuredImage): featuredImagePreview doesn't work by itself 2020-05-12 22:51:48 +08:00
Dillon
7c4962e39a
fix(compatibility): compatibility for version 0.1.X (#351) 2020-05-12 22:40:49 +08:00
Dillon
7d0603ece0
fix(paginate): paginate error for empty content (#350) 2020-05-12 21:51:38 +08:00
Dillon
83869e0fc8
feat(analytics): update Google analytics.js to gtag.js (#349) 2020-05-12 20:51:07 +08:00
Dillon
df6761f649
fix(typeit): typeit shortcode newline error (#330) 2020-05-07 01:16:45 +08:00
tomaja
87923f284c
Added Serbian translation (#324) 2020-05-06 23:50:10 +08:00
Dillon
2513afbd54
feat(comment): add comment for single page and emoji config for Valine (#328) 2020-05-06 23:11:34 +08:00
Dillon
f4c9fe750d
fix(shortcode): style shortcode scss file path (#327) 2020-05-06 21:31:37 +08:00
Dillon
7dfa964d3f
feat(comment): add Utterances comment system (#317) 2020-05-04 20:28:27 +08:00
Dave A-W
67617b82dc
feat(profile): Add optional title above subtitle (#308) 2020-05-04 16:43:47 +08:00
Dave A-W
417851b1cd
fix(menu): hide divider when no menus (#307) 2020-05-04 15:24:40 +08:00
Dillon
4190c79491
fix(hugo): compatibility for Hugo basic version (#315) 2020-05-04 15:19:18 +08:00
Dillon
e4c71edddf
feat(typeit): add some config for TypeIt (#314) 2020-05-04 13:20:01 +08:00
Dave A-W
8c706548c7
feat(header): support header title typeit (#306) 2020-05-03 11:15:42 +08:00
Dillon
09a7c95362
fix(search): theme.js error when search is disabled (#310) 2020-05-03 11:06:10 +08:00
Dillon
971eff815c
feat(search): add absoluteURL config for search index (#302) 2020-05-01 23:54:29 +08:00
Dillon
e3e3bdf9ee
feat(rss): add rssFullText param for RSS (#301) 2020-05-01 23:29:24 +08:00
Dillon
5b689bf29b
fix(title): terms title error and change delimiter from "|" to "-" (#299) 2020-05-01 16:23:17 +08:00
Dillon
4191e046d8
feat(search): improve search index by rm line number in code block (#294)) 2020-05-01 00:05:38 +08:00
Dillon
3040ffa107
feat: improve browser compatibility for TypeIt and object-fit (#293)
* object-fit polyfill
* TypeIt 7.0.3 -> 6.5.1
2020-04-30 23:21:52 +08:00
Dillon
3096ff6235
feat(search): improve search index by chunked separated by h2 and h3 (#290) 2020-04-30 03:22:52 +08:00
Dillon
108679e137 feat(search): improve search index 2020-04-30 02:44:07 +08:00
Dillon
854e9e3d37 chore(lib): update mapbox-gl and valine 2020-04-30 01:49:33 +08:00
Dillon
286bf7003c chore(style): improve lightgallery style code 2020-04-29 23:54:27 +08:00
Dillon
56026f934d
fix(typeit): typeit code highlight (#284) 2020-04-29 19:52:31 +08:00
Dillon
fa4c567ac4
fix(header): header style and search dropdown (#282) 2020-04-29 15:40:57 +08:00
Dillon
16a4e94117
feat(search): add more params for search and improve search index (#279) 2020-04-29 02:34:28 +08:00
Dillon
2ccba79cba fix: search index content htmlEscape 2020-04-28 13:01:11 +08:00
Dillon
26381b498d feat(search): improve search index 2020-04-28 12:53:06 +08:00
Dillon
12546ba9bf
feat(valine): add more params for new valine (#272) 2020-04-28 03:24:48 +08:00
Dillon
d5bc3be19d
fix(git): build panic without git (#271) 2020-04-28 02:50:05 +08:00
Dillon
6805d695f6
chore: update docs and style (#269) 2020-04-28 01:38:22 +08:00
Dillon
b46c81053f
feat(twemoji): add support for twemoji (#264) 2020-04-27 02:27:26 +08:00
Dillon
fc46fba6aa
feat(style): improve style shortcode to support nesting (#263) 2020-04-27 01:19:23 +08:00
Dave A-W
f8b84de3f8
Support favicon color theming (#260) 2020-04-26 23:58:15 +08:00
Dmitry Kireev
c4741cfecb
Add permalink to a featured images on the home page (#261)
Co-authored-by: Dillon <dillonzq@outlook.com>
2020-04-26 23:15:47 +08:00
Dillon
19c7da333d
docs: update theme preview and translation (#262) 2020-04-26 23:00:29 +08:00
Dillon
bcbc4268ea
feat(code): add support for code block folding (#259) 2020-04-26 03:25:10 +08:00
Dillon
41a92c6166
feat(style): simplify blockquote style and rm fa-fw for fontawesome syntax (#257) 2020-04-25 02:05:43 +08:00
Dillon
7ab1c10639
chore(libs): update libs (#256) 2020-04-24 23:47:47 +08:00
Nir Galon
f588881216
feat(comments): add commento.io comment system (#255) 2020-04-24 23:28:47 +08:00
Dillon
c2197b7411
feat(social): improve social links (#254)
* replace forkawesome and iconfont with simple icons
* add more configs for social
2020-04-24 19:04:37 +08:00
Dillon
87fbb05e86
feat(header): add Logo, pre and post config for header title (#252) 2020-04-23 16:49:30 +08:00
Carlos Manuel Soares
919f559fd0
fix(SEO): some bad escape sequence in JSON-LD part 2 (#202)
* fix(SEO): some bad escape sequence in JSON-LD part 2

* fix(SEO): some bad escape sequence in JSON-LD Part 2

Co-authored-by: Dillon <dillonzq@outlook.com>
2020-04-23 01:31:22 +08:00
Dillon
d90a2d9406
fix: some title case bugs for section page and list page (#251) 2020-04-23 01:22:29 +08:00
Dillon
07b669c826
feat: add social link for RSS and some configs (#250) 2020-04-22 23:58:40 +08:00
Dillon
f5fb31ec43
fix: wrong URL of JS and CSS files on baseURL (#249) 2020-04-22 21:34:38 +08:00
Dillon
3c38d54a87
feat(home): add custom content for home page (#248) 2020-04-22 17:50:30 +08:00
Dillon
a0ab272f7d
fix: fix script CORS error (#246) 2020-04-22 01:00:51 +08:00
codedge
a5d0b9a3eb
Add fathom analytics (#200)
Co-authored-by: Dillon <dillonzq@outlook.com>
2020-04-21 23:37:05 +08:00
Dillon
f14301c395
feat: improve configuration (#245)
* feat: improve configuration

* fix: fix partials/footer.html error
2020-04-21 22:55:06 +08:00
Dillon
8a0e61085c
feat(code): add copy button for code (#239) 2020-04-18 20:54:54 +08:00
Dillon
9f37d7bc2a
feat(compatibility): add polyfill.io to improve compatibility (#236) 2020-04-17 00:25:42 +08:00
Dillon
bc97c099ac
feat(lib): add normalize.css lib (#235) 2020-04-16 23:51:05 +08:00
Dillon
c56f219b3e
fix(shortcode): fix new BV id for bilibili shortcode (#232) 2020-04-15 18:30:22 +08:00
Dillon
90184ca3e7
feat(search): add local search (#231)
* feat(search): add local search

* docs: add docs for search
2020-04-15 15:46:50 +08:00
Dillon
b6ce753ae7
feat(shortcodes): add width and height params for echarts shortc… (#192) 2020-03-21 20:52:12 +08:00