Skip to content

Commit d0c2e63

Browse files
authored
Merge pull request #3 from androchentw/ui
UI Enhancement
2 parents 8129ad0 + 597f5cd commit d0c2e63

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Changelog
2+
3+
## [3.1.0] - 2024-09-15
4+
5+
### UI Enhancements
6+
7+
* i18n
8+
* add emoji 🌐 to languageSwitcherLabel
9+
* Enhancement
10+
* upgrade mermaid using cdn.jsdelivr.net/npm/mermaid/dist
11+
* Shortcode
12+
* add slideshow
13+
* add spearkerdeck
14+
* Layout template
15+
* add series template
16+
* add archive template
17+
* SEO
18+
* add $.Site.Title to SEO og:title
19+
* support site parameter: share_img
20+
* use hreflang for SEO
21+
* Interactive
22+
* add back to top
23+
* fix ui: back-to-top due to no fadeOut and fadeIn in jquery.slim.min.js
24+
* add TOC (TableOfContents)
25+
* shorten the navbar after scrolling a little bit down
26+
27+
### Others
28+
29+
* feat: rename to main
30+
* feat: disable build on theme project
31+
* feat: add .github/ISSUE_TEMPALTE
32+
* feat ui: Add custom embed multiple language newsletter
33+
34+
<!-- Links -->
35+
36+
<!-- Versions -->
37+
[3.1.0]: https://github.com/androchentw/blog-hugo/releases/tag/v3.1.0

static/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ var main = {
104104
// feat ui: back to top
105105
const $backToTop = $('#back-to-top');
106106
$backToTop.click(function() {
107-
$('body,html').animate({scrollTop: 0});
107+
$('body,html').scrollTop(0);
108108
});
109109

110110
// feat ui: Shorten the navbar after scrolling a little bit down

0 commit comments

Comments
 (0)