Commit Graph

45 Commits

Author SHA1 Message Date
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
curben 772fc46cee
feat(layout): remove about layout and associated configs 2019-10-17 06:44:57 +01:00
curben f92b7e0b53
feat: add post and tag lists to homepage 2019-10-17 06:26:26 +01:00
curben e57d471d24
perf: cache head and header partials
- https://hexo.io/docs/templates#Optimization
2019-10-14 13:51:19 +01:00
curben c1d0b8c873
fix(footer): update theme name 2019-09-14 05:06:12 +01:00
curben 5a381f7032
fix: rename typing to chameleon theme 2019-09-11 06:48:43 +01:00