Commit Graph

99 Commits

Author SHA1 Message Date
Cell e482fbe36a Chore: optimize .Resources variable acquisition in function resources.html 2023-12-31 00:46:51 +08:00
Cell de5fd0c3f7 🚚 Feat: migarte params.cacheRemoteImages to params.page.cacheRemoteImages (#362) 2023-12-30 23:26:08 +08:00
Cell 07756a8c34 Perf: placed remote image in public/images instead of public/ 2023-12-30 21:56:22 +08:00
Cell 2ebc77797c 🚚 Chore: migrate svg to assets/images folder 2023-12-29 21:40:24 +08:00
Cell 1121c9df57 🚸 Feat: change bilibili shortcode muted default value 2023-11-07 10:06:38 +08:00
Cell 4e29d5e5ca Feat: add more options support for bilibili shortcode, e.g. autoplay, muted etc. (resolve #375) 2023-11-06 17:56:44 +08:00
Cell 4fb9711fa6 🐛 Fix: add a option "Responsive" for plugin image fixed #369 2023-11-04 23:59:00 +08:00
Cell a631096b29 Feat: add options to cache remote image locally (#362 Fixes #348) 2023-10-26 16:51:40 +08:00
Cell 0ac4c06d66 ♻️ Refactor(reward): add parameter mode for post reward and refactor shortcode reward 2023-03-26 00:03:35 +08:00
Cell 433c631110 Feat: add loop paramter for typeit and update typeit from 8.7.0 to 8.7.1 2023-03-09 13:08:18 +08:00
Cell 934c57cdff ♻️ Refactor: image lazy loading
Fixes #283
2023-02-10 17:40:01 +08:00
Cell 48dc34cf11 ♻️ Refactor(i18n): hierarchize translation fields for supported languages 2023-01-02 13:31:27 +08:00
Cell 256c324bff Feat: add reward shortcode support (#216) 2022-10-28 22:07:31 +08:00
Cell 8db7727897 ♻️ Refactor: version.template.svg 2022-09-15 14:43:13 +08:00
Cell d2239acbb7 🐛 Fix: typeit shortcode prints consecutive spaces and newline errors 2022-09-03 21:49:51 +08:00
Cell 781e7d466f Feat: add optional parameter noreferrer for the shortcode link 2022-08-31 17:16:45 +08:00
Cell 10b530abe1 Feat(accessibility): use aria-hidden=true on icons that AT should ignore 2022-08-28 16:54:44 +08:00
Cell fe03e7b904 Feat: add raw shortcode 2022-08-28 01:01:00 +08:00
Cell dcd93f7c6c 🎨 Style: add single newline at end of the file 2022-08-27 20:07:56 +08:00
Abdul Halim Daud cd036e5625 fix center-quote shortcode when config unsafe = false
when config unsafe = false, center-quote without markdown works but shortcode with markdown doesn't work.

the following doesn't work when unsafe = false:
```
{{% center-quote %}}
**hello** *world*
this is a center-quote shortcode example.
{{% /center-quote %}}
```

with this fix, the following works with markdown when unsafe = false:
```
{{< center-quote >}}
**hello** *world*
this is a center-quote shortcode example.
{{< /center-quote >}}
```
2022-08-27 20:01:10 +08:00
Cell 243706ebfb 🐛 Fix: add function doc2unix to unify new lines symbol between Windows and Unix/Mac OS 2022-08-05 23:57:36 +08:00
Cell b9368668e4 🚚 Feat: ransfer repository from Lruihao to hugo-fixit 2022-08-02 16:37:33 +08:00
Cell e8a27da175 📝 Feat: change version shortcode alt 2022-07-23 14:09:14 +08:00
Abdul Halim Daud 48da281259 fix typo rel noreferrer
There are typos in the rel attribute. It should be [noreferrer](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/noreferrer) instead of [noreffer](https://github.com/Lruihao/FixIt/search?q=noreffer).
2022-07-17 23:31:20 +08:00
Cell def5f4ec75 Perf: optimize fixit-encryptor shortcode and add documentations for it (#123) 2022-07-02 13:52:04 +08:00
Cell ef9063febe 🎉 Feat: add shortcode fixit-encryptor shortcode (#123) 2022-07-02 02:26:01 +08:00
Cell c2e515b457 🎉 Feat: add shortcode fixit-encryptor template (#123) 2022-06-13 10:35:20 +08:00
Cell 791ff12e70 🔧 Chore: use fontawesome 6 2022-05-16 17:10:20 +08:00
Cell bc41ae5503 📝 Docs: update shortcodes documentations and add test examples (#102 #105) 2022-05-14 12:56:00 +08:00
Cell 1e20aaedab Perf: use .RenderString instead of markdownify (#105) 2022-05-14 12:54:33 +08:00
Cell 9f47e608ef Feat: link shortcode add external-icon option (#96) 2022-04-12 12:43:16 +08:00
Cell 754547f113 Feat: add external icon for external links automatically (#96) 2022-04-11 14:37:45 +08:00
Cell 8b62b5c0b3 Feat: add center-quote shortcode (#69) 2022-03-07 23:48:34 +08:00
Cell 64204fd11e Feat: add markdown support for 'title' parameter of the admonition shortcode 2022-02-25 21:10:45 +08:00
Cell 4c4398ed5e Feat: add details shortcode (#68) 2022-02-25 20:54:07 +08:00
Cell 381f26a16d 🔥 Feat: remove shortcode cardlink 2022-02-07 15:28:35 +08:00
Cell 01a39691b9 🐛 Fix: shortcode link without Icon 2022-01-19 01:08:24 +08:00
Cell b0413227db Perf: merge cardlink shortcode (deprecated v0.2.13) into link shortcode and add 'download' param (#42) 2022-01-14 16:17:10 +08:00
Cell 177487cd91 🐛 Fix: typeit print code error (#19) 2022-01-13 21:01:52 +08:00
Cell 2e54fd70fb 🎨 Style: tabsize 4 => 2 2022-01-11 12:39:25 +08:00
Cell 94e22bffd7 🔧 Chore: replace titles and names 2021-12-28 20:56:55 +08:00
Cell d01e1f06a9 Feat: add cardlink shoretcode (https://github.com/Lruihao/hugo-blog/commit/df9eca26af43287748fd8d4654014357a8269b0b) 2021-12-19 16:48:16 +08:00
Dillon aa48df5edd feat(content): support complete local resource references (#388) 2020-05-28 17:05:37 +08:00
Dillon 8f53c999e5 chore: refactor some code 2020-05-18 21:30:33 +08:00
Dillon 9c1244490f i18n: update i18n string format (#371) 2020-05-18 16:10:24 +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 df6761f649 fix(typeit): typeit shortcode newline error (#330) 2020-05-07 01:16:45 +08:00
Dillon f4c9fe750d fix(shortcode): style shortcode scss file path (#327) 2020-05-06 21:31:37 +08:00
Dillon 4190c79491 fix(hugo): compatibility for Hugo basic version (#315) 2020-05-04 15:19:18 +08:00