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
Ming Di Leom
e060a41acd
fix: change site title
2021-02-28 05:45:01 +00:00
Ming Di Leom
966db53823
build: add mirror to yandex
...
- to request url removal from yandex
2021-02-26 21:29:18 +00:00
Ming Di Leom
2379cd6672
fix(layout): remove incorrect <h1>
2021-02-26 09:13:21 +00:00
Ming Di Leom
056d4389ab
feat(theme-nav): remove nav link for current page
...
- reimplement in js, avoid disabling hexo layout caching
- revert f9889702b7
2021-02-23 07:48:56 +00:00
Ming Di Leom
748fec2f1d
refactor: consistent spacing in <body>
2021-02-22 07:02:44 +00:00
Ming Di Leom
f9889702b7
feat(theme-nav): remove nav link for current page
2021-02-22 07:00:28 +00:00
MDLeom
7bb2a520f0
fix(favicon): remove legacy attributes
...
- https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs
2020-12-23 22:32:52 +00:00
MDLeom
005c3419d4
fix(layout): move 'Newer'/'Older' out of <a>
2020-12-06 11:57:22 +00:00
MDLeom
c01dd395b1
fix(layout): enable zoom
...
- https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag#Viewport_width_and_screen_width
2020-12-03 22:23:30 +00:00
MDLeom
d9077aaf1c
fix(assets): remove cache-buster
2020-11-13 05:17:23 +00:00
MDLeom
62ebd35ae1
feat(theme): add post's source
2020-11-08 11:37:21 +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
e1cdcf5f33
fix(layout): add default mobile menu
2020-08-16 03:46:16 +00:00
MDLeom
f28c920fad
fix(layout): add default menu
2020-08-16 03:41:50 +00:00
MDLeom
93c5ad783e
fix(theme): check dependencies
2020-08-10 08:29:36 +00:00
MDLeom
6c9179a388
fix(layout): utilise url_for() to prepend root value
2020-08-09 11:56:09 +00:00
MDLeom
54d1a3856d
refactor: utilise feed_tag() helper
...
- https://hexo.io/docs/helpers#feed-tag
2020-08-09 11:51:22 +00:00
MDLeom
a852f0e8ce
feat: add tag index page
...
- https://github.com/hexojs/hexo-generator-tag/pull/44
2020-08-09 11:46:13 +00:00
MDLeom
6173a10818
fix(layout): remove unnecessary newline
2020-07-21 08:52:52 +01: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
e8a914d984
fix(layout): deduplicate class name
2020-05-09 09:54:36 +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
b36b898a17
feat(js): remove SRI since 3rd-party libs are now served locally
2020-04-08 01:05:33 +01:00
MDLeom
713a6ef730
feat: serve third-party libs locally
2020-04-08 01:02:42 +01:00
MDLeom
17c1ad06a0
feat(js): hide mobile menu when click outside
...
- https://htmldom.dev/detect-clicks-outside-of-an-element
2020-04-04 06:53:32 +01:00
MDLeom
2a9756acd8
fix(layout): archives-wrap should be inside archive-container
2020-04-04 06:22:18 +01:00
MDLeom
80a95935f5
refactor(layout): call Date() directly
2020-03-25 01:48:04 +00:00
MDLeom
92e89467da
chore(deps): update clipboard.js to 2.0.6
2020-03-20 07:53:40 +00:00
MDLeom
1cccb619a0
fix(search): consistent class name style
2020-03-20 05:37:09 +00: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
MDLeom
5a79bf82a8
fix(css): reduce mobile header height
...
- disable line break for site title
- remove menu button label
- increase size of menu button
2020-03-20 04:21:29 +00:00
MDLeom
1a9ed39332
fix(config): remove unused theme config
...
- remove theme.nickname and theme.description
- config.subtitle and config.description should suffice
2020-03-09 02:35:47 +00:00
MDLeom
397eadae2a
fix(footer): propagate footer links from config
2020-03-06 11:05:51 +00:00
MDLeom
46cca09188
feat: add .onion mirror
2020-03-06 10:55:46 +00:00
MDLeom
a4adf75d05
feat: add canonical tag
...
- https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types
2020-02-18 23:54:00 +00:00
curben
6bb55a6bde
Revert "feat(search): use duckduckgo lite/no-js"
...
This reverts commit 159960da02
.
Only usable as a browser search engine, otherwise shows "forbidden" error message
2020-01-18 05:46:01 +00:00
curben
159960da02
feat(search): use duckduckgo lite/no-js
2020-01-18 05:32:52 +00:00
curben
a36b361d3b
feat(favicon): add svg
...
- https://blog.chromium.org/2019/12/chrome-80-content-indexing-es-modules.html
- https://caniuse.com/#feat=link-icon-svg
2019-12-20 04:50:17 +00:00
curben
feeaca491f
fix(js): load copy button script in post only
2019-12-20 02:44:20 +00:00
curben
887f9ec116
refactor(helpers): js() and css() helpers now support custom attributes
...
- https://github.com/hexojs/hexo/pull/3681
- https://github.com/hexojs/hexo/pull/3690
2019-11-14 02:27:25 +00:00
curben
5cd412bda6
fix(css): add homepage link to mobile-nav
...
- mistakenly removed in 78397dad37
2019-11-14 02:22:14 +00:00
curben
8bfbe48148
fix(search): use config.url instead of hardcoded url
2019-11-12 10:19:27 +00:00
curben
78397dad37
fix(search): do not send referrer
...
- https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types
- https://github.com/whatwg/html/issues/2983
- https://github.com/whatwg/html/pull/4332
2019-11-12 10:10:30 +00:00
curben
bed321c987
fix(theme): rename js and css to 'chameleon'
...
- Continuation of 5a381f7032
2019-11-09 08:54:48 +00:00
curben
313daae655
refactor(layout): remove unused variable
2019-10-24 08:53:06 +01:00
curben
e953758c88
fix(paginator): disable escape
2019-10-24 05:03:12 +01:00
curben
1986365f37
fix(layout): head layout shouldn't be cached due to Open Graph
2019-10-18 03:32:28 +01:00
curben
7bc55954d6
refactor(css): remove unused class
2019-10-17 11:19:42 +01:00
curben
bda9bdfbc5
fix(css): align badge to the left
2019-10-17 11:16:06 +01:00