Zak Kemble
4c1c8d8b0e
fix: correctly URL encode share links
...
Relates to #496
2022-03-03 12:55:27 +00: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
5d85ccb994
fix: table bypass refactoring when it contains IAL ( #519 )
...
Fix #519
2022-03-03 18:05:48 +08:00
Cotes Chung
35e013f7fd
Adapt the search input to Bootstrap 4.6
2022-02-14 22:15:38 +08:00
Cotes Chung
e52dc9551c
Beautify heading style (margin, anchor)
2022-02-14 22:15:38 +08:00
Cotes Chung
0f6b170e24
Use constants to define resources for utterances
...
Self-host the JS for `utterances` is not necessary, because the list of comments cannot be loaded if the network is offline.
2022-02-12 05:47:48 +08:00
Cotes Chung
4df4f7f8db
Add Giscus comments support ( resolve #501 )
2022-02-12 05:47:48 +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
cfe9029cd1
Remove unused HTML attribute from sidebar
2022-02-04 06:23:09 +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
Cotes Chung
a24545ed60
Prevent relative time conversion failure on Safari
2022-01-25 01:18:25 +08:00
Cotes Chung
66e655f09b
Escape the post sharing URL ( fix #496 )
2022-01-23 05:11:14 +08:00
Cotes Chung
ca181422a6
Add blockquote prompts ( resolve #489 )
2022-01-23 01:59:36 +08:00
Cotes Chung
4845f6ef14
Fix attribute name of share URL button
2022-01-19 17:54:50 +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
f8f4dd889e
Normalized attribute name in HTML
...
Add prefix `data-` for following attributes:
- `topbar-visible`
- `mode`
- `label-text`
- `title-succeed`
2022-01-13 00:23:08 +08:00
Cotes Chung
96e7cd79af
Avoid whitespace before anchors when wrapping
2022-01-12 22:51:38 +08:00
Cotes Chung
2cef631385
Hide topbar when mobile orientation in landscape mode ( resolve #459 )
2022-01-09 19:09:29 +08:00
Cotes Chung
9620eddd12
Simplify the top-bar title detect process
2022-01-08 02:57:16 +08:00
Cotes Chung
b44bf78f10
Improve the creation of header anchors ( fix #474 )
2022-01-05 02:36:07 +08:00
Cotes Chung
948356d7d6
Fix <img>
HTML element refactoring issue ( resolve #476 , close #477 )
2022-01-05 02:36:07 +08:00
Cotes Chung
37344ef0df
Merge branch 'feature/post-img-path'
2021-12-31 00:09:58 +08:00
Cotes Chung
1fe0b2958b
Add new variable img_path
for posts
2021-12-31 00:00:28 +08:00
Cotes Chung
e466a643d5
Merge branch 'feature/multi-comments'
2021-12-30 23:08:09 +08:00
iwasaki501
f7ec9cd24a
Bug Fix: Link in a heading is rendered as an anchor and becomes invisible unless it is hovered. ( #469 )
...
`<a>` tags in headings are set to apply the style of `%anchor` in `module.scss` and `common.scss`.
Therefore, if I put a link in a heading, the link will have the same style as the anchor,
which means that the font size becomes smaller and the link will not be displayed unless I hover the mouse over it.
My suggestion is to set an `anchor` class for the `<a>` tag of the anchor and apply style settings to the `anchor` class, not to the `a` tag.
2021-12-30 15:57:02 +08:00
Cotes Chung
d315bf57e7
Integrate utterances comments
2021-12-13 04:40:05 +08:00
Cotes Chung
75176522e3
Prepare for multiple comment systems
2021-12-13 03:34:46 +08:00
Cotes Chung
ebb3dc940c
Merge branch 'feature/refactor-theme-mode-switch'
2021-12-13 03:33:32 +08:00
Cotes Chung
c02c9c6a04
Decouple theme-mode toggle & mermaid
2021-12-13 03:33:01 +08:00
Cotes Chung
f4b2dfe8b4
Fix the conversion of image width/height abbreviation
2021-12-12 00:38:49 +08:00
Cotes Chung
cf6c8e9b3a
Improve accessibility of panel heading elements
2021-12-07 23:09:00 +08:00
Cotes Chung
c64e587335
Improve SEO & accessibility on mode toggle element
2021-12-07 23:09:00 +08:00
Cotes Chung
415f11ecb8
Escape characters of post list (homepage and related posts)
...
To pass the html-proofer test
2021-12-07 16:40:19 +08:00
Cotes Chung
5dc830d11e
Merge branch 'feature/add-heading-anchors'
2021-12-07 16:28:19 +08:00
Cotes Chung
697c584b48
Merge branch 'feature/fix-pannel-toc'
2021-12-07 15:00:07 +08:00
Cotes Chung
007d242e87
Fix ToC incorrectly display the contents of the panel
...
Bug introduced in the commit `b518c9d`
2021-12-07 14:53:48 +08:00
Cotes Chung
790cf30376
Add abbreviation support for image width/height
2021-12-07 01:04:13 +08:00
Cotes Chung
45adf4aac2
Create anchor for headings
2021-12-06 03:04:50 +08:00
Cotes Chung
cf8dae9454
Merge branch 'feature/improve-meta-display'
...
# Conflicts:
# _sass/addon/commons.scss
2021-12-05 17:46:14 +08:00
Cotes Chung
9f5e579596
Merge branch 'feature/use-default-scrollbar'
2021-12-05 16:42:43 +08:00
Cotes Chung
afcf0bde22
Refactor footer style
2021-12-05 04:42:53 +08:00
Cotes Chung
563e8085e8
Redesign the post meta layout
...
- posted date
- updated date
- read time
- license statement of post bottom
- also refactor the `timeago.js`
2021-12-05 04:42:53 +08:00
Cotes Chung
e06d237eae
Use the default scroll bar
...
And make the Chrome scroll bar on Windows support dark mode
2021-12-03 21:23:37 +08:00
Cotes Chung
6220d09ffb
Replace the pageviews with categories on home page
2021-12-03 21:03:31 +08:00
Cotes Chung
6a65f3a7f7
New design for code snippet header
2021-12-03 16:34:26 +08:00
Cotes Chung
3caacbee61
Improve mobile title display
...
Also fixed the 404 page title on mobile screens
2021-12-02 21:18:18 +08:00
Cotes Chung
df3a703988
Refactor HTML structure
2021-12-02 05:54:43 +08:00
Cotes Chung
55fce7574c
Refactor theme mode toggle
...
- Improve mode switching JS execution priority
- Drop deprecated Web API
2021-12-02 05:51:30 +08:00
Bhavy Khatri
707466b1df
Accessibility Bug Fix: Tab focus doesn't reach Dark mode toggle button ( #453 )
2021-12-01 00:23:22 +08:00
Cotes Chung
e880448ba5
Fix code-language conversion (json
, plaintext
)
2021-11-29 21:03:53 +08:00