Cotes Chung
83625644ea
refactor(core): remove GA page views report ( #1071 )
...
- Google Analytics superProxy has been archived and is no longer maintained.
- Google Analytics UA end of life.
See also: https://support.google.com/analytics/answer/11583528?hl=en
2023-06-04 10:56:31 +08:00
Cotes Chung
c283e7782f
refactor!: rename assets origin configuration files
2023-05-13 07:03:15 +08:00
Cotes Chung
9d97120197
perf(assets): reduce HTTP requests to CDN
2023-05-13 03:29:06 +08:00
Song-Zi Vong
fe203417d9
feat: add a hook to insert custom metadata in head
tag ( #1015 )
2023-05-06 07:10:08 +08:00
Cotes Chung
820ba62e9e
fix: notch status bar doesn't match theme color ( #918 )
...
Resolves #918
2023-03-17 01:17:06 +08:00
Cotes Chung
02b7bd5095
feat: change TOC plugin to tocbot
( #774 )
2023-03-16 03:00:29 +08:00
Cotes Chung
8de1abda6b
fix: og:image
will be incorrect if the image uses a cross-domain URL
2022-12-25 00:00:07 +08:00
Cotes Chung
da7d7e25b6
refactor: enhance the setting of preview image path
2022-11-18 22:16:35 +08:00
Cotes Chung
f6e9a3fccf
fix: the image URL in the SEO-related tags is incomplete ( #754 )
...
This issue occurs when setting the `img_path` of the post or the `baseurl` of the site configuration.
2022-11-17 07:31:05 +08:00
Cotes Chung
6852ceb280
refactor: remove site config option prefer_datetime_locale
2022-10-19 04:22:12 +08:00
bibi2233
54124d5134
fix: assets URL is missing baseurl
in self-hosted mode ( #591 )
2022-06-02 20:55:34 +08:00
Cotes Chung
e68108014a
style: add indentation
2022-03-22 21:13:39 +08:00
Cotes Chung
b8d1bcd3de
fix: resume the preview image SEO tag ( #529 )
...
Fix #529
2022-03-16 22:17:19 +08:00
Zak Kemble
2103191b2f
fix: script code should be in head or body, not in between
2022-03-03 12:54:44 +00:00
Cotes Chung
3685685b28
Make the source of the static assets configurable
...
- Easy to switch between different CDN
- Allow self-host static assets
2022-02-10 04:12:35 +08:00
Cotes Chung
a5d38e7fbc
Improve local datetime display
...
- Protect author's location privacy
- Reduce locale configuration parameters
2022-01-28 23:45:29 +08:00
Tamme Schichler
4a2016a9e3
Don't include Google Analytics scripts without analytics id ( #482 )
2022-01-14 19:03:16 +08:00
Cotes Chung
0213331a16
Improve the way to set the default value of locales
2021-08-01 22:04:11 +08:00
Cotes Chung
780af9ac5f
Remove unused variable on HTML & JS
2021-08-01 21:49:44 +08:00
Cotes Chung
0b29c0321f
Add layout localization
2021-07-21 23:50:16 +08:00
Cotes Chung
fd97067ec3
Optimize the JS loading priorities
2021-07-03 05:11:11 +08:00
Cotes Chung
6a45d7ccd1
Remove SRI of bootstrap and font-awesome css
...
Sometimes it causes the fetch event to fail after the PWA cache key is updated:
```
The FetchEvent for "<url_from_CDN>" resulted in a network error response: an "opaque" response was used for a request whose type is not no-cors
```
2021-04-20 04:22:28 +08:00
Cotes Chung
11bcd7027d
Fix dns links in head
2021-04-06 23:16:02 +08:00
Cotes Chung
4a0242e496
Simplify the PV config options
...
- Remove options `site.google_analytics.pv.enabled` and `site.google_analytics.pv.proxy_url`
- Rename options `site.google_analytics.pv.cache` to `site.google_analytics.pv.cache_path`
2021-04-06 23:15:36 +08:00
Cotes Chung
48e4c7e6d3
Fix the PV fetching failed when local cache is disabled
...
also improve the PV report logic
2021-04-06 02:32:53 +08:00
Cotes Chung
893db51ff0
Improve the copyrights of the assets
2021-01-26 20:24:47 +08:00
Cotes Chung
da9f7b8218
Process JS files with gulp
2021-01-25 06:43:02 +08:00
Cotes Chung
cdaa79cf80
Improve JS loading sequence
2020-12-10 20:13:03 +08:00
Cotes Chung
83bfd32807
Improve the bump version tool
2020-11-27 02:57:02 +08:00
Cotes Chung
d7f351b143
Upgrade jQuery & Bootstrap (js) to latest version.
...
Notes: Bootstrap CSS remains at 4.0.0
2020-10-28 04:18:54 +08:00
Cotes Chung
4f1735aad6
Add version tag on <head>.
2020-10-26 02:24:32 +08:00
Cotes Chung
a2deea6537
Split the CSS selection from head tag.
2020-05-30 17:48:16 +08:00
Cotes Chung
1a2767ca24
Combine local JS.
...
’yui-compressor’ is no longer used.
2020-05-30 17:48:16 +08:00
Cotes Chung
582ea30459
Support the mathematical expressions ( #55 ).
2020-05-29 06:18:53 +08:00
Cotes Chung
064cefd9ff
Combine CDN resources.
2020-05-26 23:25:57 +08:00
Cotes Chung
6d38f643ae
Disable PWA at local.
2020-05-22 20:25:52 +08:00
Cotes Chung
d8e45694bd
New feature: PWA
2020-05-10 04:02:52 +08:00
Cotes Chung
9c3d3fdeed
Improved loading performance by merging CSS files.
2020-05-09 01:15:33 +08:00
Cotes Chung
230a4f55a4
Fetching popperjs synchronously
2020-04-04 01:03:00 +08:00
Cotes Chung
1ce1455ce2
Improved the PV fetching experience.
2020-04-04 01:03:00 +08:00
Cotes Chung
64125e6e42
Optimized the JS import sequence.
2020-02-21 04:48:07 +08:00
Cotes Chung
b09f5127ad
Optimized the resource prioritization.
2020-02-04 04:55:09 +08:00
Cotes Chung
6cef0829a8
Updated seo-tag settings.
...
Although `tagline` hasn't been released yet.
2020-01-14 02:57:31 +08:00
Cotes Chung
8591e921e4
Added more project info in files.
2020-01-14 02:57:31 +08:00
Cotes Chung
1f8bfdf257
Make configuration more flexible.
2019-12-19 04:08:40 +08:00
Cotes Chung
0f59cb5ddf
Fix local jQuery loading.
2019-12-16 00:15:58 +08:00
Cotes Chung
924cfa7426
Move lozad.
2019-12-02 03:07:48 +08:00
Cotes Chung
ebbd818223
Split the css importing.
...
CRP optimization.
2019-12-02 03:07:48 +08:00
Cotes Chung
7f3ea0d79b
Move file.
2019-12-02 03:05:23 +08:00
Cotes Chung
bec924ed4c
Optimize performance.
2019-12-02 03:05:23 +08:00