Commit Graph

525 Commits

Author SHA1 Message Date
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 cd49374911 🐛 Fix: link shortcode newline 2022-08-27 18:52:05 +08:00
Cell e4ba7a346e Feat(accessibility): using aria-hidden=true on an icon font that AT should ignore 2022-08-27 14:46:34 +08:00
Cell 88a6b0e37d Feat(math): add more block delimiter support for math
import from https://github.com/dillonzq/LoveIt/commit/264dd5b9d5079d4fe2f29bc3ffa7b43fbf937336
2022-08-27 14:05:19 +08:00
Cell 1359995948 🎨 Style: add single newline at end of the file 2022-08-27 12:37:57 +08:00
Cell d27a42dab2 🐛 Fix: attribute media not allowed on element meta in [name=theme-color]
🐛 Fix: support smooth migration from LoveIt to FixIt (#174 #182)
2022-08-27 01:43:54 +08:00
Cell 913a82fe18 Perf: simplify theme switching logic 2022-08-27 01:11:00 +08:00
Cell e19b71cc6a 🎨 Style: format code 2022-08-26 23:57:42 +08:00
Cell 19f7746516 🐛 Fix: element div not allowed as child of element h2 and avoid empty heading in .home-subtitle 2022-08-26 17:46:18 +08:00
Cell 2efcf947a7 🐛 Fix: the “type” attribute is unnecessary for JavaScript resources
The default `type` for `<script>` tags is `JavaScript`, so you don’t need to include the type for JS resources.
2022-08-26 17:16:20 +08:00
Cell 55e747e5f1 🐛 Fix: the itemprop attribute was specified, but the element is not a property of any item 2022-08-26 17:00:26 +08:00
Cell 0edd185b39 🐛 Fix: use data attributes or class replace for custom attributes 2022-08-26 16:48:11 +08:00
Cell dfbffa2ad5 🐛 Fix: remove unneeded meta tag
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.
2022-08-26 15:48:16 +08:00
Cell 3f3d5aee37 🐛 Fix(footer): define itemtype property
The properties copyrightYear and copyrightHolder refer to the nearest parent CreativeWork.
https://schema.org/CreativeWork
2022-08-26 15:42:02 +08:00
Cell 84d781d6a4 Perf: init search-dropdown dom if search is enabled 2022-08-26 15:21:21 +08:00
Cell 2007fe5297 🐛 Fix(post-footer): guard post-info-license
https://github.com/dillonzq/LoveIt/pull/544
2022-08-14 22:38:01 +08:00
Cell 87156110a6 🐛 Fix: author display error in post and markdown file 2022-08-14 14:45:13 +08:00
Cell 806572a817 🔍 Feat(seo): update robots.txt 2022-08-13 16:25:35 +08:00
Cell 83a1f075ab Style: fontawesome use version 6 format 2022-08-13 15:36:32 +08:00
Cell 267a21675d Feat: add custom aside template in post page (#172) 2022-08-06 14:11:19 +08:00
Cell 08c995a295 🎨 Style: format source code 2022-08-06 13:02:39 +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 dce144e4b6 🔧 Chore: modify babel config and optimize theme.js compilation and loading 2022-08-05 17:20:05 +08:00
Cell 08374c06e8 📝 Docs: update changelog and update version to v0.2.16-RC 2022-08-04 10:40:30 +08:00
Cell 5fd4be7aea 🔖 Chore: release v0.2.15 2022-08-04 10:25:29 +08:00
Cell 65371a19a4 ♻️ Refactor: migrate theme js from src to assets by js.build 2022-08-03 11:10:49 +08:00
Cell b9368668e4 🚚 Feat: ransfer repository from Lruihao to hugo-fixit 2022-08-02 16:37:33 +08:00
Cell 2c9dabe3e8 📝 Feat: add repost URL at the end of markdown 2022-07-30 17:11:43 +08:00
Cell b731ebfacb ♻️ Refactor: change the post edit url splicing rules 2022-07-24 17:27:58 +08:00
Cell 23f13f092a 🐛 Fix: link-to-edit URL splicing error (#139) 2022-07-24 16:46:53 +08:00
Cell 5cfbc87b0f ♻️ Refactor: migrate service-worker.js to js.build 2022-07-24 16:04:49 +08:00
Cell e8a27da175 📝 Feat: change version shortcode alt 2022-07-23 14:09:14 +08:00
Cell 3b5b5b2894 Feat: add mobile devtools feature (#163) 2022-07-21 23:17:25 +08:00
Cell 495e8286bc ⚗️ Chore: preprocessing developer options 2022-07-20 20:42:01 +08:00
Cell 83baf0b0e0 Merge branch 'docs' 2022-07-20 14:03:50 +08:00
Abdul Halim Daud 858fbf3eb8 fix waline config imageUploader = false & highlighter = false
imageUploader and highlighter is still enabled even though the config is set to false because waline's default setting for imageUploader & highlighter is enabled.
to disable imageUploader and highlighter, need to explicitly specify imageUploader: false and highlighter: false in the window.config.
2022-07-20 00:22:39 +08:00
Cell 521097cec5 Perf: normalize parameter naming for developer options 2022-07-19 13:04:45 +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 624585267a Feat: add developer options 2022-07-17 15:03:23 +08:00
Cell c0346d18a7 🚚 Perf: subdivide FixIt initialization 2022-07-17 10:50:07 +08:00
Cell 53c7d5f301 Feat: get latest release version from remote 2022-07-17 01:21:24 +08:00
Cell 3ead60489d Merge branch 'feature/encryption' into v0.2.15-RC 2022-07-16 15:35:47 +08:00
Cell e62e3f1760 Feat: hide content of fixit-encryptor shortcodes from markdown source (#123) 2022-07-16 15:35:23 +08:00
Cell 35d54b22cb Feat: add repost feature (#156) 2022-07-10 18:21:35 +08:00
Cell 46eefcebbc Perf: optimize keywords meta generation code 2022-07-10 15:03:14 +08:00
Cell 01b1d40d6c Feat: add Mermaid config 2022-07-10 14:51:34 +08:00
Cell eea2b4f53f ⬆️ Chore(libs): update mermaid from 8.13.3 to 9.1.3 2022-07-09 17:38:58 +08:00
Cell f5e852441e ⬆️ Chore(libs): update Waline from 1.5.2 to 2.6.1 2022-07-03 15:36:11 +08:00