Commit Graph

2810 Commits

Author SHA1 Message Date
iBug
5b203f46c4 changelog: Clarify #4841 only triggers with popup=true 2024-05-27 01:08:33 +08:00
iBug
ff56bc2bd6 assets/css/main.scss: Add trailing newline 2024-05-16 22:37:48 +08:00
iBug
4efb8638c4 _includes/figure: Replace remove:<p> with strip_html, fix #4841 2024-05-15 00:46:41 +08:00
iBug
536e89d174 Update CHANGELOG and history 2024-05-10 18:00:49 +08:00
iBug
1a85a28685 Release 4.26.1 💎 2024-05-10 17:59:50 +08:00
iBug
be3c046acf Actually 3 B's in "dribbble" 2024-05-07 14:21:28 +08:00
iBug
573f286971 Limit "auto scroll ToC" to Chromium-based 2024-05-07 14:20:45 +08:00
iBug
70462d0e16 Rewrite social icons SCSS with a loop 2024-05-06 21:37:40 +08:00
iBug
9dce68d58a Oops, fixed the typo the wrong way 2024-05-06 21:28:05 +08:00
iBug
4c3ada478a Fix typo: dribbble → dribble
seems like nobody uses it anyways
2024-05-06 21:22:06 +08:00
iBug
438710da82 Disable copy button for bad pre blocks 2024-05-06 21:16:04 +08:00
iBug
4f76c2546a Try fixing copy button flying out 2024-05-06 21:06:32 +08:00
iBug
14e3fa2b28 Add success indicator for code block copy button 2024-05-06 01:20:41 +08:00
iBug
dc965c5bbe Release 4.26.0 💎 2024-05-05 19:54:28 +08:00
iBug
accc82a03b Add "new in v4.26.0" in documentation 2024-05-05 19:50:50 +08:00
iBug
148349b029 Update CHANGELOG and bundle exec rake 2024-05-05 19:44:28 +08:00
iBug
0527e17354
Add "copy to clipboard" button for code blocks (#2812)
* Add copy-to-clipboard button and JS

* Ignore line numbers if present

* Rewrite heading permalink code to use vanilla JS

* README: Add credits to zenorocha/clipboard.js (MIT License)

@iBug really wants a place here in the Credits section :P

* Add .no-copy for hiding the button, update docs

* Add td.rouge-code to selectors

* Fix navigator.clipboard branch

* Add screenreader text for copy button

* Restore focus to the button after copying

* Add site-wide enable switch
2024-05-05 19:43:24 +08:00
iBug
c76813f6f5 Remove "sticky sidebar" JS in favor of CSS media queries 2024-05-05 18:23:01 +08:00
iBug
4364fb73f5 Cleanup seo.html and update CHANGELOG 2024-05-05 18:13:23 +08:00
Lars Olesen
dfaac405f0
Fix SEO title when it contains a vertical bar (#3113)
* Do not markdownify title

* Support markup in titles

* Support markup in titles

* Fix seo.html as reviewed

* seo_title is now unconditionally computed

---------

Co-authored-by: iBug <git@ibugone.com>
2024-05-05 18:07:23 +08:00
iBug
9c386c5509 Update CHANGELOG and bundle exec rake 2024-05-05 17:36:35 +08:00
Lars Olesen
2f5e771072
Split schema to a separate include file (#3085)
* Make changes to schema easier

* Only show on one page not on all pages

* Move schema.html to _includes/ and move the URL guard out

---------

Co-authored-by: iBug <git@ibugone.com>
2024-05-05 17:35:22 +08:00
Dominique Deluvio
16103c6d49
Remove overlay and revert X to hamburger icon when popup disappears (#3958)
the `.hidden-links` popup disappears after you move the cursor out of it.
However, the white overlay on the screen does not disappear, as well as the `x` nav button on the top-right, remains as is.
Now when you click anywhere on the screen the popup appears again, and the `x` nav button turns back to a hamburger menu button.

And when you click on the hamburger menu, the popup disappears. now it's happening the exact opposite.

To remedy this, the pop up menu as well as the `x` nav button should also return back to normal once the popup disappears.

This commit fixes this issue.
2024-05-05 17:34:12 +08:00
iBug
bf66a5c345 Update CHANGELOG and history 2024-05-05 17:28:01 +08:00
Dmitriy Derepko
ceeda03132
Add target attribute for navigation link (#3056) 2024-05-05 17:12:37 +08:00
iBug
f1ffad4b5e Update CHANGELOG and history 2024-05-05 17:05:01 +08:00
John Scott
162f659f61
Add popup parameter for figure include (#3119) 2024-05-05 17:03:40 +08:00
iBug
adae207d17 Revert f3c617f on _includes/figure to make way for #3119 2024-05-05 17:02:09 +08:00
iBug
4b08acb115 Update CHANGELOG and history 2024-05-05 16:45:18 +08:00
iBug
d240efaa7c Merge branch 'master' of GitHub:mmistakes/minimal-mistakes 2024-05-05 16:45:03 +08:00
Jeremiah Strong
0378a31f53
Update Social Sharing links section (#4066)
* Update 10-layouts.md

Update social sharing section for appropriate Reddit example and resource locations.

* Update as reviewed

---------

Co-authored-by: iBug <git@ibugone.com>
2024-05-05 16:44:40 +08:00
iBug
d47d62f695 Update CHANGELOG and history 2024-05-05 16:30:51 +08:00
Tom Manner
64b1d429a4
Multiple Sidebar Nav Lists (#2843)
Co-authored-by: Tom Manner <tsmanner@us.ibm.com>
Co-authored-by: iBug <git@ibugone.com>
2024-05-05 16:29:54 +08:00
iBug
244eff763a bundle exec rake js 2024-05-05 15:28:01 +08:00
iBug
25ce47de8c Rakefile: Add jQuery to uglify targets
Regression of 0b8b5230f
2024-05-05 15:27:23 +08:00
iBug
256e626503 Merge categories and tags layout into _includes/posts-taxonomy.html 2024-05-05 14:13:28 +08:00
iBug
1d3fd5d7d6 Update README 2024-05-05 05:54:53 +08:00
iBug
f8ea22fdb8 Update CHANGELOG and history 2024-05-05 05:53:41 +08:00
iBug
7e7b901974 Add Rake task :version
For updating all hard-coded version numbers from `package.json`
2024-05-05 05:52:08 +08:00
iBug
f33349c2ee Update CHANGELOG and history 2024-05-05 04:37:14 +08:00
iBug
ed883ea2d4
Remove deprecated "page.header.cta_url" setting (#4821) 2024-05-05 04:35:57 +08:00
iBug
ab42c3ba1d Gemfile: No newline at end of file 2024-05-05 04:28:03 +08:00
iBug
b278dac7fb Merge banner.js into Rake task
Also let uglify-js produce source map for easier debugging
2024-05-05 04:13:39 +08:00
iBug
0b8b5230f9 Migrate npm run scripts to Rakefile tasks
Rakefile is like Makefile - it has dependency management,
while npm run scripts do not.

Aside from that, this also allows us to drop literally all Node.js packages,
as uglify-js is self-contained and has no dependencies.
Reduced node_modules from 17M to 374K.
2024-05-05 04:03:07 +08:00
iBug
6165d896a0 Replace "hidden" check in Liquid with where_exp 2024-05-05 03:18:27 +08:00
iBug
bde92b6d4a page__hero.html: Fix an unclosed <p> tag 2024-05-05 02:36:17 +08:00
iBug
271b5da8e5 04-upgrading.md: Minor formatting and grammar fixes 2024-05-05 02:35:06 +08:00
iBug
bce2b50556 Fix logic error in toc-scroll 2024-05-05 01:26:25 +08:00
iBug
7daa7aceb3 Try sticky ToC on all docs pages 2024-05-05 01:08:35 +08:00
iBug
3ed92f5ea8 Update CHANGELOG and history 2024-05-05 01:06:18 +08:00