Commit Graph

8 Commits

Author SHA1 Message Date
Ming Di Leom f56b7c176c
fix(template): remove null-checking for post.prev.title 2022-04-05 06:01:28 +00:00
Ming Di Leom 875d3b0540
fix(svg): <use> element no longer allows path
somehow path is considered as cross-origin resource,
though not mentioned in the doc
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use
perhaps full URL (with protocol & domain) must be used?
but that will break mirror sites if used
2021-11-18 08:31:04 +00:00
MDLeom 005c3419d4
fix(layout): move 'Newer'/'Older' out of <a> 2020-12-06 11:57:22 +00:00
MDLeom 9490884b5a
feat(helper): titleCase
- simpler version of https://github.com/rvagg/titlecase
  * no exceptions
2020-08-19 03:29:17 +00:00
MDLeom d0ac052b59
feat: 'updated_option' config
- post.updated will be null if not set in front-matter
- https://github.com/hexojs/hexo/pull/4278
2020-06-23 05:27:55 +01:00
MDLeom adb9d92218
fix(js): only show share button if web share API is supported 2020-04-22 11:38:30 +01:00
MDLeom 9b8498b791
feat: share button
- web share API
- https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share
- https://web.dev/web-share/
- https://github.com/luruke/browser-2020
- move height property to css
- add left margin to headerlink button
2020-03-20 05:18:36 +00:00
curben 5a381f7032
fix: rename typing to chameleon theme 2019-09-11 06:48:43 +01:00