83e59fb385
merge latest upstream changes
Build and Deploy Test Version - next.asandikci.com / build_deploy (push) Failing after 1m2s
2024-11-15 20:12:22 +03:00
Cotes Chung
5a63244721
fix(pwa): site baseurl not passed to app.js
( #1955 )
2024-09-18 22:32:26 +08:00
Cotes Chung
7ca9c59784
build(deps-dev): remove package rollup-plugin-license
( #1796 )
...
The `rollup-plugin-license` has been using too many deprecated dependencies, so it is necessary to remove it.
As an alternative, this changes uses Rollup `output.banner` to insert copyright information. Since `terser` runs after `output`, it is not possible to insert the Front Matter defining permlink for `sw.js` through the same way (Jekyll Front Matter is YAML rather than JS, which would cause errors with terser).
Therefore, _Jekyll Collection_ is now used to add permlink to `sw.js`, with the collection named `app`, and the directory placed in `_app`. This directory is not tracked by git, but it will be included when building the gem.
2024-06-05 23:51:10 +08:00
Cotes Chung
ddb48eda52
perf: lean bootstrap javascript ( #1734 )
2024-05-11 10:29:14 +08:00
Cotes Chung
b77767f76e
refactor: improve js module loading order
2024-04-29 03:43:33 +08:00
Cotes Chung
fe7afa379f
perf: replace jQuery with Vanilla JS ( #1681 )
...
Also replaced `magnific-popup` with `GLightbox`
2024-04-17 06:10:01 +08:00
Cotes Chung
44f552cbce
feat(deps): move MathJax
configuration to a separate file ( #1670 )
...
Move `MathJax` configuration to file `assets/js/data/mathjax.js` will help add extensions.
2024-04-14 04:34:32 +08:00
Aliberk Sandıkçı
dfb9ccf483
update website
2024-04-13 12:34:20 +03:00
Cotes Chung
0f8e782bfd
Merge branch 'production'
2024-03-08 04:12:38 +08:00
Sukka
75a3d7399b
refactor: replace polyfill.io
for cdnjs
hosted link ( #1598 )
2024-03-08 04:05:58 +08:00
Neil Boyd
547b95cc7a
feat(i18n): allow page.lang
to override site.lang
( #1586 )
2024-03-05 03:09:39 +08:00
Alexander Fuks
b641b3f1f2
feat(analytics)!: add post pageviews for GoatCounter ( #1543 )
...
---------
Co-authored-by: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
2024-02-26 02:50:41 +08:00
Benjamin van den Hout
90693ff95e
feat: add analytics support for GoatCounter ( #1526 )
2024-02-06 22:19:28 +08:00
Piotr Held
c13ec31163
perf: enable equation numbering in MathJax ( #1520 )
...
If you place your equations inside $$\begin{equation}...\end{equation}$$
you will get MathJax equation numbering. As described here:
https://docs.mathjax.org/en/latest/input/tex/eqnumbers.html
BREAKING CHANGES: if you used \begin{equation} inside $$ you will
get equation numbering which was not previously present.
2024-01-31 03:44:19 +08:00
Cotes Chung
1127c43823
feat: add pwa.cache.*
option to precisely control caching ( #1501 )
2024-01-28 02:22:33 +08:00
Cotes Chung
0e2d593b00
chore: always use dynamic polyfill
for browsers
2023-10-04 19:01:48 +08:00
Cotes Chung
bf3a34d054
perf(core): replace lazysizes
with browser-level lazy loading ( #1267 )
2023-09-27 04:44:32 +08:00
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
Cotes Chung
97b8dfeed6
feat(ui): show preview image in home page
2023-05-13 02:05:30 +08:00
Cotes Chung
b69d3d7edd
refactor(build): modularize JS code
...
- replace gulp with rollup
- remove JS output from repo
2023-03-15 21:51:37 +08:00
Cotes Chung
ca41c7ebff
chore(deps): use lazysizes
to load images
2022-12-09 07:36:06 +08:00
Cotes Chung
6852ceb280
refactor: remove site config option prefer_datetime_locale
2022-10-19 04:22:12 +08:00
Cotes Chung
106c981bac
feat: add option to turn off PWA ( #527 )
2022-06-05 00:10:20 +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
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
6220d09ffb
Replace the pageviews with categories on home page
2021-12-03 21:03:31 +08:00
Cotes Chung
5e9a7b319e
Add clipboard JS
2021-09-11 00:30:21 +08:00
Cotes Chung
a83e4c1b30
Optimize JS loading priority
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
84bb4d0c4b
Add image popup effect
2021-04-24 16:32:56 +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
bff97df3b5
Fix the MathJax config was lost in jekyll-compress-html
2021-04-02 21:14:43 +08:00
Cotes Chung
d162167580
Support TeX and LaTeX math delimiters ( #243 )
2021-03-09 15:52:56 +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
63f57fbc12
Delay GA loading
2020-12-10 23:57:48 +08:00
Cotes Chung
cdaa79cf80
Improve JS loading sequence
2020-12-10 20:13:03 +08:00
Cotes Chung
e27825d3eb
Improve JS/CSS selector
...
Separate layout from tabs, and more friendly to tabs rename (#187 )
2020-12-04 14:18:25 +08:00
Cotes Chung
270d3ba499
Use collections
to improve the tabs
2020-11-22 04:24:09 +08:00
Cotes Chung
7d128769f6
Avoid GA snippet blocking HTML parsing.
2020-10-27 21:20:06 +08:00
Cotes Chung
3c2675c4a1
Upgrade GA tag (analytics.js) to the latest tag (gtag.js)
2020-10-12 06:19:11 +08:00
Cotes Chung
c0ba181246
Improved the PV fetching.
...
Discard some of the old permalink PV records.
2020-07-14 03:24:25 +08:00
Cotes Chung
46c2cfe64e
Improved the page recognition.
...
Useful for label localization
2020-06-30 17:39:14 +08:00
Cotes Chung
e87ef0d40e
Fixed the PV cache.
2020-06-24 02:57:02 +08:00
Cotes Chung
75c57d1725
Simplified the post JS file.
2020-06-02 02:34:24 +08:00
Cotes Chung
1a2767ca24
Combine local JS.
...
’yui-compressor’ is no longer used.
2020-05-30 17:48:16 +08:00